| <HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
|
| <BODY>
|
| <h2 align="center">Xalan-C++ API Documentation</h2>
|
| <h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
|
| </BODY> |
| <!-- Generated by Doxygen 1.2.8.1 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> |
| <hr><h1>XalanTransformer Class Reference</h1>This is a simple C++ interface for some common usage patterns. |
| <a href="#_details">More...</a> |
| <p> |
| <code>#include <<a class="el" href="XalanTransformer_8hpp-source.html">XalanTransformer.hpp</a>></code> |
| <p> |
| Collaboration diagram for XalanTransformer:<p><center><img src="classXalanTransformer__coll__graph.gif" border="0" usemap="#XalanTransformer_coll_map" alt="Collaboration graph"></center> |
| <map name="XalanTransformer_coll_map"> |
| <area href="classXSLTInputSource.html" shape="rect" coords="17,33,137,9"> |
| <area href="classXalanDOMString.html" shape="rect" coords="19,125,136,101"> |
| <area href="classXSLTInit.html" shape="rect" coords="44,188,111,164"> |
| <area href="classProblemListener.html" shape="rect" coords="21,250,133,226"> |
| </map> |
| <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXalanTransformer-members.html">List of all members.</a><h2>Public Types</h2> |
| <ul> |
| <li>typedef std::ostream <a class="el" href="classXalanTransformer.html#s0">StreamType</a> |
| <li>typedef XalanVector<const <br> |
| <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a>*> <a class="el" href="classXalanTransformer.html#s1">CompiledStylesheetPtrVectorType</a> |
| <li>typedef XalanVector<const <br> |
| <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a>*> <a class="el" href="classXalanTransformer.html#s2">ParsedSourcePtrVectorType</a> |
| <li>typedef XALAN_STD_QUALIFIER <br> |
| pair<<a class="el" href="classXalanDOMString.html">XalanDOMString</a>*, <a class="el" href="classXalanDOMString.html">XalanDOMString</a>*> <a class="el" href="classXalanTransformer.html#s3">ParamPairType</a> |
| <li>typedef XalanVector<<a class="el" href="classXalanTransformer.html#s3">ParamPairType</a>> <a class="el" href="classXalanTransformer.html#s4">ParamPairVectorType</a> |
| <li>typedef XALAN_STD_QUALIFIER <br> |
| pair<<a class="el" href="classXalanQNameByValue.html">XalanQNameByValue</a>*, <a class="el" href="classFunction.html">Function</a>*> <a class="el" href="classXalanTransformer.html#s5">FunctionPairType</a> |
| <li>typedef XalanVector<<a class="el" href="classXalanTransformer.html#s5">FunctionPairType</a>> <a class="el" href="classXalanTransformer.html#s6">FunctionParamPairVectorType</a> |
| <li>typedef XalanVector<<a class="el" href="classTraceListener.html">TraceListener</a>*> <a class="el" href="classXalanTransformer.html#s7">TraceListenerVectorType</a> |
| <li>enum <a class="el" href="classXalanTransformer.html#s14">eEscapeURLs</a> { <a class="el" href="classXalanTransformer.html#s14s8">eEscapeURLsDefault</a>, |
| <a class="el" href="classXalanTransformer.html#s14s9">eEscapeURLsNo</a>, |
| <a class="el" href="classXalanTransformer.html#s14s10">eEscapeURLsYes</a> |
| } |
| <dl class="el"><dd><font size=-1><em>Enums to determine whether or not run-time escaping of URLs has been set.</em> <a href="#s14">More...</a><em><br><br></em></font></dl><li>enum <a class="el" href="classXalanTransformer.html#s15">eOmitMETATag</a> { <a class="el" href="classXalanTransformer.html#s15s11">eOmitMETATagDefault</a>, |
| <a class="el" href="classXalanTransformer.html#s15s12">eOmitMETATagNo</a>, |
| <a class="el" href="classXalanTransformer.html#s15s13">eOmitMETATagYes</a> |
| } |
| <dl class="el"><dd><font size=-1><em>Enums to determine whether or not run-time omission of the META tag has been set.</em> <a href="#s15">More...</a><em><br><br></em></font></dl></ul> |
| <h2>Public Methods</h2> |
| <ul> |
| <li><a class="el" href="classXalanTransformer.html#a0">XalanTransformer</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager=XalanMemMgrs::getDefaultXercesMemMgr()) |
| <li>virtual <a class="el" href="classXalanTransformer.html#a1">~XalanTransformer</a> () |
| <li><a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a>& <a class="el" href="classXalanTransformer.html#a2">getMemoryManager</a> () |
| <li>const <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a>& <a class="el" href="classXalanTransformer.html#a3">getMemoryManager</a> () const |
| <li>int <a class="el" href="classXalanTransformer.html#a4">transform</a> (const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> &theParsedXML, const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theStylesheetSource, const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> &theResultTarget) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the stylesheet source to the parsed xml source and write the transformation output to the target.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a5">transform</a> (const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> &theParsedXML, const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> *theCompiledStylesheet, const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> &theResultTarget) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the compiled stylesheet to the parsed xml source and write the transformation output to the target.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a6">transform</a> (const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> &theParsedXML, const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> &theResultTarget) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the stylesheet provided as a PI in the XML of the parsed xml source and write the transformation output to the target.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a7">transform</a> (const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theInputSource, const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theStylesheetSource, const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> &theResultTarget) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the stylesheet source to the input source and write the transformation output to the target.</em> <a href="#a7">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a8">transform</a> (const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theInputSource, const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> &theResultTarget) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the stylesheet provided as a PI in the XML of the input source and write the transformation output to the target.</em> <a href="#a8">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a9">transform</a> (const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theInputSource, const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theStylesheetSource, void *theOutputHandle, <a class="el" href="XalanTransformerDefinitions_8hpp.html#a4">XalanOutputHandlerType</a> theOutputHandler, <a class="el" href="XalanTransformerDefinitions_8hpp.html#a5">XalanFlushHandlerType</a> theFlushHandler=0) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the stylesheet source to the input source and write the transformation result to a callback function in pre-allocated blocks.</em> <a href="#a9">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a10">transform</a> (const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theInputSource, const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> *theCompiledStylesheet, const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> &theResultTarget) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the compiled stylesheet to the input source and write the transformation output to the target.</em> <a href="#a10">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a11">transform</a> (const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> &theParsedSource, const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> *theCompiledStylesheet, void *theOutputHandle, <a class="el" href="XalanTransformerDefinitions_8hpp.html#a4">XalanOutputHandlerType</a> theOutputHandler, <a class="el" href="XalanTransformerDefinitions_8hpp.html#a5">XalanFlushHandlerType</a> theFlushHandler=0) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the compiled stylesheet to the source and write the transformation result to a callback function in pre-allocated blocks.</em> <a href="#a11">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a12">transform</a> (const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theInputSource, void *theOutputHandle, <a class="el" href="XalanTransformerDefinitions_8hpp.html#a4">XalanOutputHandlerType</a> theOutputHandler, <a class="el" href="XalanTransformerDefinitions_8hpp.html#a5">XalanFlushHandlerType</a> theFlushHandler=0) |
| <dl class="el"><dd><font size=-1><em>Transform will apply the stylesheet provided as a PI in the XML of the input source and write the transformation result to a callback function in pre-allocated blocks.</em> <a href="#a12">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a13">compileStylesheet</a> (const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theStylesheetSource, const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> *&theCompiledStylesheet) |
| <dl class="el"><dd><font size=-1><em>Creates a compiled stylesheet.</em> <a href="#a13">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a14">destroyStylesheet</a> (const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> *theStylesheet) |
| <dl class="el"><dd><font size=-1><em>Destroy a <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> instance created by a previous call to <a class="el" href="classXalanTransformer.html#a13">compileStylesheet</a>().</em> <a href="#a14">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a15">parseSource</a> (const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> &theInputSource, const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> *&theParsedSource, bool useXercesDOM=false) |
| <dl class="el"><dd><font size=-1><em>Parse a source XML document.</em> <a href="#a15">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a16">destroyParsedSource</a> (const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> *theParsedSource) |
| <dl class="el"><dd><font size=-1><em>Destroy a parsed source created by a previous call to <a class="el" href="classXalanTransformer.html#a15">parseSource</a>().</em> <a href="#a16">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanDocumentBuilder.html">XalanDocumentBuilder</a>* <a class="el" href="classXalanTransformer.html#a17">createDocumentBuilder</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theURI=<a class="el" href="classXalanDOMString.html">XalanDOMString</a>(XalanMemMgrs::getDummyMemMgr())) |
| <dl class="el"><dd><font size=-1><em>Create a document builder.</em> <a href="#a17">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a18">destroyDocumentBuilder</a> (<a class="el" href="classXalanDocumentBuilder.html">XalanDocumentBuilder</a> *theDocumentBuilder) |
| <dl class="el"><dd><font size=-1><em>Destroy a document builder created by a previous call to <a class="el" href="classXalanTransformer.html#a17">createDocumentBuilder</a>().</em> <a href="#a18">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a19">installExternalFunction</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theNamespace, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &functionName, const <a class="el" href="classFunction.html">Function</a> &function) |
| <dl class="el"><dd><font size=-1><em>Install an external function in the local space.</em> <a href="#a19">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a20">uninstallExternalFunction</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theNamespace, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &functionName) |
| <dl class="el"><dd><font size=-1><em>Uninstall an external local function.</em> <a href="#a20">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a21">setStylesheetParam</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &key, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &expression) |
| <dl class="el"><dd><font size=-1><em>Set a top-level stylesheet parameter.</em> <a href="#a21">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a22">setStylesheetParam</a> (const char *key, const char *expression) |
| <dl class="el"><dd><font size=-1><em>Set a top-level stylesheet parameter.</em> <a href="#a22">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a23">addTraceListener</a> (<a class="el" href="classTraceListener.html">TraceListener</a> *theTraceListener) |
| <dl class="el"><dd><font size=-1><em>Add a <a class="el" href="classTraceListener.html">TraceListener</a> instance.</em> <a href="#a23">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTransformer.html#a24">removeTraceListener</a> (<a class="el" href="classTraceListener.html">TraceListener</a> *theTraceListener) |
| <dl class="el"><dd><font size=-1><em>Remove a <a class="el" href="classTraceListener.html">TraceListener</a> instance.</em> <a href="#a24">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a25">removeTraceListeners</a> () |
| <dl class="el"><dd><font size=-1><em>Remove all <a class="el" href="classTraceListener.html">TraceListener</a> instances.</em> <a href="#a25">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTransformer.html#a26">getUseValidation</a> () const |
| <dl class="el"><dd><font size=-1><em>Set a flag to indicate whether or not the source file(s) for the transformation will be validated.</em> <a href="#a26">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a27">setUseValidation</a> (bool fValue) |
| <dl class="el"><dd><font size=-1><em>Set a flag to indicate whether or not the source file(s) for the transformation will be validated.</em> <a href="#a27">More...</a><em><br><br></em></font></dl><li><a class="el" href="XMLParserLiaison_8hpp.html#a1">EntityResolverType</a>* <a class="el" href="classXalanTransformer.html#a28">getEntityResolver</a> () const |
| <dl class="el"><dd><font size=-1><em>This method returns the installed entity resolver.</em> <a href="#a28">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a29">setEntityResolver</a> (<a class="el" href="XMLParserLiaison_8hpp.html#a1">EntityResolverType</a> *theResolver) |
| <dl class="el"><dd><font size=-1><em>This method installs the user-specified entity resolver.</em> <a href="#a29">More...</a><em><br><br></em></font></dl><li><a class="el" href="classErrorHandlerType.html">ErrorHandlerType</a>* <a class="el" href="classXalanTransformer.html#a30">getErrorHandler</a> () const |
| <dl class="el"><dd><font size=-1><em>This method returns the installed error handler.</em> <a href="#a30">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a31">setErrorHandler</a> (<a class="el" href="classErrorHandlerType.html">ErrorHandlerType</a> *theErrorHandler) |
| <dl class="el"><dd><font size=-1><em>This method installs the user-specified error handler.</em> <a href="#a31">More...</a><em><br><br></em></font></dl><li>const XalanDOMChar* <a class="el" href="classXalanTransformer.html#a32">getExternalSchemaLocation</a> () const |
| <dl class="el"><dd><font size=-1><em>This method returns the location for an external schema document for parsing.</em> <a href="#a32">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a33">setExternalSchemaLocation</a> (const XalanDOMChar *location) |
| <dl class="el"><dd><font size=-1><em>This method sets the location for an external schema document for parsing.</em> <a href="#a33">More...</a><em><br><br></em></font></dl><li>const XalanDOMChar* <a class="el" href="classXalanTransformer.html#a34">getExternalNoNamespaceSchemaLocation</a> () const |
| <dl class="el"><dd><font size=-1><em>This method returns the location for an external schema document for parsing.</em> <a href="#a34">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a35">setExternalNoNamespaceSchemaLocation</a> (const XalanDOMChar *location) |
| <dl class="el"><dd><font size=-1><em>This method sets the location for an external schema document for parsing.</em> <a href="#a35">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTransformer.html#a36">getPoolAllTextNodes</a> () const |
| <dl class="el"><dd><font size=-1><em>This member functions gets the flag to determine of a default parsed source tree will pool the values of all of the text nodes in the XML document.</em> <a href="#a36">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a37">setPoolAllTextNodes</a> (bool fPool) |
| <dl class="el"><dd><font size=-1><em>This member functions sets the flag to determine of a default parsed source tree will pool the values of all of the text nodes in the XML document.</em> <a href="#a37">More...</a><em><br><br></em></font></dl><li><a class="el" href="classProblemListener.html">ProblemListener</a>* <a class="el" href="classXalanTransformer.html#a38">getProblemListener</a> () const |
| <dl class="el"><dd><font size=-1><em>This method returns the installed <a class="el" href="classProblemListener.html">ProblemListener</a> instance.</em> <a href="#a38">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a39">setProblemListener</a> (<a class="el" href="classProblemListener.html">ProblemListener</a> *theProblemListener) |
| <dl class="el"><dd><font size=-1><em>This method installs the user-specified <a class="el" href="classProblemListener.html">ProblemListener</a> instance.</em> <a href="#a39">More...</a><em><br><br></em></font></dl><li>const char* <a class="el" href="classXalanTransformer.html#a40">getLastError</a> () const |
| <dl class="el"><dd><font size=-1><em>Returns the last error that occurred as a result of calling transform.</em> <a href="#a40">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>& <a class="el" href="classXalanTransformer.html#a41">getOutputEncoding</a> () const |
| <dl class="el"><dd><font size=-1><em>Get the current output encoding, if any.</em> <a href="#a41">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a42">setOutputEncoding</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theEncoding) |
| <dl class="el"><dd><font size=-1><em>Set the current output encoding.</em> <a href="#a42">More...</a><em><br><br></em></font></dl><li>int <a class="el" href="classXalanTransformer.html#a43">getIndent</a> () const |
| <dl class="el"><dd><font size=-1><em>Get the current number of spaces to indent.</em> <a href="#a43">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a44">setIndent</a> (int indentAmount) |
| <dl class="el"><dd><font size=-1><em>Set the current number of spaces to indent.</em> <a href="#a44">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanTransformer.html#s14">eEscapeURLs</a> <a class="el" href="classXalanTransformer.html#a45">getEscapeURLs</a> () const |
| <dl class="el"><dd><font size=-1><em>Get the value for run-time escaping of URLs.</em> <a href="#a45">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a46">setEscapeURLs</a> (<a class="el" href="classXalanTransformer.html#s14">eEscapeURLs</a> value) |
| <dl class="el"><dd><font size=-1><em>Set the value for run-time escaping of URLs.</em> <a href="#a46">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanTransformer.html#s15">eOmitMETATag</a> <a class="el" href="classXalanTransformer.html#a47">getOmitMETATag</a> () const |
| <dl class="el"><dd><font size=-1><em>Get the value for run-time omission of the META tag.</em> <a href="#a47">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a48">setOmitMETATag</a> (<a class="el" href="classXalanTransformer.html#s15">eOmitMETATag</a> value) |
| <dl class="el"><dd><font size=-1><em>Get the value for run-time omission of the META tag.</em> <a href="#a48">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#a49">setWarningStream</a> (<a class="el" href="classXalanTransformer.html#s0">StreamType</a> *theStream) |
| <dl class="el"><dd><font size=-1><em>Set the ostream instance for reporting warnings and messages.</em> <a href="#a49">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanTransformer.html#s0">StreamType</a>* <a class="el" href="classXalanTransformer.html#a50">getWarningStream</a> () const |
| <dl class="el"><dd><font size=-1><em>Get the current warning stream ostream instance.</em> <a href="#a50">More...</a><em><br><br></em></font></dl></ul> |
| <h2>Static Public Methods</h2> |
| <ul> |
| <li>void <a class="el" href="classXalanTransformer.html#d0">initialize</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager=XalanMemMgrs::getDefaultXercesMemMgr()) |
| <dl class="el"><dd><font size=-1><em>Initialize Xalan.</em> <a href="#d0">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#d1">terminate</a> () |
| <dl class="el"><dd><font size=-1><em>Terminate Xalan.</em> <a href="#d1">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#d2">ICUCleanUp</a> () |
| <dl class="el"><dd><font size=-1><em>Clean up the ICU, if ICU integration is enabled.</em> <a href="#d2">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#d3">ICUStartUp</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager=XalanMemMgrs::getDefaultXercesMemMgr()) |
| <li>void <a class="el" href="classXalanTransformer.html#d4">installExternalFunctionGlobal</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theNamespace, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &functionName, const <a class="el" href="classFunction.html">Function</a> &function) |
| <dl class="el"><dd><font size=-1><em>Install an external function in the global space.</em> <a href="#d4">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTransformer.html#d5">uninstallExternalFunctionGlobal</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theNamespace, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &functionName) |
| <dl class="el"><dd><font size=-1><em>Uninstall an external global function.</em> <a href="#d5">More...</a><em><br><br></em></font></dl></ul> |
| <hr><a name="_details"></a><h2>Detailed Description</h2> |
| This is a simple C++ interface for some common usage patterns. |
| <p> |
| It's the user's responsibility to call initialize and terminate for Xerces and Xalan before creating and after deleting any XalanTransformer instances. |
| <p> |
| <hr><h2>Member Typedef Documentation</h2> |
| <a name="s1" doxytag="XalanTransformer::CompiledStylesheetPtrVectorType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XalanVector< const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> *> XalanTransformer::CompiledStylesheetPtrVectorType<const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a>*> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s5" doxytag="XalanTransformer::FunctionPairType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XALAN_STD_QUALIFIER pair< <a class="el" href="classXalanQNameByValue.html">XalanQNameByValue</a> *, <a class="el" href="classFunction.html">Function</a> *> XalanTransformer::FunctionPairType<<a class="el" href="classXalanQNameByValue.html">XalanQNameByValue</a>*, <a class="el" href="classFunction.html">Function</a>*> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s6" doxytag="XalanTransformer::FunctionParamPairVectorType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XalanVector< <a class="el" href="classXalanTransformer.html#s5">FunctionPairType</a> > XalanTransformer::FunctionParamPairVectorType<<a class="el" href="classXalanTransformer.html#s5">FunctionPairType</a>> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s3" doxytag="XalanTransformer::ParamPairType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XALAN_STD_QUALIFIER pair< <a class="el" href="classXalanDOMString.html">XalanDOMString</a> *, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> *> XalanTransformer::ParamPairType<<a class="el" href="classXalanDOMString.html">XalanDOMString</a>*, <a class="el" href="classXalanDOMString.html">XalanDOMString</a>*> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s4" doxytag="XalanTransformer::ParamPairVectorType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XalanVector< <a class="el" href="classXalanTransformer.html#s3">ParamPairType</a> > XalanTransformer::ParamPairVectorType<<a class="el" href="classXalanTransformer.html#s3">ParamPairType</a>> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s2" doxytag="XalanTransformer::ParsedSourcePtrVectorType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XalanVector< const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> *> XalanTransformer::ParsedSourcePtrVectorType<const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a>*> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s0" doxytag="XalanTransformer::StreamType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef std::ostream XalanTransformer::StreamType |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s7" doxytag="XalanTransformer::TraceListenerVectorType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XalanVector< <a class="el" href="classTraceListener.html">TraceListener</a> *> XalanTransformer::TraceListenerVectorType<<a class="el" href="classTraceListener.html">TraceListener</a>*> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <hr><h2>Member Enumeration Documentation</h2> |
| <a name="s14" doxytag="XalanTransformer::eEscapeURLs"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| enum XalanTransformer::eEscapeURLs |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Enums to determine whether or not run-time escaping of URLs has been set. |
| <p> |
| <dl compact><dt> |
| <b>Enumeration values:</b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><a name="s14s8" doxytag="eEscapeURLsDefault"></a><em>eEscapeURLsDefault</em> |
| </td><td> |
| </td></tr> |
| <tr><td valign=top><a name="s14s9" doxytag="eEscapeURLsNo"></a><em>eEscapeURLsNo</em> |
| </td><td> |
| </td></tr> |
| <tr><td valign=top><a name="s14s10" doxytag="eEscapeURLsYes"></a><em>eEscapeURLsYes</em> |
| </td><td> |
| </td></tr> |
| </table> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| <a name="s15" doxytag="XalanTransformer::eOmitMETATag"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| enum XalanTransformer::eOmitMETATag |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Enums to determine whether or not run-time omission of the META tag has been set. |
| <p> |
| Relevant only for HTML output <dl compact><dt> |
| <b>Enumeration values:</b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><a name="s15s11" doxytag="eOmitMETATagDefault"></a><em>eOmitMETATagDefault</em> |
| </td><td> |
| </td></tr> |
| <tr><td valign=top><a name="s15s12" doxytag="eOmitMETATagNo"></a><em>eOmitMETATagNo</em> |
| </td><td> |
| </td></tr> |
| <tr><td valign=top><a name="s15s13" doxytag="eOmitMETATagYes"></a><em>eOmitMETATagYes</em> |
| </td><td> |
| </td></tr> |
| </table> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| <hr><h2>Constructor & Destructor Documentation</h2> |
| <a name="a0" doxytag="XalanTransformer::XalanTransformer"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| XalanTransformer::XalanTransformer ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> & <em>theManager</em> = XalanMemMgrs::getDefaultXercesMemMgr() ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a1" doxytag="XalanTransformer::~XalanTransformer"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| XalanTransformer::~XalanTransformer ( |
| </b></td> |
| <td valign="bottom"><b> |
| )<code> [virtual]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <hr><h2>Member Function Documentation</h2> |
| <a name="d2" doxytag="XalanTransformer::ICUCleanUp"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::ICUCleanUp ( |
| </b></td> |
| <td valign="bottom"><b> |
| )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Clean up the ICU, if ICU integration is enabled. |
| <p> |
| This should be called only once per process after calling <a class="el" href="classXalanTransformer.html#d1">XalanTransformer::terminate</a>() and XMLPlatformUtils::Terminate. |
| <p> |
| This must only be done if the ICU will no longer be used by the process, since the ICU will no longer be in a usable state. See the ICU documentation for more details. |
| <p> |
| This call is not thread-safe, so you must serialize any calls to it, and you must track the initialization state, so you do not call it more than once. |
| <p> |
| This is handy when using leak-detection software, as all static data allocated by the ICU is freed. </td> |
| </tr> |
| </table> |
| <a name="d3" doxytag="XalanTransformer::ICUStartUp"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::ICUStartUp ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> & <em>theManager</em> = XalanMemMgrs::getDefaultXercesMemMgr() )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a23" doxytag="XalanTransformer::addTraceListener"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::addTraceListener ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classTraceListener.html">TraceListener</a> * <em>theTraceListener</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Add a <a class="el" href="classTraceListener.html">TraceListener</a> instance. |
| <p> |
| TraceListeners instances are preserved between calls to <a class="el" href="classXalanTransformer.html#a4">transform</a>(), so they will be called until they are removed.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theTraceListener</em> |
| </td><td> |
| The instance to add. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a13" doxytag="XalanTransformer::compileStylesheet"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::compileStylesheet ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theStylesheetSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> *& <em>theCompiledStylesheet</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Creates a compiled stylesheet. |
| <p> |
| The input source can be a file name, a stream or a root node. The XalanTransformer instance owns the <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> instance and will delete it when the XalanTransformer instance goes out of scope, or you explicitly call <a class="el" href="classXalanTransformer.html#a14">destroyStylesheet</a>(). You must not delete the instance yourself.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theStylesheetSource</em> |
| </td><td> |
| input source </td></tr> |
| <tr><td valign=top><em>theCompiledStylesheet</em> |
| </td><td> |
| a reference to a pointer to a XalanCompileStylesheet. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a17" doxytag="XalanTransformer::createDocumentBuilder"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanDocumentBuilder.html">XalanDocumentBuilder</a> * XalanTransformer::createDocumentBuilder ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>theURI</em> = <a class="el" href="classXalanDOMString.html">XalanDOMString</a>(XalanMemMgrs::getDummyMemMgr()) ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Create a document builder. |
| <p> |
| Using the document builder, you can construct a document using SAX2 interfaces. The XalanTransformer instance owns the document builder and will delete it when the XalanTransformer instance goes out of scope, or you explicitly call <a class="el" href="classXalanTransformer.html#a18">destroyDocumentBuilder</a>(). You must not delete the instance yourself.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theURI</em> |
| </td><td> |
| The base URI for the document instance. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| a pointer to a <a class="el" href="classXalanDocumentBuilder.html">XalanDocumentBuilder</a> instance or 0 for failure. </dl> </td> |
| </tr> |
| </table> |
| <a name="a18" doxytag="XalanTransformer::destroyDocumentBuilder"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::destroyDocumentBuilder ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classXalanDocumentBuilder.html">XalanDocumentBuilder</a> * <em>theDocumentBuilder</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destroy a document builder created by a previous call to <a class="el" href="classXalanTransformer.html#a17">createDocumentBuilder</a>(). |
| <p> |
| Passing a pointer that is not created by a call to <a class="el" href="classXalanTransformer.html#a17">createDocumentBuilder</a>() can result in undefined behavior.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theDocumentBuilder</em> |
| </td><td> |
| The document builder to destroy. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a16" doxytag="XalanTransformer::destroyParsedSource"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::destroyParsedSource ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> * <em>theParsedSource</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destroy a parsed source created by a previous call to <a class="el" href="classXalanTransformer.html#a15">parseSource</a>(). |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theParsedSource</em> |
| </td><td> |
| The <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> instance to destroy. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a14" doxytag="XalanTransformer::destroyStylesheet"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::destroyStylesheet ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> * <em>theStylesheet</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destroy a <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> instance created by a previous call to <a class="el" href="classXalanTransformer.html#a13">compileStylesheet</a>(). |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theStylesheet</em> |
| </td><td> |
| The instance to destroy. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a28" doxytag="XalanTransformer::getEntityResolver"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="XMLParserLiaison_8hpp.html#a1">EntityResolverType</a> * XalanTransformer::getEntityResolver ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method returns the installed entity resolver. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| The pointer to the installed entity resolver object. </dl> </td> |
| </tr> |
| </table> |
| <a name="a30" doxytag="XalanTransformer::getErrorHandler"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classErrorHandlerType.html">ErrorHandlerType</a> * XalanTransformer::getErrorHandler ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method returns the installed error handler. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| The pointer to the installed error handler object. </dl> </td> |
| </tr> |
| </table> |
| <a name="a45" doxytag="XalanTransformer::getEscapeURLs"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanTransformer.html#s14">eEscapeURLs</a> XalanTransformer::getEscapeURLs ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get the value for run-time escaping of URLs. |
| <p> |
| This can override the property specified by the stylesheet. The default behavior is to honor the property in the stylesheet. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| The value of the enum </dl> </td> |
| </tr> |
| </table> |
| <a name="a34" doxytag="XalanTransformer::getExternalNoNamespaceSchemaLocation"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| const XalanDOMChar * XalanTransformer::getExternalNoNamespaceSchemaLocation ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method returns the location for an external schema document for parsing. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| A string representing the location of the external schema document </dl> </td> |
| </tr> |
| </table> |
| <a name="a32" doxytag="XalanTransformer::getExternalSchemaLocation"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| const XalanDOMChar * XalanTransformer::getExternalSchemaLocation ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method returns the location for an external schema document for parsing. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| A string representing the location of the external schema document </dl> </td> |
| </tr> |
| </table> |
| <a name="a43" doxytag="XalanTransformer::getIndent"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::getIndent ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get the current number of spaces to indent. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| number of spaces </dl> </td> |
| </tr> |
| </table> |
| <a name="a40" doxytag="XalanTransformer::getLastError"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| const char * XalanTransformer::getLastError ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Returns the last error that occurred as a result of calling transform. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| error message const character pointer. </dl> </td> |
| </tr> |
| </table> |
| <a name="a3" doxytag="XalanTransformer::getMemoryManager"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| const <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> & XalanTransformer::getMemoryManager ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a2" doxytag="XalanTransformer::getMemoryManager"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> & XalanTransformer::getMemoryManager ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a47" doxytag="XalanTransformer::getOmitMETATag"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanTransformer.html#s15">eOmitMETATag</a> XalanTransformer::getOmitMETATag ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get the value for run-time omission of the META tag. |
| <p> |
| This can override the property specified by the stylesheet. The default behavior is to honor the property in the stylesheet. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| The value of the enum </dl> </td> |
| </tr> |
| </table> |
| <a name="a41" doxytag="XalanTransformer::getOutputEncoding"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & XalanTransformer::getOutputEncoding ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get the current output encoding, if any. |
| <p> |
| Note this is not the output encoding specified in a stylesheet. Rather, it can override that encoding, if the |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| A string containing the current encoding </dl> </td> |
| </tr> |
| </table> |
| <a name="a36" doxytag="XalanTransformer::getPoolAllTextNodes"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| bool XalanTransformer::getPoolAllTextNodes ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This member functions gets the flag to determine of a default parsed source tree will pool the values of all of the text nodes in the XML document. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| The boolean value for the flag. </dl> </td> |
| </tr> |
| </table> |
| <a name="a38" doxytag="XalanTransformer::getProblemListener"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classProblemListener.html">ProblemListener</a> * XalanTransformer::getProblemListener ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method returns the installed <a class="el" href="classProblemListener.html">ProblemListener</a> instance. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| The pointer to the installed <a class="el" href="classProblemListener.html">ProblemListener</a> instance. </dl> </td> |
| </tr> |
| </table> |
| <a name="a26" doxytag="XalanTransformer::getUseValidation"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| bool XalanTransformer::getUseValidation ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set a flag to indicate whether or not the source file(s) for the transformation will be validated. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>fValue</em> |
| </td><td> |
| the new value for the flag. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a50" doxytag="XalanTransformer::getWarningStream"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanTransformer.html#s0">StreamType</a> * XalanTransformer::getWarningStream ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) const |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get the current warning stream ostream instance. |
| <p> |
| <dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to the instance. Can be 0. </dl> </td> |
| </tr> |
| </table> |
| <a name="d0" doxytag="XalanTransformer::initialize"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::initialize ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> & <em>theManager</em> = XalanMemMgrs::getDefaultXercesMemMgr() )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Initialize Xalan. |
| <p> |
| Should be called only once per process before creating any instances of XalanTransformer. This call is not thread-safe, so you must serialize any calls to it, and you must track the initialization state, so you do not call it more than once. </td> |
| </tr> |
| </table> |
| <a name="a19" doxytag="XalanTransformer::installExternalFunction"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::installExternalFunction ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>theNamespace</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>functionName</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classFunction.html">Function</a> & <em>function</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Install an external function in the local space. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theNamespace</em> |
| </td><td> |
| The namespace for the functionl </td></tr> |
| <tr><td valign=top><em>functionName</em> |
| </td><td> |
| The name of the function. </td></tr> |
| <tr><td valign=top><em>function</em> |
| </td><td> |
| The function to install. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="d4" doxytag="XalanTransformer::installExternalFunctionGlobal"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::installExternalFunctionGlobal ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>theNamespace</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>functionName</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classFunction.html">Function</a> & <em>function</em> )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Install an external function in the global space. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theNamespace</em> |
| </td><td> |
| The namespace for the functionl </td></tr> |
| <tr><td valign=top><em>functionName</em> |
| </td><td> |
| The name of the function. </td></tr> |
| <tr><td valign=top><em>function</em> |
| </td><td> |
| The function to install. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a15" doxytag="XalanTransformer::parseSource"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::parseSource ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theInputSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> *& <em>theParsedSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| bool <em>useXercesDOM</em> = false ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Parse a source XML document. |
| <p> |
| The input source can be a file name, a stream or a root node. The XalanTransformer instance owns the <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> instance and will delete it when the XalanTransformer instance goes out of scope, or you explicitly call <a class="el" href="classXalanTransformer.html#a16">destroyParsedSource</a>(). You must not delete the instance yourself.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theInputSource</em> |
| </td><td> |
| input source </td></tr> |
| <tr><td valign=top><em>theParsedSource</em> |
| </td><td> |
| a reference to a pointer to a <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a>. </td></tr> |
| <tr><td valign=top><em>useXercesDOM</em> |
| </td><td> |
| input use default or xerces DOM source tree </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a24" doxytag="XalanTransformer::removeTraceListener"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| bool XalanTransformer::removeTraceListener ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classTraceListener.html">TraceListener</a> * <em>theTraceListener</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Remove a <a class="el" href="classTraceListener.html">TraceListener</a> instance. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theTraceListener</em> |
| </td><td> |
| The instance to remove. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| true if the instance was removed, false if not. </dl> </td> |
| </tr> |
| </table> |
| <a name="a25" doxytag="XalanTransformer::removeTraceListeners"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::removeTraceListeners ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Remove all <a class="el" href="classTraceListener.html">TraceListener</a> instances. |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a29" doxytag="XalanTransformer::setEntityResolver"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setEntityResolver ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="XMLParserLiaison_8hpp.html#a1">EntityResolverType</a> * <em>theResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method installs the user-specified entity resolver. |
| <p> |
| It allows applications to trap and redirect calls to external entities.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>handler</em> |
| </td><td> |
| A pointer to the entity resolver to be called when the parser comes across references to entities in the XML file. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a31" doxytag="XalanTransformer::setErrorHandler"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setErrorHandler ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classErrorHandlerType.html">ErrorHandlerType</a> * <em>theErrorHandler</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method installs the user-specified error handler. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>handler</em> |
| </td><td> |
| A pointer to the error handler to be called upon error. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a46" doxytag="XalanTransformer::setEscapeURLs"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setEscapeURLs ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classXalanTransformer.html#s14">eEscapeURLs</a> <em>value</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set the value for run-time escaping of URLs. |
| <p> |
| This can override the property specified by the stylesheet. The default behavior is to honor the property in the stylesheet.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>value</em> |
| </td><td> |
| The value of the enum </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a35" doxytag="XalanTransformer::setExternalNoNamespaceSchemaLocation"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setExternalNoNamespaceSchemaLocation ( |
| </b></td> |
| <td valign="bottom"><b> |
| const XalanDOMChar * <em>location</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method sets the location for an external schema document for parsing. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>location</em> |
| </td><td> |
| A string representing the location of the external schema document </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a33" doxytag="XalanTransformer::setExternalSchemaLocation"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setExternalSchemaLocation ( |
| </b></td> |
| <td valign="bottom"><b> |
| const XalanDOMChar * <em>location</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method sets the location for an external schema document for parsing. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>location</em> |
| </td><td> |
| A string representing the location of the external schema document </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a44" doxytag="XalanTransformer::setIndent"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setIndent ( |
| </b></td> |
| <td valign="bottom"><b> |
| int <em>indentAmount</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set the current number of spaces to indent. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>indentAmount</em> |
| </td><td> |
| The number of spaces to indent. Use -1 for the default amount. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a48" doxytag="XalanTransformer::setOmitMETATag"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setOmitMETATag ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classXalanTransformer.html#s15">eOmitMETATag</a> <em>value</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get the value for run-time omission of the META tag. |
| <p> |
| This can override the property specified by the stylesheet. The default behavior is to honor the property in the stylesheet.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>value</em> |
| </td><td> |
| The value of the enum </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a42" doxytag="XalanTransformer::setOutputEncoding"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setOutputEncoding ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>theEncoding</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set the current output encoding. |
| <p> |
| Note this will override the encoding specified in the stylesheet, if the encoding is available. However, it will not override any encoding specified by an <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> parameter to one of the <a class="el" href="classXalanTransformer.html#a4">transform</a>() member functions.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theEncoding</em> |
| </td><td> |
| The encoding to use. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a37" doxytag="XalanTransformer::setPoolAllTextNodes"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setPoolAllTextNodes ( |
| </b></td> |
| <td valign="bottom"><b> |
| bool <em>fPool</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This member functions sets the flag to determine of a default parsed source tree will pool the values of all of the text nodes in the XML document. |
| <p> |
| This can result in significant memory savings if there are lots of repeated values in text nodes.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>fPool</em> |
| </td><td> |
| The boolean value for the flag. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a39" doxytag="XalanTransformer::setProblemListener"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setProblemListener ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classProblemListener.html">ProblemListener</a> * <em>theProblemListener</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| This method installs the user-specified <a class="el" href="classProblemListener.html">ProblemListener</a> instance. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>handler</em> |
| </td><td> |
| A pointer to the <a class="el" href="classProblemListener.html">ProblemListener</a> to be called when a problem occurs. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a22" doxytag="XalanTransformer::setStylesheetParam"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setStylesheetParam ( |
| </b></td> |
| <td valign="bottom"><b> |
| const char * <em>key</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const char * <em>expression</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set a top-level stylesheet parameter. |
| <p> |
| This value can be evaluated via xsl:param-variable. These values are cleared after a call to <a class="el" href="classXalanTransformer.html#a4">transform</a>().<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>key</em> |
| </td><td> |
| name of the param </td></tr> |
| <tr><td valign=top><em>expression</em> |
| </td><td> |
| expression that will be evaluated </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a21" doxytag="XalanTransformer::setStylesheetParam"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setStylesheetParam ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>key</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>expression</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set a top-level stylesheet parameter. |
| <p> |
| This value can be evaluated via xsl:param-variable. These values are cleared after a call to <a class="el" href="classXalanTransformer.html#a4">transform</a>().<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>key</em> |
| </td><td> |
| name of the param </td></tr> |
| <tr><td valign=top><em>expression</em> |
| </td><td> |
| expression that will be evaluated </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a27" doxytag="XalanTransformer::setUseValidation"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setUseValidation ( |
| </b></td> |
| <td valign="bottom"><b> |
| bool <em>fValue</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set a flag to indicate whether or not the source file(s) for the transformation will be validated. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>fValue</em> |
| </td><td> |
| the new value for the flag. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a49" doxytag="XalanTransformer::setWarningStream"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::setWarningStream ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classXalanTransformer.html#s0">StreamType</a> * <em>theStream</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set the ostream instance for reporting warnings and messages. |
| <p> |
| The default is std::cerr. If set to 0, no warnings or messages will be written. If there is a user-installed <a class="el" href="classProblemListener.html">ProblemListener</a> instance, this is not used, as all such warnings and messages are handled by the user's <a class="el" href="classProblemListener.html">ProblemListener</a>.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theStream</em> |
| </td><td> |
| A pointer to the ostream instance. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="d1" doxytag="XalanTransformer::terminate"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::terminate ( |
| </b></td> |
| <td valign="bottom"><b> |
| )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Terminate Xalan. |
| <p> |
| Should be called only once per process after deleting all instances of XalanTransformer. This call is not thread-safe, so you must serialize any calls to it, and you must track the initialization state, so you do not call it more than once. |
| <p> |
| This is handy when using leak-detection software, as all static data allocated by Xalan is freed. </td> |
| </tr> |
| </table> |
| <a name="a12" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theInputSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| void * <em>theOutputHandle</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="XalanTransformerDefinitions_8hpp.html#a4">XalanOutputHandlerType</a> <em>theOutputHandler</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="XalanTransformerDefinitions_8hpp.html#a5">XalanFlushHandlerType</a> <em>theFlushHandler</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the stylesheet provided as a PI in the XML of the input source and write the transformation result to a callback function in pre-allocated blocks. |
| <p> |
| The input source can be a file name, a stream or a root node. Upon termination, Xalan releases any allocated memory. Data passed to the callback is not guaranteed to be null terminated. |
| <p> |
| <ul> |
| <li>See <a class="el" href="classXalanTransformerOutputStream.html">XalanTransformerOutputStream</a> and XalanOutputHandlerType for more details.</ul> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theInputSource</em> |
| </td><td> |
| input source </td></tr> |
| <tr><td valign=top><em>theOutputHandle</em> |
| </td><td> |
| void pointer passed through to callback. </td></tr> |
| <tr><td valign=top><em>theOutputHandler</em> |
| </td><td> |
| a user defined callback function. </td></tr> |
| <tr><td valign=top><em>theFlushHandler</em> |
| </td><td> |
| an optional user-defined callback function. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a11" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> & <em>theParsedSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> * <em>theCompiledStylesheet</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| void * <em>theOutputHandle</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="XalanTransformerDefinitions_8hpp.html#a4">XalanOutputHandlerType</a> <em>theOutputHandler</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="XalanTransformerDefinitions_8hpp.html#a5">XalanFlushHandlerType</a> <em>theFlushHandler</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the compiled stylesheet to the source and write the transformation result to a callback function in pre-allocated blocks. |
| <p> |
| The input source can be a file name, a stream or a root node. Upon termination, Xalan releases any allocated memory. Data passed to the callback is not guaranteed to be null terminated. |
| <p> |
| <ul> |
| <li>See <a class="el" href="classXalanTransformerOutputStream.html">XalanTransformerOutputStream</a> and XalanOutputHandlerType for more details.</ul> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theParsedSource</em> |
| </td><td> |
| Parsed source instance </td></tr> |
| <tr><td valign=top><em>theCompiledStylesheet</em> |
| </td><td> |
| pointer to a compiled stylesheet. Must not be null. </td></tr> |
| <tr><td valign=top><em>theOutputHandle</em> |
| </td><td> |
| void pointer passed through to callback. </td></tr> |
| <tr><td valign=top><em>theOutputHandler</em> |
| </td><td> |
| a user defined callback function. </td></tr> |
| <tr><td valign=top><em>theFlushHandler</em> |
| </td><td> |
| An optional user-defined callback function. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a10" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theInputSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> * <em>theCompiledStylesheet</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> & <em>theResultTarget</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the compiled stylesheet to the input source and write the transformation output to the target. |
| <p> |
| The input source and result target can be a file name, a stream or a root node.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theInputSource</em> |
| </td><td> |
| input source </td></tr> |
| <tr><td valign=top><em>theCompiledStylesheet</em> |
| </td><td> |
| pointer to a compiled stylesheet. Must not be null. </td></tr> |
| <tr><td valign=top><em>theResultTarget</em> |
| </td><td> |
| output source </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a9" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theInputSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theStylesheetSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| void * <em>theOutputHandle</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="XalanTransformerDefinitions_8hpp.html#a4">XalanOutputHandlerType</a> <em>theOutputHandler</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="XalanTransformerDefinitions_8hpp.html#a5">XalanFlushHandlerType</a> <em>theFlushHandler</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the stylesheet source to the input source and write the transformation result to a callback function in pre-allocated blocks. |
| <p> |
| The input source can be a file name, a stream or a root node. Upon termination, Xalan releases any allocated memory. Data passed to the callback is not guaranteed to be null terminated. |
| <p> |
| <ul> |
| <li>See <a class="el" href="classXalanTransformerOutputStream.html">XalanTransformerOutputStream</a> and XalanOutputHandlerType for more details.</ul> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theInputSource</em> |
| </td><td> |
| input source </td></tr> |
| <tr><td valign=top><em>theStylesheetSource</em> |
| </td><td> |
| stylesheet source </td></tr> |
| <tr><td valign=top><em>theOutputHandle</em> |
| </td><td> |
| void pointer passed through to callback. </td></tr> |
| <tr><td valign=top><em>theOutputHandler</em> |
| </td><td> |
| a user defined (callback) function. </td></tr> |
| <tr><td valign=top><em>theFlushHandler</em> |
| </td><td> |
| (optional) a user defined (callback) function. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a8" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theInputSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> & <em>theResultTarget</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the stylesheet provided as a PI in the XML of the input source and write the transformation output to the target. |
| <p> |
| The input source and result target can be a file name, a stream or a root node.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theInputSource</em> |
| </td><td> |
| input source </td></tr> |
| <tr><td valign=top><em>theResultTarget</em> |
| </td><td> |
| output source tree </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a7" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theInputSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theStylesheetSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> & <em>theResultTarget</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the stylesheet source to the input source and write the transformation output to the target. |
| <p> |
| The input source and result target can be a file name, a stream or a root node.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theInputSource</em> |
| </td><td> |
| input source </td></tr> |
| <tr><td valign=top><em>theStylesheetSource</em> |
| </td><td> |
| stylesheet source </td></tr> |
| <tr><td valign=top><em>theResultTarget</em> |
| </td><td> |
| output source </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a6" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> & <em>theParsedXML</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> & <em>theResultTarget</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the stylesheet provided as a PI in the XML of the parsed xml source and write the transformation output to the target. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theParsedXML</em> |
| </td><td> |
| the parsed input source </td></tr> |
| <tr><td valign=top><em>theResultTarget</em> |
| </td><td> |
| output source tree </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a5" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> & <em>theParsedXML</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanCompiledStylesheet.html">XalanCompiledStylesheet</a> * <em>theCompiledStylesheet</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> & <em>theResultTarget</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the compiled stylesheet to the parsed xml source and write the transformation output to the target. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theParsedXML</em> |
| </td><td> |
| the parsed input source </td></tr> |
| <tr><td valign=top><em>theCompiledStylesheet</em> |
| </td><td> |
| pointer to a compiled stylesheet. Must not be null. </td></tr> |
| <tr><td valign=top><em>theResultTarget</em> |
| </td><td> |
| output source </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a4" doxytag="XalanTransformer::transform"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| int XalanTransformer::transform ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanParsedSource.html">XalanParsedSource</a> & <em>theParsedXML</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTInputSource.html">XSLTInputSource</a> & <em>theStylesheetSource</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXSLTResultTarget.html">XSLTResultTarget</a> & <em>theResultTarget</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Transform will apply the stylesheet source to the parsed xml source and write the transformation output to the target. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theParsedXML</em> |
| </td><td> |
| the parsed input source </td></tr> |
| <tr><td valign=top><em>theStylesheetSource</em> |
| </td><td> |
| stylesheet source </td></tr> |
| <tr><td valign=top><em>theResultTarget</em> |
| </td><td> |
| output source </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| 0 for success </dl> </td> |
| </tr> |
| </table> |
| <a name="a20" doxytag="XalanTransformer::uninstallExternalFunction"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::uninstallExternalFunction ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>theNamespace</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>functionName</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Uninstall an external local function. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theNamespace</em> |
| </td><td> |
| The namespace for the function </td></tr> |
| <tr><td valign=top><em>functionName</em> |
| </td><td> |
| The name of the function. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="d5" doxytag="XalanTransformer::uninstallExternalFunctionGlobal"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanTransformer::uninstallExternalFunctionGlobal ( |
| </b></td> |
| <td valign="bottom"><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>theNamespace</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & <em>functionName</em> )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Uninstall an external global function. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theNamespace</em> |
| </td><td> |
| The namespace for the function </td></tr> |
| <tr><td valign=top><em>functionName</em> |
| </td><td> |
| The name of the function. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <hr><h2>Friends And Related Function Documentation</h2> |
| <a name="l0" doxytag="XalanTransformer::EnsureReset"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| class EnsureReset<code> [friend]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <hr>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="XalanTransformer_8hpp-source.html">XalanTransformer.hpp</a></ul> |
| <p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
|
| <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
|
| <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
|
| <A href="http://www.research.att.com/sw/tools/graphviz/">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="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
|
| <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.10</B><BR>
|
| Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
|
| </TD>
|
| </TR>
|
| <TR>
|
| <TD WIDTH="100%">
|
| <P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
|
| </TD>
|
| </TR>
|
| </TABLE>
|