| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <title>Xalan-C++ API : Main Page</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <!-- The head section is copied from Doxygen 1.7.1 generated default output --> |
| <body> |
| <h2 align="center">Xalan-C++ API Documentation</h2> |
| <h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3> |
| <hr/> |
| <!-- Generated by Doxygen 1.7.1 --> |
| <div class="navigation" id="top"> |
| <div class="tabs"> |
| <ul class="tablist"> |
| <li><a href="index.html"><span>Main Page</span></a></li> |
| <li><a href="pages.html"><span>Related Pages</span></a></li> |
| <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
| <li><a href="files.html"><span>Files</span></a></li> |
| </ul> |
| </div> |
| <div class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="annotated.html"><span>Class List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#nested-classes">Classes</a> | |
| <a href="#pub-types">Public Types</a> | |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#pub-static-methods">Static Public Member Functions</a> | |
| <a href="#pro-methods">Protected Member Functions</a> | |
| <a href="#pro-static-attribs">Static Protected Attributes</a> </div> |
| <div class="headertitle"> |
| <h1>XalanOutputStream Class Reference</h1> </div> |
| </div> |
| <div class="contents"> |
| <!-- doxytag: class="XalanOutputStream" --> |
| <p><code>#include <<a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>></code></p> |
| |
| <p>Inherited by <a class="el" href="classXalanFileOutputStream.html">XalanFileOutputStream</a>, <a class="el" href="classXalanFStreamOutputStream.html">XalanFStreamOutputStream</a>, <a class="el" href="classXalanNullOutputStream.html">XalanNullOutputStream</a>, <a class="el" href="classXalanStdOutputStream.html">XalanStdOutputStream</a>, and <a class="el" href="classXalanTransformerOutputStream.html">XalanTransformerOutputStream</a>.</p> |
| <div class="dynheader"> |
| Collaboration diagram for XalanOutputStream:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="classXalanOutputStream__coll__graph.png" border="0" usemap="#XalanOutputStream_coll__map" alt="Collaboration graph"/></div> |
| <map name="XalanOutputStream_coll__map" id="XalanOutputStream_coll__map"> |
| <area shape="rect" id="node2" href="classXalanVector.html" title="XalanVector\< char \>" alt="" coords="341,5,499,35"/><area shape="rect" id="node4" href="classXalanOutputTranscoder.html" title="XalanOutputTranscoder" alt="" coords="333,59,507,88"/><area shape="rect" id="node6" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="356,177,484,207"/><area shape="rect" id="node8" href="classXalanVector.html" title="XalanVector\< XalanDOMChar \>" alt="" coords="7,140,233,169"/></map> |
| <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> |
| |
| <p><a href="classXalanOutputStream-members.html">List of all members.</a></p> |
| <h2><a name="nested-classes"></a> |
| Classes</h2> |
| <ul> |
| <li>class <a class="el" href="classXalanOutputStream_1_1TranscoderInternalFailureException.html">TranscoderInternalFailureException</a> |
| <li>class <a class="el" href="classXalanOutputStream_1_1TranscodingException.html">TranscodingException</a> |
| <li>class <a class="el" href="classXalanOutputStream_1_1UnsupportedEncodingException.html">UnsupportedEncodingException</a> |
| <li>class <a class="el" href="classXalanOutputStream_1_1XalanOutputStreamException.html">XalanOutputStreamException</a> |
| </ul> |
| <h2><a name="pub-types"></a> |
| Public Types</h2> |
| <ul> |
| <li>enum { <a class="el" href="classXalanOutputStream.html#a6bfe11293db013d26e2699fc1b93f5e3ac2a6aae205ae61baa293a37cbf1953b3">eDefaultBufferSize</a> = 512u, |
| <a class="el" href="classXalanOutputStream.html#a6bfe11293db013d26e2699fc1b93f5e3a7031da5c57e17026988988e62b0d49fe">eDefaultTranscoderBlockSize</a> = 1024u |
| } |
| <li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>< XalanDOMChar > <a class="el" href="classXalanOutputStream.html#a1cf47da7f0f7c2760b4bd8bc9c7cce4d">BufferType</a> |
| <li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>< char > <a class="el" href="classXalanOutputStream.html#a137a768b6c14e435f04c42ac60e6ae95">TranscodeVectorType</a> |
| <li>typedef <br class="typebreak"/> |
| <a class="el" href="classXalanTranscodingServices.html#a803b202417ca9d2c306d759c83036b38">XalanTranscodingServices::size_type</a> <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> |
| </ul> |
| <h2><a name="pub-methods"></a> |
| Public Member Functions</h2> |
| <ul> |
| <li><a class="el" href="classXalanOutputStream.html#ab355898f646b50a69ba7667a9cfbd5a3">XalanOutputStream</a> (MemoryManager &theManager, <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> theBufferSize=eDefaultBufferSize, <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> theTranscoderBlockSize=eDefaultTranscoderBlockSize, bool fThrowTranscodeException=true) |
| <dl class="el"><dd class="mdescRight">Constructor. <a href="#ab355898f646b50a69ba7667a9cfbd5a3"></a><br/></dl><li>virtual <a class="el" href="classXalanOutputStream.html#ad39dc9a5509a76b275432c59e837af27">~XalanOutputStream</a> () |
| <li>MemoryManager & <a class="el" href="classXalanOutputStream.html#a83ad9a5d95b8dc6b8376de2da8d4c273">getMemoryManager</a> () |
| <li>virtual void <a class="el" href="classXalanOutputStream.html#ae2a11cd3e5a42ee006bb6d6dee773457">newline</a> () |
| <dl class="el"><dd class="mdescRight">Write the appropriate newline character(s) to the stream. <a href="#ae2a11cd3e5a42ee006bb6d6dee773457"></a><br/></dl><li>virtual const XalanDOMChar * <a class="el" href="classXalanOutputStream.html#a7e5907e548fe94d1fbbaecda1c78b8d1">getNewlineString</a> () const |
| <dl class="el"><dd class="mdescRight">Get the string which is appropriate for inserting a line feed in the stream. <a href="#a7e5907e548fe94d1fbbaecda1c78b8d1"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a49556704ccd2ba07dddf7c8544488bff">flushBuffer</a> () |
| <dl class="el"><dd class="mdescRight">Flush the stream's transcoding buffer, but do not request the implementation class to flush its buffer. <a href="#a49556704ccd2ba07dddf7c8544488bff"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a60009b6bcfabffb913b0291a036c22a4">flush</a> () |
| <dl class="el"><dd class="mdescRight">Flush the stream's buffer. <a href="#a60009b6bcfabffb913b0291a036c22a4"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a284f41e874bb59d4a965f891c26ece1e">write</a> (char theChar) |
| <dl class="el"><dd class="mdescRight">Write a character to the output stream. <a href="#a284f41e874bb59d4a965f891c26ece1e"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#afe677579d91c35ac4a997dbe1101e9e9">write</a> (XalanDOMChar theChar) |
| <dl class="el"><dd class="mdescRight">Write a wide character to the output stream. <a href="#afe677579d91c35ac4a997dbe1101e9e9"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a41121f7712ab2b164490750b30fb585a">write</a> (const char *theBuffer) |
| <dl class="el"><dd class="mdescRight">Write a null-terminated string to the output file. <a href="#a41121f7712ab2b164490750b30fb585a"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a0ef821d3a0b7160695068ec1b35966f2">write</a> (const XalanDOMChar *theBuffer) |
| <dl class="el"><dd class="mdescRight">Write a null-terminated wide string to the output file. <a href="#a0ef821d3a0b7160695068ec1b35966f2"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a227db17ffe1eaa15e052886a2a29af7d">write</a> (const char *theBuffer, <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> theBufferLength) |
| <dl class="el"><dd class="mdescRight">Write a specified number of characters to the output stream. <a href="#a227db17ffe1eaa15e052886a2a29af7d"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a96d90ac60b52575897ff4097742f82ee">write</a> (const XalanDOMChar *theBuffer, <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> theBufferLength) |
| <dl class="el"><dd class="mdescRight">Write a specified number of characters to the output stream. <a href="#a96d90ac60b52575897ff4097742f82ee"></a><br/></dl><li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <a class="el" href="classXalanOutputStream.html#a92d82f5a1fdb1837fcec6825f356961d">getOutputEncoding</a> () const |
| <dl class="el"><dd class="mdescRight">Get the output encoding for the stream. <a href="#a92d82f5a1fdb1837fcec6825f356961d"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#ac659dd43030aa0a2a0129870374c01c3">setOutputEncoding</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theEncoding) |
| <dl class="el"><dd class="mdescRight">Set the output encoding for the stream. <a href="#ac659dd43030aa0a2a0129870374c01c3"></a><br/></dl><li>bool <a class="el" href="classXalanOutputStream.html#a398d6dc24eb096462a63bec7f381030b">canTranscodeTo</a> (XalanUnicodeChar theChar) const |
| <dl class="el"><dd class="mdescRight">Determine if a given value can be represented in the output encoding. <a href="#a398d6dc24eb096462a63bec7f381030b"></a><br/></dl><li>const <a class="el" href="classXalanOutputTranscoder.html">XalanOutputTranscoder</a> * <a class="el" href="classXalanOutputStream.html#a342ee0ef0a624fbb4e504d0c703bd38d">getTranscoder</a> () const |
| <li>bool <a class="el" href="classXalanOutputStream.html#aa7db8729a27676af06f2cae135d51312">getThrowTranscodeException</a> () const |
| <dl class="el"><dd class="mdescRight">Set the flag that indicates whether a transcoding error should throw an exception. <a href="#aa7db8729a27676af06f2cae135d51312"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a063a0dfc25149696a609edd7b24bb776">setThrowTranscodeException</a> (bool flag) |
| <dl class="el"><dd class="mdescRight">Set the flag that indicates whether a transcoding error should throw an exception. <a href="#a063a0dfc25149696a609edd7b24bb776"></a><br/></dl><li>void <a class="el" href="classXalanOutputStream.html#a77f10ed63702cd83de2d221c61e713ba">setBufferSize</a> (<a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> theBufferSize) |
| <dl class="el"><dd class="mdescRight">Set the size of the output buffer. <a href="#a77f10ed63702cd83de2d221c61e713ba"></a><br/></dl></ul> |
| <h2><a name="pub-static-methods"></a> |
| Static Public Member Functions</h2> |
| <ul> |
| <li>static const XalanDOMChar * <a class="el" href="classXalanOutputStream.html#a50c94df907ba7f2e03c6e05fa54eae89">defaultNewlineString</a> () |
| <li>static <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <a class="el" href="classXalanOutputStream.html#ac53930c32df27f8e136073aefcd7e733">formatMessage</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theMessage, int theErrorCode, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theBuffer) |
| </ul> |
| <h2><a name="pro-methods"></a> |
| Protected Member Functions</h2> |
| <ul> |
| <li>void <a class="el" href="classXalanOutputStream.html#a123fa7e03a7f6f30d10ff6e250c7407a">transcode</a> (const XalanDOMChar *theBuffer, <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> theBufferLength, <a class="el" href="classXalanVector.html">TranscodeVectorType</a> &theDestination) |
| <dl class="el"><dd class="mdescRight">Transcode a wide string. <a href="#a123fa7e03a7f6f30d10ff6e250c7407a"></a><br/></dl><li>virtual void <a class="el" href="classXalanOutputStream.html#afd3ee66f24a4a20803546ffcd7092304">writeData</a> (const char *theBuffer, <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> theBufferLength)=0 |
| <dl class="el"><dd class="mdescRight">Write the data in the buffer. <a href="#afd3ee66f24a4a20803546ffcd7092304"></a><br/></dl><li>virtual void <a class="el" href="classXalanOutputStream.html#af877c1e7589acbd180dbb112dc1512d1">doFlush</a> ()=0 |
| <dl class="el"><dd class="mdescRight">Flush the stream. <a href="#af877c1e7589acbd180dbb112dc1512d1"></a><br/></dl></ul> |
| <h2><a name="pro-static-attribs"></a> |
| Static Protected Attributes</h2> |
| <ul> |
| <li>static const XalanDOMChar <a class="el" href="classXalanOutputStream.html#a496d97d74745f2b6cc5230002e0c3e9a">s_nlString</a> [] |
| <li>static const XalanDOMChar <a class="el" href="classXalanOutputStream.html#a197cde3b09b32e45f9db243d663d8769">s_nlCRString</a> [] |
| <li>static const <br class="typebreak"/> |
| <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">XalanDOMString::size_type</a> <a class="el" href="classXalanOutputStream.html#a272eec1ead87be6c1b3a016649763520">s_nlStringLength</a> |
| <li>static const <br class="typebreak"/> |
| <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">XalanDOMString::size_type</a> <a class="el" href="classXalanOutputStream.html#a3c7e3742bde6a2cc2f0ef07146087d4d">s_nlCRStringLength</a> |
| </ul> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00049">49</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| <hr/><h2>Member Typedef Documentation</h2> |
| <a class="anchor" id="a1cf47da7f0f7c2760b4bd8bc9c7cce4d"></a><!-- doxytag: member="XalanOutputStream::BufferType" ref="a1cf47da7f0f7c2760b4bd8bc9c7cce4d" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a><XalanDOMChar> <a class="el" href="classXalanVector.html">XalanOutputStream::BufferType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00055">55</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a6313c6fbbdc5fd6bcf3040d4f596cf71"></a><!-- doxytag: member="XalanOutputStream::size_type" ref="a6313c6fbbdc5fd6bcf3040d4f596cf71" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanTranscodingServices.html#a803b202417ca9d2c306d759c83036b38">XalanTranscodingServices::size_type</a> <a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">XalanOutputStream::size_type</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00057">57</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a137a768b6c14e435f04c42ac60e6ae95"></a><!-- doxytag: member="XalanOutputStream::TranscodeVectorType" ref="a137a768b6c14e435f04c42ac60e6ae95" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a><char> <a class="el" href="classXalanVector.html">XalanOutputStream::TranscodeVectorType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00056">56</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Enumeration Documentation</h2> |
| <a class="anchor" id="a6bfe11293db013d26e2699fc1b93f5e3"></a><!-- doxytag: member="XalanOutputStream::@31" ref="a6bfe11293db013d26e2699fc1b93f5e3" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">anonymous enum</td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"><em><a class="anchor" id="a6bfe11293db013d26e2699fc1b93f5e3ac2a6aae205ae61baa293a37cbf1953b3"></a><!-- doxytag: member="eDefaultBufferSize" ref="a6bfe11293db013d26e2699fc1b93f5e3ac2a6aae205ae61baa293a37cbf1953b3" args="" -->eDefaultBufferSize</em> </td><td> |
| </td></tr> |
| <tr><td valign="top"><em><a class="anchor" id="a6bfe11293db013d26e2699fc1b93f5e3a7031da5c57e17026988988e62b0d49fe"></a><!-- doxytag: member="eDefaultTranscoderBlockSize" ref="a6bfe11293db013d26e2699fc1b93f5e3a7031da5c57e17026988988e62b0d49fe" args="" -->eDefaultTranscoderBlockSize</em> </td><td> |
| </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00053">53</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="ab355898f646b50a69ba7667a9cfbd5a3"></a><!-- doxytag: member="XalanOutputStream::XalanOutputStream" ref="ab355898f646b50a69ba7667a9cfbd5a3" args="(MemoryManager &theManager, size_type theBufferSize=eDefaultBufferSize, size_type theTranscoderBlockSize=eDefaultTranscoderBlockSize, bool fThrowTranscodeException=true)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">XalanOutputStream::XalanOutputStream </td> |
| <td>(</td> |
| <td class="paramtype">MemoryManager & </td> |
| <td class="paramname"> <em>theManager</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> </td> |
| <td class="paramname"> <em>theBufferSize</em> = <code>eDefaultBufferSize</code>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> </td> |
| <td class="paramname"> <em>theTranscoderBlockSize</em> = <code>eDefaultTranscoderBlockSize</code>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"> <em>fThrowTranscodeException</em> = <code>true</code></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [explicit]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Constructor. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBufferSize</em> </td><td>the size of the transcoding buffer </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theTranscoderBlockSize</em> </td><td>the size of the block used by the transcoder </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>fThrowTranscodeException</em> </td><td>If true, an error transcoding will result in an exception being thrown. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad39dc9a5509a76b275432c59e837af27"></a><!-- doxytag: member="XalanOutputStream::~XalanOutputStream" ref="ad39dc9a5509a76b275432c59e837af27" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual XalanOutputStream::~XalanOutputStream </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="a398d6dc24eb096462a63bec7f381030b"></a><!-- doxytag: member="XalanOutputStream::canTranscodeTo" ref="a398d6dc24eb096462a63bec7f381030b" args="(XalanUnicodeChar theChar) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool XalanOutputStream::canTranscodeTo </td> |
| <td>(</td> |
| <td class="paramtype">XalanUnicodeChar </td> |
| <td class="paramname"> <em>theChar</em></td> |
| <td> ) </td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine if a given value can be represented in the output encoding. </p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if the value can be represented, and false if not. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a50c94df907ba7f2e03c6e05fa54eae89"></a><!-- doxytag: member="XalanOutputStream::defaultNewlineString" ref="a50c94df907ba7f2e03c6e05fa54eae89" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static const XalanDOMChar* XalanOutputStream::defaultNewlineString </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00083">83</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af877c1e7589acbd180dbb112dc1512d1"></a><!-- doxytag: member="XalanOutputStream::doFlush" ref="af877c1e7589acbd180dbb112dc1512d1" args="()=0" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void XalanOutputStream::doFlush </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [protected, pure virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Flush the stream. </p> |
| |
| <p>Implemented in <a class="el" href="classXalanTransformerOutputStream.html#a0c056d55a54439f628dffafbbbdef239">XalanTransformerOutputStream</a>, <a class="el" href="classXalanFileOutputStream.html#a7d781abe81e68cb1cd446d081a7da8bc">XalanFileOutputStream</a>, <a class="el" href="classXalanFStreamOutputStream.html#a4b441c443e3f303371b61a930f86e7c6">XalanFStreamOutputStream</a>, <a class="el" href="classXalanNullOutputStream.html#a139328bfc7885052f91bf12b98d828a1">XalanNullOutputStream</a>, and <a class="el" href="classXalanStdOutputStream.html#a92bb26053faea8645547cbebbf5c995e">XalanStdOutputStream</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a60009b6bcfabffb913b0291a036c22a4"></a><!-- doxytag: member="XalanOutputStream::flush" ref="a60009b6bcfabffb913b0291a036c22a4" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::flush </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Flush the stream's buffer. </p> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00116">116</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a49556704ccd2ba07dddf7c8544488bff"></a><!-- doxytag: member="XalanOutputStream::flushBuffer" ref="a49556704ccd2ba07dddf7c8544488bff" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::flushBuffer </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Flush the stream's transcoding buffer, but do not request the implementation class to flush its buffer. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac53930c32df27f8e136073aefcd7e733"></a><!-- doxytag: member="XalanOutputStream::formatMessage" ref="ac53930c32df27f8e136073aefcd7e733" args="(const XalanDOMString &theMessage, int theErrorCode, XalanDOMString &theBuffer)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& XalanOutputStream::formatMessage </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theMessage</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int </td> |
| <td class="paramname"> <em>theErrorCode</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theBuffer</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a83ad9a5d95b8dc6b8376de2da8d4c273"></a><!-- doxytag: member="XalanOutputStream::getMemoryManager" ref="a83ad9a5d95b8dc6b8376de2da8d4c273" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">MemoryManager& XalanOutputStream::getMemoryManager </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00077">77</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a7e5907e548fe94d1fbbaecda1c78b8d1"></a><!-- doxytag: member="XalanOutputStream::getNewlineString" ref="a7e5907e548fe94d1fbbaecda1c78b8d1" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual const XalanDOMChar* XalanOutputStream::getNewlineString </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td> const<code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get the string which is appropriate for inserting a line feed in the stream. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a92d82f5a1fdb1837fcec6825f356961d"></a><!-- doxytag: member="XalanOutputStream::getOutputEncoding" ref="a92d82f5a1fdb1837fcec6825f356961d" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& XalanOutputStream::getOutputEncoding </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Get the output encoding for the stream. </p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>The encoding name </dd></dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00220">220</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa7db8729a27676af06f2cae135d51312"></a><!-- doxytag: member="XalanOutputStream::getThrowTranscodeException" ref="aa7db8729a27676af06f2cae135d51312" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool XalanOutputStream::getThrowTranscodeException </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Set the flag that indicates whether a transcoding error should throw an exception. </p> |
| <p>The default is to throw an exception. If this flag is false, and and an error occurs transcoding, then data will likely be lost.</p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the value of the flag. </dd></dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00259">259</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a342ee0ef0a624fbb4e504d0c703bd38d"></a><!-- doxytag: member="XalanOutputStream::getTranscoder" ref="a342ee0ef0a624fbb4e504d0c703bd38d" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="classXalanOutputTranscoder.html">XalanOutputTranscoder</a>* XalanOutputStream::getTranscoder </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00244">244</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae2a11cd3e5a42ee006bb6d6dee773457"></a><!-- doxytag: member="XalanOutputStream::newline" ref="ae2a11cd3e5a42ee006bb6d6dee773457" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void XalanOutputStream::newline </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write the appropriate newline character(s) to the stream. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a77f10ed63702cd83de2d221c61e713ba"></a><!-- doxytag: member="XalanOutputStream::setBufferSize" ref="a77f10ed63702cd83de2d221c61e713ba" args="(size_type theBufferSize)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::setBufferSize </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> </td> |
| <td class="paramname"> <em>theBufferSize</em></td> |
| <td> ) </td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Set the size of the output buffer. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBufferSize</em> </td><td>The buffer size. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac659dd43030aa0a2a0129870374c01c3"></a><!-- doxytag: member="XalanOutputStream::setOutputEncoding" ref="ac659dd43030aa0a2a0129870374c01c3" args="(const XalanDOMString &theEncoding)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::setOutputEncoding </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theEncoding</em></td> |
| <td> ) </td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Set the output encoding for the stream. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theEncoding</em> </td><td>The encoding name </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a063a0dfc25149696a609edd7b24bb776"></a><!-- doxytag: member="XalanOutputStream::setThrowTranscodeException" ref="a063a0dfc25149696a609edd7b24bb776" args="(bool flag)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::setThrowTranscodeException </td> |
| <td>(</td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"> <em>flag</em></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Set the flag that indicates whether a transcoding error should throw an exception. </p> |
| <p>The default is to throw an exception. If this flag is false, and and an error occurs transcoding, then data will likely be lost.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>the</em> </td><td>new value of the flag. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00274">274</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a123fa7e03a7f6f30d10ff6e250c7407a"></a><!-- doxytag: member="XalanOutputStream::transcode" ref="a123fa7e03a7f6f30d10ff6e250c7407a" args="(const XalanDOMChar *theBuffer, size_type theBufferLength, TranscodeVectorType &theDestination)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::transcode </td> |
| <td>(</td> |
| <td class="paramtype">const XalanDOMChar * </td> |
| <td class="paramname"> <em>theBuffer</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> </td> |
| <td class="paramname"> <em>theBufferLength</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanVector.html">TranscodeVectorType</a> & </td> |
| <td class="paramname"> <em>theDestination</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Transcode a wide string. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBuffer</em> </td><td>The string to transcode. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theBufferLength</em> </td><td>The length of the string. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theDestination</em> </td><td>The destination vector. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a41121f7712ab2b164490750b30fb585a"></a><!-- doxytag: member="XalanOutputStream::write" ref="a41121f7712ab2b164490750b30fb585a" args="(const char *theBuffer)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::write </td> |
| <td>(</td> |
| <td class="paramtype">const char * </td> |
| <td class="paramname"> <em>theBuffer</em></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write a null-terminated string to the output file. </p> |
| <p>The character will not be transcoded. The caller is responsible for making sure the buffer is flushed before calling this member function.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBuffer</em> </td><td>character buffer to write </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00162">162</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="afe677579d91c35ac4a997dbe1101e9e9"></a><!-- doxytag: member="XalanOutputStream::write" ref="afe677579d91c35ac4a997dbe1101e9e9" args="(XalanDOMChar theChar)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::write </td> |
| <td>(</td> |
| <td class="paramtype">XalanDOMChar </td> |
| <td class="paramname"> <em>theChar</em></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write a wide character to the output stream. </p> |
| <p>The character will be transcoded, if an output encoding is specified.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theChar</em> </td><td>the character to write </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00142">142</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0ef821d3a0b7160695068ec1b35966f2"></a><!-- doxytag: member="XalanOutputStream::write" ref="a0ef821d3a0b7160695068ec1b35966f2" args="(const XalanDOMChar *theBuffer)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::write </td> |
| <td>(</td> |
| <td class="paramtype">const XalanDOMChar * </td> |
| <td class="paramname"> <em>theBuffer</em></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write a null-terminated wide string to the output file. </p> |
| <p>The string will be transcoded, if an output encoding is specified.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBuffer</em> </td><td>character buffer to write </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00177">177</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a96d90ac60b52575897ff4097742f82ee"></a><!-- doxytag: member="XalanOutputStream::write" ref="a96d90ac60b52575897ff4097742f82ee" args="(const XalanDOMChar *theBuffer, size_type theBufferLength)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::write </td> |
| <td>(</td> |
| <td class="paramtype">const XalanDOMChar * </td> |
| <td class="paramname"> <em>theBuffer</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> </td> |
| <td class="paramname"> <em>theBufferLength</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write a specified number of characters to the output stream. </p> |
| <p>The string will be transcoded, if an output encoding is specified.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBuffer</em> </td><td>character buffer to write </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theBufferLength</em> </td><td>number of characters to write </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a284f41e874bb59d4a965f891c26ece1e"></a><!-- doxytag: member="XalanOutputStream::write" ref="a284f41e874bb59d4a965f891c26ece1e" args="(char theChar)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::write </td> |
| <td>(</td> |
| <td class="paramtype">char </td> |
| <td class="paramname"> <em>theChar</em></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write a character to the output stream. </p> |
| <p>The character will not be transcoded.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theChar</em> </td><td>the character to write </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00130">130</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a227db17ffe1eaa15e052886a2a29af7d"></a><!-- doxytag: member="XalanOutputStream::write" ref="a227db17ffe1eaa15e052886a2a29af7d" args="(const char *theBuffer, size_type theBufferLength)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanOutputStream::write </td> |
| <td>(</td> |
| <td class="paramtype">const char * </td> |
| <td class="paramname"> <em>theBuffer</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> </td> |
| <td class="paramname"> <em>theBufferLength</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write a specified number of characters to the output stream. </p> |
| <p>The string will not be transcoded. The caller is responsible for making sure the buffer is flushed before calling this member function.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBuffer</em> </td><td>character buffer to write </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theBufferLength</em> </td><td>number of characters to write </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00191">191</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="afd3ee66f24a4a20803546ffcd7092304"></a><!-- doxytag: member="XalanOutputStream::writeData" ref="afd3ee66f24a4a20803546ffcd7092304" args="(const char *theBuffer, size_type theBufferLength)=0" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void XalanOutputStream::writeData </td> |
| <td>(</td> |
| <td class="paramtype">const char * </td> |
| <td class="paramname"> <em>theBuffer</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanOutputStream.html#a6313c6fbbdc5fd6bcf3040d4f596cf71">size_type</a> </td> |
| <td class="paramname"> <em>theBufferLength</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [protected, pure virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Write the data in the buffer. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theBuffer</em> </td><td>The data to write </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theBufferLength</em> </td><td>The length of theBuffer. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implemented in <a class="el" href="classXalanTransformerOutputStream.html#a2092b0ebe119b170d5efad5ea565031b">XalanTransformerOutputStream</a>, <a class="el" href="classXalanFileOutputStream.html#a5e598c5f939bccfdefc292f491fc2ab5">XalanFileOutputStream</a>, <a class="el" href="classXalanFStreamOutputStream.html#a11bab1aa47aaac4e20eaf4d41a28ab9b">XalanFStreamOutputStream</a>, <a class="el" href="classXalanNullOutputStream.html#a1620d3f91b024cd64c2f9dbef51a6968">XalanNullOutputStream</a>, and <a class="el" href="classXalanStdOutputStream.html#a90992448a57df63091d690b988ef3ad3">XalanStdOutputStream</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Data Documentation</h2> |
| <a class="anchor" id="a197cde3b09b32e45f9db243d663d8769"></a><!-- doxytag: member="XalanOutputStream::s_nlCRString" ref="a197cde3b09b32e45f9db243d663d8769" args="[]" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const XalanDOMChar <a class="el" href="classXalanOutputStream.html#a197cde3b09b32e45f9db243d663d8769">XalanOutputStream::s_nlCRString</a>[]<code> [static, protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00441">441</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a3c7e3742bde6a2cc2f0ef07146087d4d"></a><!-- doxytag: member="XalanOutputStream::s_nlCRStringLength" ref="a3c7e3742bde6a2cc2f0ef07146087d4d" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">XalanDOMString::size_type</a> <a class="el" href="classXalanOutputStream.html#a3c7e3742bde6a2cc2f0ef07146087d4d">XalanOutputStream::s_nlCRStringLength</a><code> [static, protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00444">444</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a496d97d74745f2b6cc5230002e0c3e9a"></a><!-- doxytag: member="XalanOutputStream::s_nlString" ref="a496d97d74745f2b6cc5230002e0c3e9a" args="[]" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const XalanDOMChar <a class="el" href="classXalanOutputStream.html#a496d97d74745f2b6cc5230002e0c3e9a">XalanOutputStream::s_nlString</a>[]<code> [static, protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00440">440</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a272eec1ead87be6c1b3a016649763520"></a><!-- doxytag: member="XalanOutputStream::s_nlStringLength" ref="a272eec1ead87be6c1b3a016649763520" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">XalanDOMString::size_type</a> <a class="el" href="classXalanOutputStream.html#a272eec1ead87be6c1b3a016649763520">XalanOutputStream::s_nlStringLength</a><code> [static, protected]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanOutputStream_8hpp_source.html#l00443">443</a> of file <a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="XalanOutputStream_8hpp_source.html">XalanOutputStream.hpp</a></li> |
| </ul> |
| </div> |
| <p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p> |
| <p><font color="#000000" face="arial,helvetica,sanserif" size="-1"> |
| <i><a href="http://www.doxygen.org/">Doxygen</a> and |
| <a href="http://www.graphviz.org/">GraphViz</a> are |
| used to generate this API documentation from the Xalan-C header files.</i></font></p> |
| |
| <table border="0" cellpadding="0" cellspacing="0" width="80%"> |
| <tr> |
| <td width="80%" valign="top"> |
| <p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/> |
| Copyright © 1999-2012 The Apache Software Foundation.<br/> |
| All Rights Reserved.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="100%"> |
| <p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo"> |
| </td> |
| </tr> |
| </table> |
| </body> |
| </html> |