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 aj...@apache.org on 2005/06/29 09:51:00 UTC

svn commit: r202330 - /webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/OMStAXWrapper.java

Author: ajith
Date: Wed Jun 29 00:50:59 2005
New Revision: 202330

URL: http://svn.apache.org/viewcvs?rev=202330&view=rev
Log:
Modified the wrapper and removed the unsupportedOperationExceptions

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/OMStAXWrapper.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/OMStAXWrapper.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/OMStAXWrapper.java?rev=202330&r1=202329&r2=202330&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/OMStAXWrapper.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/OMStAXWrapper.java Wed Jun 29 00:50:59 2005
@@ -925,7 +925,7 @@
      * @return
      */
     public String getEncoding() {
-        throw new UnsupportedOperationException();
+        return null;
     }
 
     /**
@@ -943,16 +943,18 @@
      * @return
      */
     public String getVersion() {
-        throw new UnsupportedOperationException();
+//        throw new UnsupportedOperationException();
+          return "1.0"; //todo put the constant
     }
 
+
     /**
      * Method isStandalone
      *
      * @return
      */
     public boolean isStandalone() {
-        throw new UnsupportedOperationException();
+       return true;
     }
 
     /**
@@ -961,7 +963,7 @@
      * @return
      */
     public boolean standaloneSet() {
-        throw new UnsupportedOperationException();
+        return false;
     }
 
     /**
@@ -970,7 +972,9 @@
      * @return
      */
     public String getCharacterEncodingScheme() {
-        throw new UnsupportedOperationException();
+//        throw new UnsupportedOperationException();
+//        throw new UnsupportedOperationException();
+       return "utf-8";
     }
 
     /**