ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r202330 - /webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/OMStAXWrapper.java
Date Wed, 29 Jun 2005 07:51:00 GMT
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";
     }
 
     /**



Mime
View raw message