You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2015/07/19 10:41:38 UTC

svn commit: r1691802 - /webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/

Author: veithen
Date: Sun Jul 19 08:41:38 2015
New Revision: 1691802

URL: http://svn.apache.org/r1691802
Log:
Flesh out the class hierarchy for the pure DOM implementation.

Added:
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/Attribute.java
      - copied, changed from r1691799, webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/AttrImpl.java
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareAttribute.java   (with props)
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareElement.java   (with props)
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareAttribute.java   (with props)
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareElement.java   (with props)
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ParentNode.java   (with props)
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ProcessingInstructionImpl.java   (with props)
Removed:
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/AttrImpl.java
Modified:
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ElementImpl.java
    webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/RootNode.java

Copied: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/Attribute.java (from r1691799, webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/AttrImpl.java)
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/Attribute.java?p2=webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/Attribute.java&p1=webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/AttrImpl.java&r1=1691799&r2=1691802&rev=1691802&view=diff
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/AttrImpl.java (original)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/Attribute.java Sun Jul 19 08:41:38 2015
@@ -18,7 +18,8 @@
  */
 package org.apache.axiom.dom.impl;
 
-// TODO: will become final
-abstract class AttrImpl extends RootNode {
+import org.apache.axiom.dom.DOMAttribute;
+
+abstract class Attribute extends RootNode implements DOMAttribute {
 
 }

Modified: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ElementImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ElementImpl.java?rev=1691802&r1=1691801&r2=1691802&view=diff
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ElementImpl.java (original)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ElementImpl.java Sun Jul 19 08:41:38 2015
@@ -21,6 +21,6 @@ package org.apache.axiom.dom.impl;
 import org.apache.axiom.dom.DOMElement;
 
 // TODO: will become final
-abstract class ElementImpl extends NodeImpl implements DOMElement {
+abstract class ElementImpl extends ParentNode implements DOMElement {
 
 }

Added: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareAttribute.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareAttribute.java?rev=1691802&view=auto
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareAttribute.java (added)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareAttribute.java Sun Jul 19 08:41:38 2015
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.axiom.dom.impl;
+
+import org.apache.axiom.dom.DOMNSAwareAttribute;
+
+abstract class NSAwareAttribute extends Attribute implements DOMNSAwareAttribute {
+
+}

Propchange: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareAttribute.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareElement.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareElement.java?rev=1691802&view=auto
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareElement.java (added)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareElement.java Sun Jul 19 08:41:38 2015
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.axiom.dom.impl;
+
+import org.apache.axiom.dom.DOMNSAwareElement;
+
+abstract class NSAwareElement extends ElementImpl implements DOMNSAwareElement {
+
+}

Propchange: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSAwareElement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareAttribute.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareAttribute.java?rev=1691802&view=auto
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareAttribute.java (added)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareAttribute.java Sun Jul 19 08:41:38 2015
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.axiom.dom.impl;
+
+import org.apache.axiom.dom.DOMNSUnawareAttribute;
+
+abstract class NSUnawareAttribute extends Attribute implements DOMNSUnawareAttribute {
+
+}

Propchange: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareAttribute.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareElement.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareElement.java?rev=1691802&view=auto
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareElement.java (added)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareElement.java Sun Jul 19 08:41:38 2015
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.axiom.dom.impl;
+
+import org.apache.axiom.dom.DOMNSUnawareElement;
+
+abstract class NSUnawareElement extends ElementImpl implements DOMNSUnawareElement {
+
+}

Propchange: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/NSUnawareElement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ParentNode.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ParentNode.java?rev=1691802&view=auto
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ParentNode.java (added)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ParentNode.java Sun Jul 19 08:41:38 2015
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.axiom.dom.impl;
+
+import org.apache.axiom.dom.DOMParentNode;
+
+abstract class ParentNode extends NodeImpl implements DOMParentNode {
+
+}

Propchange: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ParentNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ProcessingInstructionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ProcessingInstructionImpl.java?rev=1691802&view=auto
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ProcessingInstructionImpl.java (added)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ProcessingInstructionImpl.java Sun Jul 19 08:41:38 2015
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.axiom.dom.impl;
+
+import org.apache.axiom.dom.DOMProcessingInstruction;
+
+abstract class ProcessingInstructionImpl extends LeafNode implements DOMProcessingInstruction {
+
+}

Propchange: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/ProcessingInstructionImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/RootNode.java
URL: http://svn.apache.org/viewvc/webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/RootNode.java?rev=1691802&r1=1691801&r2=1691802&view=diff
==============================================================================
--- webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/RootNode.java (original)
+++ webservices/axiom/experimental/dom/src/main/java/org/apache/axiom/dom/impl/RootNode.java Sun Jul 19 08:41:38 2015
@@ -20,6 +20,6 @@ package org.apache.axiom.dom.impl;
 
 import org.apache.axiom.dom.DOMRootNode;
 
-abstract class RootNode extends NodeImpl implements DOMRootNode {
+abstract class RootNode extends ParentNode implements DOMRootNode {
 
 }