You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2006/03/29 07:24:52 UTC

svn commit: r389679 - /webservices/axis2/trunk/java/modules/jibx/src/org/apache/axis2/jibx/OMJiBXElementImpl.java

Author: chinthaka
Date: Tue Mar 28 21:24:48 2006
New Revision: 389679

URL: http://svn.apache.org/viewcvs?rev=389679&view=rev
Log:
Fixing the build break. 
Dennis, I added a new method in OMElement. Since you have implemented OMElement interface that gives a compile error. So I added that method and threw an UnsupportedOperationException. can you please fix it properly.

Modified:
    webservices/axis2/trunk/java/modules/jibx/src/org/apache/axis2/jibx/OMJiBXElementImpl.java

Modified: webservices/axis2/trunk/java/modules/jibx/src/org/apache/axis2/jibx/OMJiBXElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/jibx/src/org/apache/axis2/jibx/OMJiBXElementImpl.java?rev=389679&r1=389678&r2=389679&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jibx/src/org/apache/axis2/jibx/OMJiBXElementImpl.java (original)
+++ webservices/axis2/trunk/java/modules/jibx/src/org/apache/axis2/jibx/OMJiBXElementImpl.java Tue Mar 28 21:24:48 2006
@@ -16,17 +16,6 @@
 
 package org.apache.axis2.jibx;
 
-import java.io.OutputStream;
-import java.io.StringWriter;
-import java.io.Writer;
-import java.util.Collections;
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-
 import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.OMAttribute;
 import org.apache.axiom.om.OMElement;
@@ -47,6 +36,16 @@
 import org.jibx.runtime.JiBXException;
 import org.jibx.runtime.impl.StAXWriter;
 
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLStreamWriter;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import java.io.Writer;
+import java.util.Collections;
+import java.util.Iterator;
+
 /**
  * Element wrapping an object to be serialized using JiBX marshalling.
  */
@@ -219,6 +218,10 @@
      */
     public void setText(String text) {
         forceTree().setText(text);
+    }
+
+    public void setText(QName text) {
+        throw new UnsupportedOperationException();
     }
 
     /* (non-Javadoc)