You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Dirk-Willem van Gulik <di...@covalent.net> on 2000/07/24 18:17:54 UTC
Re: cvs commit: xml-xalan/java/src/org/apache/xalan/utils UnImplNode.java
On 23 Jul 2000 sboag@locus.apache.org wrote:
> sboag 00/07/23 10:43:49
>
> Modified: java/src/org/apache/xalan/utils UnImplNode.java
> Log:
> Add some Attr methods so DTMProxy can derive.
>
> Revision Changes Path
> 1.2 +43 -0 xml-xalan/java/src/org/apache/xalan/utils/UnImplNode.java
>
> Index: UnImplNode.java
> ===================================================================
> RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/utils/UnImplNode.java,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- UnImplNode.java 2000/06/19 16:53:14 1.1
> +++ UnImplNode.java 2000/07/23 17:43:48 1.2
> @@ -246,6 +246,15 @@
> error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getAttribute not supported!");
> return null;
> }
> +
> + /**
> + * Introduced in DOM Level 2.
> + */
> + public boolean hasAttributes()
> + {
> + error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"hasAttributes not supported!");
> + return false;
> + }
>
> /** Unimplemented. */
> public NodeList getElementsByTagNameNS(String namespaceURI,
> @@ -323,6 +332,40 @@
> throws DOMException
> {
> error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setNodeValue not supported!");
> + }
> +
> + /** Unimplemented. */
> + // public String getValue ()
> + // {
> + // error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getValue not supported!");
> + // return null;
> + // }
> +
> + /** Unimplemented. */
> + public void setValue (String value) throws DOMException
> + {
> + error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setValue not supported!");
> + }
> +
> + /**
> + * Returns the name of this attribute.
> + */
> + // public String getName()
> + // {
> + // return this.getNodeName();
> + // }
> +
> + public Element getOwnerElement()
> + {
> + error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getOwnerElement not supported!");
> + return null;
> + }
> +
> + /** Unimplemented. */
> + public boolean getSpecified()
> + {
> + error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setValue not supported!");
> + return false;
> }
>
> /** Unimplemented. */
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-cvs-help@xml.apache.org
>