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/04/02 19:45:36 UTC

svn commit: r390873 - /webservices/axis2/trunk/java/xdocs/latest/OMTutorial.html

Author: chinthaka
Date: Sun Apr  2 10:45:36 2006
New Revision: 390873

URL: http://svn.apache.org/viewcvs?rev=390873&view=rev
Log:
Fixing OMTutorial problems.

http://issues.apache.org/jira/browse/AXIS2-514

Modified:
    webservices/axis2/trunk/java/xdocs/latest/OMTutorial.html

Modified: webservices/axis2/trunk/java/xdocs/latest/OMTutorial.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/OMTutorial.html?rev=390873&r1=390872&r2=390873&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/OMTutorial.html (original)
+++ webservices/axis2/trunk/java/xdocs/latest/OMTutorial.html Sun Apr  2 10:45:36 2006
@@ -423,8 +423,8 @@
 different types of outputs (such as text, binary, etc.,).</p>
 
 <p>A caching flag is provided by OM to control the building of the in-memory
-OM. The OMNode has two methods, serializeWithCache and serialize When
-serialize is called the cache flag is reset and the serializer does not cache
+OM. The OMNode has two methods, serializeAndConsume and serialize. When
+serializeAndConsume is called the cache flag is reset and the serializer does not cache
 the stream. Hence the object model will not be built if the cache flag is not
 set.</p>
 
@@ -452,7 +452,7 @@
 </div>
 <pre class="code">XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(System.out);
 //dump the output to console with caching
-envelope.serializeWithCache(writer); 
+envelope.serialize(writer); 
 writer.flush();</pre>
 <pre class="code"></pre>