<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSL Transformer Version 1.1</h3> </BODY> <!-- Generated by Doxygen 1.2.0 on Thu Feb 15 10:50:16 2001 --> <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>XPathEnvSupport Class Reference</h1><code>#include <<a class="el" href="XPathEnvSupport.hpp-source.html">XPathEnvSupport.hpp</a>></code> <p> Inheritance diagram for XPathEnvSupport<p><center><img src="class_xpathenvsupport_inherit_graph.gif" border="0" usemap="#XPathEnvSupport_inherit_map" alt="Inheritance graph"></center> <map name="XPathEnvSupport_inherit_map"> <area href="class_xpathenvsupportdefault.html" shape="rect" coords="0,133,149,151"> <area href="class_xsltprocessorenvsupport.html" shape="rect" coords="173,133,336,151"> <area href="class_resettable.html" shape="rect" coords="129,-1,199,18"> <area href="class_xsltprocessorenvsupportdefault.html" shape="rect" coords="155,199,355,218"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XPathEnvSupport:<p><center><img src="class_xpathenvsupport_coll_graph.gif" border="0" usemap="#XPathEnvSupport_coll_map" alt="Collaboration graph"></center> <map name="XPathEnvSupport_coll_map"> <area href="class_resettable.html" shape="rect" coords="20,0,89,18"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_xpathenvsupport-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef Function::XObjectArgVectorType <a class="el" href="class_xpathenvsupport.html#s0">XObjectArgVectorType</a> <li>enum <a class="el" href="class_xpathenvsupport.html#s9">eSource</a> { <br> <a class="el" href="class_xpathenvsupport.html#s1">eXMLParser</a> = 1, <br> <a class="el" href="class_xpathenvsupport.html#s2">eXSLTProcessor</a> = 2, <br> <a class="el" href="class_xpathenvsupport.html#s3">eXPATHParser</a> = 3, <br> <a class="el" href="class_xpathenvsupport.html#s4">eXPATHProcessor</a> = 4, <br> <a class="el" href="class_xpathenvsupport.html#s5">eDataSource</a> = 5 <br> } <li>enum <a class="el" href="class_xpathenvsupport.html#s10">eClassification</a> { <br> <a class="el" href="class_xpathenvsupport.html#s6">eMessage</a> = 0, <br> <a class="el" href="class_xpathenvsupport.html#s7">eWarning</a> = 1, <br> <a class="el" href="class_xpathenvsupport.html#s8">eError</a> = 2 <br> } </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_xpathenvsupport.html#a0">XPathEnvSupport</a> () <li>virtual <a class="el" href="class_xpathenvsupport.html#a1">~XPathEnvSupport</a> () <li>virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* <a class="el" href="class_xpathenvsupport.html#a2">parseXML</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& urlString, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& base) = 0 <dl class="el"><dd><font size=-1><em>Provides support for XML parsing service.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* <a class="el" href="class_xpathenvsupport.html#a3">getSourceDocument</a> (const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theURI) const = 0 <dl class="el"><dd><font size=-1><em>Get the source document for the given URI.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_xpathenvsupport.html#a4">setSourceDocument</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theURI, <a class="el" href="class_xalandocument.html">XalanDocument</a>* theDocument) = 0 <dl class="el"><dd><font size=-1><em>Associate a document with a given URI.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xalandomstring.html">XalanDOMString</a> <a class="el" href="class_xpathenvsupport.html#a5">findURIFromDoc</a> (const <a class="el" href="class_xalandocument.html">XalanDocument</a>* owner) const = 0 <dl class="el"><dd><font size=-1><em>Given a DOM Document, tell what URI was used to parse it.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* <a class="el" href="class_xpathenvsupport.html#a6">getDOMFactory</a> () const = 0 <dl class="el"><dd><font size=-1><em>Get a DOM document, primarily for creating result tree fragments.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupport.html#a7">elementAvailable</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& elementName) const = 0 <dl class="el"><dd><font size=-1><em>Determine if an external element is available.</em> <a href="#a7">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupport.html#a8">functionAvailable</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName) const = 0 <dl class="el"><dd><font size=-1><em>Determine if a function is available.</em> <a href="#a8">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpathenvsupport.html#a9">extFunction</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName, <a class="el" href="class_xalannode.html">XalanNode</a>* context, const <a class="el" href="class_xpathenvsupport.html#s0">XObjectArgVectorType</a>& argVec) const = 0 <dl class="el"><dd><font size=-1><em>Handle an extension function.</em> <a href="#a9">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xlocator.html">XLocator</a>* <a class="el" href="class_xpathenvsupport.html#a10">getXLocatorFromNode</a> (const <a class="el" href="class_xalannode.html">XalanNode</a>* node) const = 0 <dl class="el"><dd><font size=-1><em>Get an <a class="el" href="class_xlocator.html">XLocator</a> provider keyed by node.</em> <a href="#a10">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_xpathenvsupport.html#a11">associateXLocatorToNode</a> ( const <a class="el" href="class_xalannode.html">XalanNode</a>* node, <a class="el" href="class_xlocator.html">XLocator</a>* xlocator) = 0 <dl class="el"><dd><font size=-1><em>Associate an <a class="el" href="class_xlocator.html">XLocator</a> provider to a node.</em> <a href="#a11">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupport.html#a12">shouldStripSourceNode</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, const <a class="el" href="class_xalannode.html">XalanNode</a>& node) const = 0 <dl class="el"><dd><font size=-1><em>Tells, through the combination of the default-space attribute on xsl:stylesheet, xsl:strip-space, xsl:preserve-space, and the xml:space attribute, whether or not extra whitespace should be stripped from the node.</em> <a href="#a12">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupport.html#a13">problem</a> ( <a class="el" href="class_xpathenvsupport.html#s9">eSource</a> where, <a class="el" href="class_xpathenvsupport.html#s10">eClassification</a> classification, const <a class="el" href="class_xalannode.html">XalanNode</a>* styleNode, const <a class="el" href="class_xalannode.html">XalanNode</a>* sourceNode, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& msg, int lineNo, int charOffset) const = 0 <dl class="el"><dd><font size=-1><em><a class="el" href="class_function.html">Function</a> that is called when a problem event occurs.</em> <a href="#a13">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupport.html#a14">problem</a> ( <a class="el" href="class_xpathenvsupport.html#s9">eSource</a> where, <a class="el" href="class_xpathenvsupport.html#s10">eClassification</a> classification, const <a class="el" href="class_prefixresolver.html">PrefixResolver</a>* resolver, const <a class="el" href="class_xalannode.html">XalanNode</a>* sourceNode, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& msg, int lineNo, int charOffset) const = 0 <dl class="el"><dd><font size=-1><em><a class="el" href="class_function.html">Function</a> that is called when a problem event occurs.</em> <a href="#a14">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_xpathenvsupport.html#a15">reset</a> () = 0 <dl class="el"><dd><font size=-1><em>Reset the instance.<br><br></em></font></dl></ul> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="XPathEnvSupport::XObjectArgVectorType"></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 Function::XObjectArgVectorType XPathEnvSupport::XObjectArgVectorType </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="s10" doxytag="XPathEnvSupport::eClassification"></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 XPathEnvSupport::eClassification </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Enumeration values:</b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><a name="s6" doxytag="eMessage"></a><em>eMessage</em> </td><td> </td></tr> <tr><td valign=top><a name="s7" doxytag="eWarning"></a><em>eWarning</em> </td><td> </td></tr> <tr><td valign=top><a name="s8" doxytag="eError"></a><em>eError</em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <a name="s9" doxytag="XPathEnvSupport::eSource"></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 XPathEnvSupport::eSource </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Enumeration values:</b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><a name="s1" doxytag="eXMLParser"></a><em>eXMLParser</em> </td><td> </td></tr> <tr><td valign=top><a name="s2" doxytag="eXSLTProcessor"></a><em>eXSLTProcessor</em> </td><td> </td></tr> <tr><td valign=top><a name="s3" doxytag="eXPATHParser"></a><em>eXPATHParser</em> </td><td> </td></tr> <tr><td valign=top><a name="s4" doxytag="eXPATHProcessor"></a><em>eXPATHProcessor</em> </td><td> </td></tr> <tr><td valign=top><a name="s5" doxytag="eDataSource"></a><em>eDataSource</em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XPathEnvSupport::XPathEnvSupport"></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> XPathEnvSupport::XPathEnvSupport ( </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="a1" doxytag="XPathEnvSupport::~XPathEnvSupport"></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> virtual XPathEnvSupport::~XPathEnvSupport ( </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="a11" doxytag="XPathEnvSupport::associateXLocatorToNode"></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 XPathEnvSupport::associateXLocatorToNode ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalannode.html">XalanNode</a> * <em>node</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xlocator.html">XLocator</a> * <em>xlocator</em> )<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Associate an <a class="el" href="class_xlocator.html">XLocator</a> provider to a node. <p> This makes the association based on the root of the tree that is the node's parent.<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>node</em> </td><td> node for association </td></tr> <tr><td valign=top><em>xlocator</em> </td><td> locator to associate with node </td></tr> </table> </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a13">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a11">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a14">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a7" doxytag="XPathEnvSupport::elementAvailable"></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 XPathEnvSupport::elementAvailable ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theNamespace</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>elementName</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Determine if an external element is available. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theNamespace</em> </td><td> namespace for the element </td></tr> <tr><td valign=top><em>elementName</em> </td><td> name of extension element </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> whether the element is available or not </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a9">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a7">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a10">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a9" doxytag="XPathEnvSupport::extFunction"></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="class_xobjectptr.html">XObjectPtr</a> XPathEnvSupport::extFunction ( </b></td> <td valign="bottom"><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theNamespace</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>functionName</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>context</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xpathenvsupport.html#s0">XObjectArgVectorType</a> & <em>argVec</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Handle an extension function. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> <tr><td valign=top><em>theNamespace</em> </td><td> namespace of function </td></tr> <tr><td valign=top><em>functionName</em> </td><td> extension function name </td></tr> <tr><td valign=top><em>argVec</em> </td><td> vector of arguments to function </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to <a class="el" href="class_xobject.html">XObject</a> result </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a11">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a9">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a12">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a5" doxytag="XPathEnvSupport::findURIFromDoc"></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="class_xalandomstring.html">XalanDOMString</a> XPathEnvSupport::findURIFromDoc ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandocument.html">XalanDocument</a> * <em>owner</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Given a DOM Document, tell what URI was used to parse it. <p> Needed for relative resolution.<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>owner</em> </td><td> source document </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> document URI </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a7">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a5">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a8">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a8" doxytag="XPathEnvSupport::functionAvailable"></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 XPathEnvSupport::functionAvailable ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theNamespace</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>functionName</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Determine if a function is available. <p> For standard function availability, theNamespace should be an empty string.<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theNamespace</em> </td><td> namespace for the function </td></tr> <tr><td valign=top><em>functionName</em> </td><td> name of the function </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> whether the function is available or not </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a10">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a8">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a11">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a6" doxytag="XPathEnvSupport::getDOMFactory"></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="class_xalandocument.html">XalanDocument</a> * XPathEnvSupport::getDOMFactory ( </b></td> <td valign="bottom"><b> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a DOM document, primarily for creating result tree fragments. <p> <dl compact><dt> <b>Returns: </b><dd> DOM document </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a8">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a6">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a9">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a3" doxytag="XPathEnvSupport::getSourceDocument"></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="class_xalandocument.html">XalanDocument</a> * XPathEnvSupport::getSourceDocument ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theURI</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the source document for the given URI. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theURI</em> </td><td> document URI </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> source document </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a5">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a3">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a6">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a10" doxytag="XPathEnvSupport::getXLocatorFromNode"></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="class_xlocator.html">XLocator</a> * XPathEnvSupport::getXLocatorFromNode ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalannode.html">XalanNode</a> * <em>node</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get an <a class="el" href="class_xlocator.html">XLocator</a> provider keyed by node. <p> This gets the association based on the root of the tree that is the node's parent.<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>node</em> </td><td> node for locator </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to locator </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a12">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a10">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a13">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a2" doxytag="XPathEnvSupport::parseXML"></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="class_xalandocument.html">XalanDocument</a> * XPathEnvSupport::parseXML ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>urlString</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>base</em> )<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Provides support for XML parsing service. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>urlString</em> </td><td> location of the XML </td></tr> <tr><td valign=top><em>base</em> </td><td> base location for URI </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> parsed document </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a4">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a2">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a5">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a14" doxytag="XPathEnvSupport::problem"></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 XPathEnvSupport::problem ( </b></td> <td valign="bottom"><b> <a class="el" href="class_xpathenvsupport.html#s9">eSource</a> <em>where</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xpathenvsupport.html#s10">eClassification</a> <em>classification</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_prefixresolver.html">PrefixResolver</a> * <em>resolver</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalannode.html">XalanNode</a> * <em>sourceNode</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>msg</em>, </b></td> </tr> <tr> <td></td> <td><b> int <em>lineNo</em>, </b></td> </tr> <tr> <td></td> <td><b> int <em>charOffset</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <a class="el" href="class_function.html">Function</a> that is called when a problem event occurs. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>where</em> </td><td> either eXMLParser, eXSLTProcessor, eXPATHParser, eXPATHProcessor, or eDataSource. </td></tr> <tr><td valign=top><em>classification</em> </td><td> either eWarning, or eError </td></tr> <tr><td valign=top><em>resolver</em> </td><td> resolver for namespace resolution </td></tr> <tr><td valign=top><em>sourceNode</em> </td><td> source tree node where the problem occurred (may be null) </td></tr> <tr><td valign=top><em>msg</em> </td><td> string message explaining the problem. </td></tr> <tr><td valign=top><em>lineNo</em> </td><td> line number where the problem occurred, if it is known, else zero </td></tr> <tr><td valign=top><em>charOffset</em> </td><td> character offset where the problem, occurred if it is known, else zero </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if the return is an ERROR, in which case exception will be thrown. Otherwise the processor will continue to process. </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a16">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a14">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a17">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a13" doxytag="XPathEnvSupport::problem"></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 XPathEnvSupport::problem ( </b></td> <td valign="bottom"><b> <a class="el" href="class_xpathenvsupport.html#s9">eSource</a> <em>where</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xpathenvsupport.html#s10">eClassification</a> <em>classification</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalannode.html">XalanNode</a> * <em>styleNode</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalannode.html">XalanNode</a> * <em>sourceNode</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>msg</em>, </b></td> </tr> <tr> <td></td> <td><b> int <em>lineNo</em>, </b></td> </tr> <tr> <td></td> <td><b> int <em>charOffset</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <a class="el" href="class_function.html">Function</a> that is called when a problem event occurs. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>where</em> </td><td> either eXMLParser, eXSLTProcessor, eXPATHParser, eXPATHProcessor, or eDataSource. </td></tr> <tr><td valign=top><em>classification</em> </td><td> either eWarning, or eError </td></tr> <tr><td valign=top><em>styleNode</em> </td><td> style tree node where the problem occurred (may be null) </td></tr> <tr><td valign=top><em>sourceNode</em> </td><td> source tree node where the problem occurred (may be null) </td></tr> <tr><td valign=top><em>msg</em> </td><td> string message explaining the problem. </td></tr> <tr><td valign=top><em>lineNo</em> </td><td> line number where the problem occurred, if it is known, else zero </td></tr> <tr><td valign=top><em>charOffset</em> </td><td> character offset where the problem, occurred if it is known, else zero </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if the return is an ERROR, in which case exception will be thrown. Otherwise the processor will continue to process. </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a15">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a13">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a16">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a15" doxytag="XPathEnvSupport::reset"></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> virtual void XPathEnvSupport::reset ( </b></td> <td valign="bottom"><b> )<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Reset the instance. <p> <p> Reimplemented from <a class="el" href="class_resettable.html#a2">Resettable</a>. <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a17">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a15">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a18">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a4" doxytag="XPathEnvSupport::setSourceDocument"></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 XPathEnvSupport::setSourceDocument ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theURI</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalandocument.html">XalanDocument</a> * <em>theDocument</em> )<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Associate a document with a given URI. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theURI</em> </td><td> document URI </td></tr> <tr><td valign=top><em>theDocument</em> </td><td> source document </td></tr> </table> </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a6">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a4">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a7">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <a name="a12" doxytag="XPathEnvSupport::shouldStripSourceNode"></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 XPathEnvSupport::shouldStripSourceNode ( </b></td> <td valign="bottom"><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalannode.html">XalanNode</a> & <em>node</em> ) const<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Tells, through the combination of the default-space attribute on xsl:stylesheet, xsl:strip-space, xsl:preserve-space, and the xml:space attribute, whether or not extra whitespace should be stripped from the node. <p> Literal elements from template elements should <em>not</em> be tested with this function.<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>executionContext</em> </td><td> current execution context </td></tr> <tr><td valign=top><em>node</em> </td><td> text node from the source tree </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if the text node should be stripped of extra whitespace </dl> <p> Reimplemented in <a class="el" href="class_xpathenvsupportdefault.html#a14">XPathEnvSupportDefault</a>, <a class="el" href="class_xsltprocessorenvsupport.html#a12">XSLTProcessorEnvSupport</a>, and <a class="el" href="class_xsltprocessorenvsupportdefault.html#a15">XSLTProcessorEnvSupportDefault</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XPathEnvSupport.hpp-source.html">XPathEnvSupport.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="images/dot.gif" width="1"></TD></TR></TABLE> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%"> <TR> <TD WIDTH="80%" VALIGN="TOP"> <P ALIGN="CENTER"><B>Xalan-C++ XSL Transformer Version 1.1</B><BR> Copyright © 2000, 2001 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"> </TD> </TR> </TABLE>