You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-cvs@xml.apache.org by er...@apache.org on 2004/03/14 06:19:47 UTC

cvs commit: xml-xmlbeans/v2/src/newstore2/org/w3c/dom DOMConfiguration.java DOMStringList.java TypeInfo.java UserDataHandler.java

ericvas     2004/03/13 21:19:47

  Modified:    v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Cur.java
                        DomImpl.java
  Added:       v2/src/newstore2/org/w3c/dom DOMConfiguration.java
                        DOMStringList.java TypeInfo.java
                        UserDataHandler.java
  Log:
  DOM support for JDK 1.5 - had to add dom interfaces not in 1.4
  
  Revision  Changes    Path
  1.20      +65 -63    xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java
  
  Index: Cur.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Cur.java	13 Mar 2004 09:22:58 -0000	1.19
  +++ Cur.java	14 Mar 2004 05:19:47 -0000	1.20
  @@ -32,9 +32,11 @@
   import org.w3c.dom.ProcessingInstruction;
   import org.w3c.dom.Text;
   import org.w3c.dom.DOMImplementation;
  -//import org.w3c.dom.UserDataHandler;
  -//import org.w3c.dom.DOMConfiguration;
  -//import org.w3c.dom.TypeInfo;
  +
  +// DOM Level 3
  +import org.w3c.dom.UserDataHandler;
  +import org.w3c.dom.DOMConfiguration;
  +import org.w3c.dom.TypeInfo;
   
   import javax.xml.soap.Detail;
   import javax.xml.soap.DetailEntry;
  @@ -1951,19 +1953,19 @@
           public void setNodeValue ( String nodeValue ) { DomImpl._node_setNodeValue( this, nodeValue ); }
           public void setPrefix ( String prefix ) { DomImpl._node_setPrefix( this, prefix ); }
           
  -        // Level 3
  -//        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
  -//        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
  -//        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
  -//        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
  -//        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
  -//        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
  -//        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
  -//        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
  -//        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
  -//        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
  -//        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
  -//        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
  +        // DOM Level 3
  +        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
  +        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
  +        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
  +        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
  +        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
  +        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
  +        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
  +        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
  +        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
  +        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
  +        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
  +        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
       }
   
       private final static class DocumentXobj extends NodeXobj implements Document
  @@ -1998,20 +2000,20 @@
           public Node importNode ( Node importedNode, boolean deep ) { return DomImpl._document_importNode( this, importedNode, deep ); }
   
           // DOM Level 3
  -//        public Node adoptNode ( Node source ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getDocumentURI ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public DOMConfiguration getDomConfig ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getInputEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public boolean getStrictErrorChecking ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getXmlEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public boolean getXmlStandalone ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getXmlVersion ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void normalizeDocument ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public Node renameNode ( Node n, String namespaceURI, String qualifiedName ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setDocumentURI ( String documentURI ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setStrictErrorChecking ( boolean strictErrorChecking ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setXmlStandalone ( boolean xmlStandalone ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setXmlVersion ( String xmlVersion ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public Node adoptNode ( Node source ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getDocumentURI ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public DOMConfiguration getDomConfig ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getInputEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public boolean getStrictErrorChecking ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getXmlEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public boolean getXmlStandalone ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getXmlVersion ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void normalizeDocument ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public Node renameNode ( Node n, String namespaceURI, String qualifiedName ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setDocumentURI ( String documentURI ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setStrictErrorChecking ( boolean strictErrorChecking ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setXmlStandalone ( boolean xmlStandalone ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setXmlVersion ( String xmlVersion ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
       }
   
       private static class DocumentFragXobj extends NodeXobj implements DocumentFragment
  @@ -2080,10 +2082,10 @@
           public void setAttributeNS ( String namespaceURI, String qualifiedName, String value ) { DomImpl._element_setAttributeNS( this, namespaceURI, qualifiedName, value ); }
           
           // DOM Level 3
  -//        public TypeInfo getSchemaTypeInfo ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setIdAttribute ( String name, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setIdAttributeNS ( String namespaceURI, String localName, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setIdAttributeNode ( Attr idAttr, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public TypeInfo getSchemaTypeInfo ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setIdAttribute ( String name, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setIdAttributeNS ( String namespaceURI, String localName, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setIdAttributeNode ( Attr idAttr, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
   
           private ElementAttributes _attributes;
       }
  @@ -2109,8 +2111,8 @@
           public void setValue ( String value ) { DomImpl._node_setNodeValue( this, value ); }
           
           // DOM Level 3
  -//        public TypeInfo getSchemaTypeInfo ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public boolean isId ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public TypeInfo getSchemaTypeInfo ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public boolean isId ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
       }
       
       private static class CommentXobj extends NodeXobj implements Comment
  @@ -2209,33 +2211,33 @@
           public void setNodeValue ( String nodeValue ) { DomImpl._node_setNodeValue( this, nodeValue ); }
           public void setPrefix ( String prefix ) { DomImpl._node_setPrefix( this, prefix ); }
           
  -        // Level 3
  -//        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
  -//        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
  -//        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
  -//        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
  -//        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
  -//        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
  -//        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
  -//        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
  -//        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
  -//        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
  -//        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
  -//        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
  -//        public Node adoptNode ( Node source ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getDocumentURI ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public DOMConfiguration getDomConfig ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getInputEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public boolean getStrictErrorChecking ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getXmlEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public boolean getXmlStandalone ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public String getXmlVersion ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void normalizeDocument ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public Node renameNode ( Node n, String namespaceURI, String qualifiedName ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setDocumentURI ( String documentURI ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setStrictErrorChecking ( boolean strictErrorChecking ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setXmlStandalone ( boolean xmlStandalone ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  -//        public void setXmlVersion ( String xmlVersion ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        // DOM Level 3
  +        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
  +        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
  +        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
  +        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
  +        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
  +        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
  +        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
  +        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
  +        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
  +        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
  +        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
  +        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
  +        public Node adoptNode ( Node source ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getDocumentURI ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public DOMConfiguration getDomConfig ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getInputEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public boolean getStrictErrorChecking ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getXmlEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public boolean getXmlStandalone ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public String getXmlVersion ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void normalizeDocument ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public Node renameNode ( Node n, String namespaceURI, String qualifiedName ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setDocumentURI ( String documentURI ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setStrictErrorChecking ( boolean strictErrorChecking ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setXmlStandalone ( boolean xmlStandalone ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
  +        public void setXmlVersion ( String xmlVersion ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
                   
           public Attr createAttribute ( String name ) { return DomImpl._document_createAttribute( this, name ); }
           public Attr createAttributeNS ( String namespaceURI, String qualifiedName ) { return DomImpl._document_createAttributeNS( this, namespaceURI, qualifiedName ); }
  
  
  
  1.21      +123 -121  xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java
  
  Index: DomImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- DomImpl.java	13 Mar 2004 09:22:58 -0000	1.20
  +++ DomImpl.java	14 Mar 2004 05:19:47 -0000	1.21
  @@ -32,7 +32,9 @@
   import org.w3c.dom.ProcessingInstruction;
   import org.w3c.dom.Text;
   import org.w3c.dom.DOMImplementation;
  -//import org.w3c.dom.UserDataHandler;
  +
  +// DOM Level 3
  +import org.w3c.dom.UserDataHandler;
   
   import javax.xml.soap.Detail;
   import javax.xml.soap.DetailEntry;
  @@ -2219,113 +2221,113 @@
           return s;
       }
   
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static Object _node_getUserData ( Dom n, String key )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static Object _node_setUserData ( Dom n, String key, Object data, UserDataHandler handler )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static Object _node_getFeature ( Dom n, String feature, String version )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static boolean _node_isEqualNode ( Dom n, Node arg )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static boolean _node_isSameNode ( Dom n, Node arg )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static String _node_lookupNamespaceURI ( Dom n, String prefix )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static boolean _node_isDefaultNamespace ( Dom n, String namespaceURI )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//    
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static String _node_lookupPrefix ( Dom n, String namespaceURI )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static void _node_setTextContent ( Dom n, String textContent )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static String _node_getTextContent ( Dom n )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static short _node_compareDocumentPosition ( Dom n, Node other )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  -//
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//    //////////////////////////////////////////////////////////////////////////////////////
  -//
  -//    public static String _node_getBaseURI ( Dom n )
  -//    {
  -//        throw new RuntimeException( "DOM Level 3 Not implemented" );
  -//    }
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static Object _node_getUserData ( Dom n, String key )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static Object _node_setUserData ( Dom n, String key, Object data, UserDataHandler handler )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static Object _node_getFeature ( Dom n, String feature, String version )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static boolean _node_isEqualNode ( Dom n, Node arg )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static boolean _node_isSameNode ( Dom n, Node arg )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static String _node_lookupNamespaceURI ( Dom n, String prefix )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static boolean _node_isDefaultNamespace ( Dom n, String namespaceURI )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +    
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static String _node_lookupPrefix ( Dom n, String namespaceURI )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static void _node_setTextContent ( Dom n, String textContent )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static String _node_getTextContent ( Dom n )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static short _node_compareDocumentPosition ( Dom n, Node other )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
  +
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +    //////////////////////////////////////////////////////////////////////////////////////
  +
  +    public static String _node_getBaseURI ( Dom n )
  +    {
  +        throw new RuntimeException( "DOM Level 3 Not implemented" );
  +    }
   
       //////////////////////////////////////////////////////////////////////////////////////
       //////////////////////////////////////////////////////////////////////////////////////
  @@ -3636,19 +3638,19 @@
           public void setNodeValue ( String nodeValue ) { DomImpl._node_setNodeValue( this, nodeValue ); }
           public void setPrefix ( String prefix ) { DomImpl._node_setPrefix( this, prefix ); }
   
  -        // Level 3
  -//        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
  -//        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
  -//        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
  -//        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
  -//        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
  -//        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
  -//        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
  -//        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
  -//        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
  -//        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
  -//        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
  -//        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
  +        // DOM Level 3
  +        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
  +        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
  +        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
  +        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
  +        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
  +        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
  +        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
  +        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
  +        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
  +        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
  +        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
  +        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
   
           public void appendData ( String arg ) { DomImpl._characterData_appendData( this, arg ); }
           public void deleteData ( int offset, int count ) { DomImpl._characterData_deleteData( this, offset, count ); }
  
  
  
  1.1                  xml-xmlbeans/v2/src/newstore2/org/w3c/dom/DOMConfiguration.java
  
  Index: DOMConfiguration.java
  ===================================================================
  /*   Copyright 2004 The Apache Software Foundation
   *
   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at
   *
   *       http://www.apache.org/licenses/LICENSE-2.0
   *
   *   Unless required by applicable law or agreed to in writing, software
   *   distributed under the License is distributed on an "AS IS" BASIS,
   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *   See the License for the specific language governing permissions and
   *  limitations under the License.
   */
  
  package org.w3c.dom;
  
  public interface DOMConfiguration
  {
      public boolean canSetParameter ( String name, Object value );
      
      public Object getParameter ( String name );
      
      public DOMStringList getParameterNames (  );
      
      public void setParameter ( String name, Object value );
  }
  
  
  1.1                  xml-xmlbeans/v2/src/newstore2/org/w3c/dom/DOMStringList.java
  
  Index: DOMStringList.java
  ===================================================================
  /*   Copyright 2004 The Apache Software Foundation
   *
   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at
   *
   *       http://www.apache.org/licenses/LICENSE-2.0
   *
   *   Unless required by applicable law or agreed to in writing, software
   *   distributed under the License is distributed on an "AS IS" BASIS,
   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *   See the License for the specific language governing permissions and
   *  limitations under the License.
   */
  
  package org.w3c.dom;
  
  public interface DOMStringList
  {
      public boolean contains ( String str );
      
      public int getLength (  );
      
      public String item ( int index );
  }
  
  
  1.1                  xml-xmlbeans/v2/src/newstore2/org/w3c/dom/TypeInfo.java
  
  Index: TypeInfo.java
  ===================================================================
  /*   Copyright 2004 The Apache Software Foundation
   *
   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at
   *
   *       http://www.apache.org/licenses/LICENSE-2.0
   *
   *   Unless required by applicable law or agreed to in writing, software
   *   distributed under the License is distributed on an "AS IS" BASIS,
   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *   See the License for the specific language governing permissions and
   *  limitations under the License.
   */
  
  package org.w3c.dom;
  
  public interface TypeInfo
  {
      public static final int DERIVATION_EXTENSION   = 2;
      public static final int DERIVATION_LIST        = 8;
      public static final int DERIVATION_RESTRICTION = 1;
      public static final int DERIVATION_UNION       = 4;
              
      public String getTypeName ( );
      
      public String getTypeNamespace ( );
      
      public boolean isDerivedFrom (
          String typeNamespaceArg, String typeNameArg, int derivationMethod );
  }
  
  
  1.1                  xml-xmlbeans/v2/src/newstore2/org/w3c/dom/UserDataHandler.java
  
  Index: UserDataHandler.java
  ===================================================================
  /*   Copyright 2004 The Apache Software Foundation
   *
   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at
   *
   *       http://www.apache.org/licenses/LICENSE-2.0
   *
   *   Unless required by applicable law or agreed to in writing, software
   *   distributed under the License is distributed on an "AS IS" BASIS,
   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *   See the License for the specific language governing permissions and
   *  limitations under the License.
   */
  
  package org.w3c.dom;
  
  public interface UserDataHandler
  {
      public static final short NODE_ADOPTED  = 5;
      public static final short NODE_CLONED   = 1;
      public static final short NODE_DELETED  = 3;
      public static final short NODE_IMPORTED = 2;
      public static final short NODE_RENAMED  = 4;
  
      public void handle ( short operation, String key, Object data, Node src, Node dst );
  }
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org