You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ch...@apache.org on 2006/12/11 15:28:20 UTC
svn commit: r485676 - in
/webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom:
DocumentFragmentImpl.java DocumentFragmentimpl.java DocumentImpl.java
ParentNode.java factory/OMDOMFactory.java
Author: chinthaka
Date: Mon Dec 11 06:28:19 2006
New Revision: 485676
URL: http://svn.apache.org/viewvc?view=rev&rev=485676
Log:
Fixing a typo mistake pointed out in http://issues.apache.org/jira/browse/WSCOMMONS-138.
Added:
webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentImpl.java
- copied, changed from r485218, webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentimpl.java
Removed:
webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentimpl.java
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentImpl.java
webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ParentNode.java
webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java
Copied: webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentImpl.java (from r485218, webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentimpl.java)
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentImpl.java?view=diff&rev=485676&p1=webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentimpl.java&r1=485218&p2=webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentImpl.java&r2=485676
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentimpl.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentFragmentImpl.java Mon Dec 11 06:28:19 2006
@@ -23,13 +23,13 @@
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
-public class DocumentFragmentimpl extends ParentNode implements
+public class DocumentFragmentImpl extends ParentNode implements
DocumentFragment {
/**
* @param ownerDocument
*/
- public DocumentFragmentimpl(DocumentImpl ownerDocument, OMFactory factory) {
+ public DocumentFragmentImpl(DocumentImpl ownerDocument, OMFactory factory) {
super(ownerDocument, factory);
this.done = true;
}
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentImpl.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentImpl.java?view=diff&rev=485676&r1=485675&r2=485676
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentImpl.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentImpl.java Mon Dec 11 06:28:19 2006
@@ -184,7 +184,7 @@
}
public DocumentFragment createDocumentFragment() {
- return new DocumentFragmentimpl(this, this.factory);
+ return new DocumentFragmentImpl(this, this.factory);
}
public Element createElement(String tagName) throws DOMException {
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ParentNode.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ParentNode.java?view=diff&rev=485676&r1=485675&r2=485676
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ParentNode.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ParentNode.java Mon Dec 11 06:28:19 2006
@@ -239,10 +239,10 @@
if (this.firstChild == tempNode) { // If the refChild is the
// first child
- if (newChild instanceof DocumentFragmentimpl) {
+ if (newChild instanceof DocumentFragmentImpl) {
// The new child is a DocumentFragment
- DocumentFragmentimpl docFrag =
- (DocumentFragmentimpl) newChild;
+ DocumentFragmentImpl docFrag =
+ (DocumentFragmentImpl) newChild;
this.firstChild = docFrag.firstChild;
docFrag.lastChild.nextSibling = refDomChild;
refDomChild.previousSibling =
@@ -265,10 +265,10 @@
} else { // If the refChild is not the fist child
ChildNode previousNode = refDomChild.previousSibling;
- if (newChild instanceof DocumentFragmentimpl) {
+ if (newChild instanceof DocumentFragmentImpl) {
// the newChild is a document fragment
- DocumentFragmentimpl docFrag =
- (DocumentFragmentimpl) newChild;
+ DocumentFragmentImpl docFrag =
+ (DocumentFragmentImpl) newChild;
previousNode.nextSibling = docFrag.firstChild;
docFrag.firstChild.previousSibling = previousNode;
@@ -342,9 +342,9 @@
while (children.hasNext()) {
ChildNode tempNode = (ChildNode) children.next();
if (tempNode.equals(oldChild)) {
- if (newChild instanceof DocumentFragmentimpl) {
- DocumentFragmentimpl docFrag =
- (DocumentFragmentimpl) newDomChild;
+ if (newChild instanceof DocumentFragmentImpl) {
+ DocumentFragmentImpl docFrag =
+ (DocumentFragmentImpl) newDomChild;
ChildNode child = (ChildNode) docFrag.getFirstChild();
this.replaceChild(child, oldChild);
if(child != null) {
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java?view=diff&rev=485676&r1=485675&r2=485676
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java Mon Dec 11 06:28:19 2006
@@ -33,7 +33,7 @@
import org.apache.axiom.om.impl.OMNodeEx;
import org.apache.axiom.om.impl.dom.AttrImpl;
import org.apache.axiom.om.impl.dom.CommentImpl;
-import org.apache.axiom.om.impl.dom.DocumentFragmentimpl;
+import org.apache.axiom.om.impl.dom.DocumentFragmentImpl;
import org.apache.axiom.om.impl.dom.DocumentImpl;
import org.apache.axiom.om.impl.dom.ElementImpl;
import org.apache.axiom.om.impl.dom.NamespaceImpl;
@@ -92,7 +92,7 @@
(NamespaceImpl) ns, this);
case Node.DOCUMENT_FRAGMENT_NODE:
- DocumentFragmentimpl docFragImpl = (DocumentFragmentimpl) parent;
+ DocumentFragmentImpl docFragImpl = (DocumentFragmentImpl) parent;
return new ElementImpl((DocumentImpl) docFragImpl
.getOwnerDocument(), localName, (NamespaceImpl) ns, this);
default:
@@ -123,7 +123,7 @@
return elem2;
case Node.DOCUMENT_FRAGMENT_NODE:
- DocumentFragmentimpl docFragImpl = (DocumentFragmentimpl) parent;
+ DocumentFragmentImpl docFragImpl = (DocumentFragmentImpl) parent;
return new ElementImpl((DocumentImpl) docFragImpl
.getOwnerDocument(), localName, (NamespaceImpl) ns,
builder, this);
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org