abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1374757 - /abdera/java/branches/axiom-upgrade/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Date Sun, 19 Aug 2012 14:12:38 GMT
Author: veithen
Date: Sun Aug 19 14:12:37 2012
New Revision: 1374757

URL: http://svn.apache.org/viewvc?rev=1374757&view=rev
Log:
Updated to OMElementImpl constructors introduced in Axiom 1.2.14.

Modified:
    abdera/java/branches/axiom-upgrade/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java

Modified: abdera/java/branches/axiom-upgrade/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
URL: http://svn.apache.org/viewvc/abdera/java/branches/axiom-upgrade/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java?rev=1374757&r1=1374756&r2=1374757&view=diff
==============================================================================
--- abdera/java/branches/axiom-upgrade/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
(original)
+++ abdera/java/branches/axiom-upgrade/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Sun Aug 19 14:12:37 2012
@@ -77,15 +77,15 @@ public class FOMElement extends OMElemen
     private static final long serialVersionUID = 8024257594220911953L;
 
     protected FOMElement(String name, OMNamespace namespace, OMContainer parent, OMFactory
factory) throws OMException {
-        super(name, namespace, parent, factory);
+        super(parent, name, namespace, null, factory, true);
     }
 
     protected FOMElement(QName qname, OMContainer parent, OMFactory factory) throws OMException
{
-        super(qname.getLocalPart(), getOrCreateNamespace(qname, parent, factory), parent,
factory);
+        super(parent, qname.getLocalPart(), getOrCreateNamespace(qname, parent, factory),
null, factory, true);
     }
 
     protected FOMElement(String localName, OMContainer parent, OMFactory factory, OMXMLParserWrapper
builder) {
-        super(localName, null, parent, builder, factory);
+        super(parent, localName, null, builder, factory, false);
     }
 
     private static OMNamespace getOrCreateNamespace(QName qname, OMContainer parent, OMFactory
factory) {



Mime
View raw message