axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r345213 - in /webservices/axis2/trunk/java/modules/saaj: ./ src/org/apache/axis2/om/impl/dom/ src/org/w3c/ src/org/w3c/dom/
Date Thu, 17 Nov 2005 09:34:25 GMT
Author: ruchithf
Date: Thu Nov 17 01:34:00 2005
New Revision: 345213

URL: http://svn.apache.org/viewcvs?rev=345213&view=rev
Log:
Added the DOM-Level3 interfaces into the saaj module and removed the dependancy on xmlbeans
when building in JDK 1.4


Added:
    webservices/axis2/trunk/java/modules/saaj/src/org/w3c/
    webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/
    webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMConfiguration.java   (with
props)
    webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMStringList.java   (with props)
    webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/TypeInfo.java   (with props)
    webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/UserDataHandler.java   (with
props)
Modified:
    webservices/axis2/trunk/java/modules/saaj/project.xml
    webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/impl/dom/AttrImpl.java

Modified: webservices/axis2/trunk/java/modules/saaj/project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/project.xml?rev=345213&r1=345212&r2=345213&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/project.xml (original)
+++ webservices/axis2/trunk/java/modules/saaj/project.xml Thu Nov 17 01:34:00 2005
@@ -141,18 +141,7 @@
                 <module>true</module>
             </properties>
             <url>http://dist.codehaus.org/stax/jars/</url>
-        </dependency>
-
-        <dependency>
-            <groupId>xmlbeans</groupId>
-            <artifactId>xbean</artifactId>
-            <version>${xbean.version}</version>
-            <type>jar</type>
-            <properties>
-                <module>true</module>
-            </properties>
-        </dependency>
-        
+        </dependency>        
     </dependencies>
 
     <reports/>

Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/impl/dom/AttrImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/impl/dom/AttrImpl.java?rev=345213&r1=345212&r2=345213&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/impl/dom/AttrImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/impl/dom/AttrImpl.java
Thu Nov 17 01:34:00 2005
@@ -15,6 +15,9 @@
  */
 package org.apache.axis2.om.impl.dom;
 
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLStreamException;
+
 import org.apache.axis2.om.OMAttribute;
 import org.apache.axis2.om.OMContainer;
 import org.apache.axis2.om.OMException;
@@ -26,10 +29,6 @@
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.TypeInfo;
-import org.w3c.dom.UserDataHandler;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
 
 /**
  * Implementation of <code>org.w3c.dom.Attr</code> and 

Added: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMConfiguration.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMConfiguration.java?rev=345213&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMConfiguration.java (added)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMConfiguration.java Thu Nov
17 01:34:00 2005
@@ -0,0 +1,27 @@
+/*   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 );
+}
\ No newline at end of file

Propchange: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMConfiguration.java
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMStringList.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMStringList.java?rev=345213&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMStringList.java (added)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMStringList.java Thu Nov 17
01:34:00 2005
@@ -0,0 +1,25 @@
+/*   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 );
+}
\ No newline at end of file

Propchange: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/DOMStringList.java
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/TypeInfo.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/TypeInfo.java?rev=345213&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/TypeInfo.java (added)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/TypeInfo.java Thu Nov 17 01:34:00
2005
@@ -0,0 +1,31 @@
+/*   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 );
+}
\ No newline at end of file

Propchange: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/TypeInfo.java
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/UserDataHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/UserDataHandler.java?rev=345213&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/UserDataHandler.java (added)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/UserDataHandler.java Thu Nov
17 01:34:00 2005
@@ -0,0 +1,27 @@
+/*   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 );
+}
\ No newline at end of file

Propchange: webservices/axis2/trunk/java/modules/saaj/src/org/w3c/dom/UserDataHandler.java
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message