You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by th...@apache.org on 2006/07/05 23:01:56 UTC
svn commit: r419341 -
/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMTextImpl.java
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org