Author: thilina
Date: Wed Jul  5 14:01:55 2006
New Revision: 419341

URL: http://svn.apache.org/viewvc?rev=419341&view=rev
Log:
Receiving binary can happen as either MTOM attachments or as Base64 Text. In 
the case of Base64 user has to explicitly specify that the content is . binary, 
before calling getDataHandler(), getInputStream()....

setBinary() facilitates that

Modified:
    
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMTextImpl.java

Modified: 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMTextImpl.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMTextImpl.java?rev=419341&r1=419340&r2=419341&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMTextImpl.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMTextImpl.java
 Wed Jul  5 14:01:55 2006
@@ -96,7 +96,7 @@
         this.value = s;
         this.nodeType = nodeType;
     }
-
+ 
     /**
      * Constructor OMTextImpl.
      *
@@ -322,6 +322,14 @@
         }
     }
 
+    /**
+     * Receiving binary can happen as either MTOM attachments or as Base64 Text
+     * In the case of Base64 user has to explicitly specify that the content 
is 
+     * binary, before calling getDataHandler(), getInputStream()....
+     */
+    public void setBinary(boolean value) {     
+            isBinary = value;
+    }
 
     /**
      * Gets the datahandler.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to