elena 2003/01/02 16:18:22 Modified: java/src/org/apache/xerces/impl/xs/opti DefaultElement.java AttrImpl.java Log: Update implementation with new DOM L3 methods Revision Changes Path 1.3 +13 -1 xml-xerces/java/src/org/apache/xerces/impl/xs/opti/DefaultElement.java Index: DefaultElement.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/opti/DefaultElement.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DefaultElement.java 13 Dec 2002 17:23:24 -0000 1.2 +++ DefaultElement.java 3 Jan 2003 00:18:21 -0000 1.3 @@ -166,6 +166,18 @@ public Attr setAttributeNodeNS(Attr newAttr) throws DOMException { throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); } + + public void setIdAttributeNode(Attr at) throws DOMException{ + throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); + } + public void setIdAttribute(String name, boolean makeId) throws DOMException{ + throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); + } + + public void setIdAttributeNS(String namespaceURI, String localName, + boolean makeId) throws DOMException{ + throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); + } } 1.3 +9 -1 xml-xerces/java/src/org/apache/xerces/impl/xs/opti/AttrImpl.java Index: AttrImpl.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/opti/AttrImpl.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AttrImpl.java 13 Dec 2002 17:23:24 -0000 1.2 +++ AttrImpl.java 3 Jan 2003 00:18:21 -0000 1.3 @@ -121,4 +121,12 @@ public void setValue(String value) throws DOMException { this.value = value; } + + /** + * @since DOM Level 3 + */ + public boolean getIsId(){ + return false; + } + }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]