<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:17 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>XPathEnvSupportDefault Class Reference</h1>Dummy class in order to make the <a class="el" href="class_xpath.html">XPath</a> object happy for diagnostic purposes. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="XPathEnvSupportDefault.hpp-source.html">XPathEnvSupportDefault.hpp</a>></code> <p> Inheritance diagram for XPathEnvSupportDefault<p><center><img src="class_xpathenvsupportdefault_inherit_graph.gif" border="0" usemap="#XPathEnvSupportDefault_inherit_map" alt="Inheritance graph"></center> <map name="XPathEnvSupportDefault_inherit_map"> <area href="class_xpathenvsupport.html" shape="rect" coords="20,67,129,85"> <area href="class_resettable.html" shape="rect" coords="40,0,109,19"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XPathEnvSupportDefault:<p><center><img src="class_xpathenvsupportdefault_coll_graph.gif" border="0" usemap="#XPathEnvSupportDefault_coll_map" alt="Collaboration graph"></center> <map name="XPathEnvSupportDefault_coll_map"> <area href="class_xpathenvsupport.html" shape="rect" coords="20,67,129,85"> <area href="class_resettable.html" shape="rect" coords="40,0,109,19"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_xpathenvsupportdefault-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef std::map<<a class="el" href="class_xalandomstring.html">XalanDOMString</a>,<br> <a class="el" href="class_xalandocument.html">XalanDocument</a>*> <a class="el" href="class_xpathenvsupportdefault.html#s0">SourceDocsTableType</a> <li>typedef std::map<<a class="el" href="class_xalandomstring.html">XalanDOMString</a>,<br> <a class="el" href="class_function.html">Function</a>*> <a class="el" href="class_xpathenvsupportdefault.html#s1">FunctionTableType</a> <li>typedef std::map<<a class="el" href="class_xalandomstring.html">XalanDOMString</a>,<br> <a class="el" href="class_xpathenvsupportdefault.html#s1">FunctionTableType</a>> <a class="el" href="class_xpathenvsupportdefault.html#s2">NamespaceFunctionTablesType</a> </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_xpathenvsupportdefault.html#a0">XPathEnvSupportDefault</a> () <li>virtual <a class="el" href="class_xpathenvsupportdefault.html#a1">~XPathEnvSupportDefault</a> () <li>virtual void <a class="el" href="class_xpathenvsupportdefault.html#a2">installExternalFunctionLocal</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName, const <a class="el" href="class_function.html">Function</a>& function) <dl class="el"><dd><font size=-1><em>Install an external function in the local space.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_xpathenvsupportdefault.html#a3">uninstallExternalFunctionLocal</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName) <dl class="el"><dd><font size=-1><em>Uninstall an external function from the local space.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* <a class="el" href="class_xpathenvsupportdefault.html#a4">parseXML</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& urlString, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& base) <dl class="el"><dd><font size=-1><em>Provides support for XML parsing service.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* <a class="el" href="class_xpathenvsupportdefault.html#a5">getSourceDocument</a> (const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theURI) const <dl class="el"><dd><font size=-1><em>Get the source document for the given URI.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_xpathenvsupportdefault.html#a6">setSourceDocument</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theURI, <a class="el" href="class_xalandocument.html">XalanDocument</a>* theDocument) <dl class="el"><dd><font size=-1><em>Associate a document with a given URI.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xalandomstring.html">XalanDOMString</a> <a class="el" href="class_xpathenvsupportdefault.html#a7">findURIFromDoc</a> (const <a class="el" href="class_xalandocument.html">XalanDocument</a>* owner) const <dl class="el"><dd><font size=-1><em>Given a DOM Document, tell what URI was used to parse it.</em> <a href="#a7">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* <a class="el" href="class_xpathenvsupportdefault.html#a8">getDOMFactory</a> () const <dl class="el"><dd><font size=-1><em>Get a DOM document, primarily for creating result tree fragments.</em> <a href="#a8">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupportdefault.html#a9">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 <dl class="el"><dd><font size=-1><em>Determine if an external element is available.</em> <a href="#a9">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupportdefault.html#a10">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 <dl class="el"><dd><font size=-1><em>Determine if a function is available.</em> <a href="#a10">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xpathenvsupportdefault.html#a11">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 <dl class="el"><dd><font size=-1><em>Handle an extension function.</em> <a href="#a11">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="class_xlocator.html">XLocator</a>* <a class="el" href="class_xpathenvsupportdefault.html#a12">getXLocatorFromNode</a> (const <a class="el" href="class_xalannode.html">XalanNode</a>* node) const <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="#a12">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_xpathenvsupportdefault.html#a13">associateXLocatorToNode</a> ( const <a class="el" href="class_xalannode.html">XalanNode</a>* node, <a class="el" href="class_xlocator.html">XLocator</a>* xlocator) <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="#a13">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupportdefault.html#a14">shouldStripSourceNode</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, const <a class="el" href="class_xalannode.html">XalanNode</a>& node) const <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="#a14">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupportdefault.html#a15">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 <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="#a15">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="class_xpathenvsupportdefault.html#a16">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 <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="#a16">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="class_xpathenvsupportdefault.html#a17">reset</a> () <dl class="el"><dd><font size=-1><em>Reset the instance.<br><br></em></font></dl></ul> <h2>Static Public Methods</h2> <ul> <li>void <a class="el" href="class_xpathenvsupportdefault.html#d0">initialize</a> () <dl class="el"><dd><font size=-1><em>Perform initialization of statics -- must be called before any processing occurs.</em> <a href="#d0">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="class_xpathenvsupportdefault.html#d1">terminate</a> () <dl class="el"><dd><font size=-1><em>Perform termination of statics.</em> <a href="#d1">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="class_xpathenvsupportdefault.html#d2">installExternalFunctionGlobal</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName, const <a class="el" href="class_function.html">Function</a>& function) <dl class="el"><dd><font size=-1><em>Install an external function in the global space.</em> <a href="#d2">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="class_xpathenvsupportdefault.html#d3">uninstallExternalFunctionGlobal</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName) <dl class="el"><dd><font size=-1><em>Uninstall an external function from the global space.</em> <a href="#d3">More...</a><em><br><br></em></font></dl></ul> <h2>Protected Methods</h2> <ul> <li>virtual <a class="el" href="class_function.html">Function</a>* <a class="el" href="class_xpathenvsupportdefault.html#b0">findFunction</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespace, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& functionName) const <dl class="el"><dd><font size=-1><em>Find an external function.</em> <a href="#b0">More...</a><em><br><br></em></font></dl></ul> <hr><a name="_details"></a><h2>Detailed Description</h2> Dummy class in order to make the <a class="el" href="class_xpath.html">XPath</a> object happy for diagnostic purposes. <p> <p> <hr><h2>Member Typedef Documentation</h2> <a name="s1" doxytag="XPathEnvSupportDefault::FunctionTableType"></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::map<<a class="el" href="class_xalandomstring.html">XalanDOMString</a>, <a class="el" href="class_function.html">Function</a>*> XPathEnvSupportDefault::FunctionTableType </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="XPathEnvSupportDefault::NamespaceFunctionTablesType"></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::map<<a class="el" href="class_xalandomstring.html">XalanDOMString</a>, <a class="el" href="class_xpathenvsupportdefault.html#s1">FunctionTableType</a>> XPathEnvSupportDefault::NamespaceFunctionTablesType </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="XPathEnvSupportDefault::SourceDocsTableType"></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::map<<a class="el" href="class_xalandomstring.html">XalanDOMString</a>, <a class="el" href="class_xalandocument.html">XalanDocument</a>*> XPathEnvSupportDefault::SourceDocsTableType </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XPathEnvSupportDefault::XPathEnvSupportDefault"></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> XPathEnvSupportDefault::XPathEnvSupportDefault ( </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="XPathEnvSupportDefault::~XPathEnvSupportDefault"></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 XPathEnvSupportDefault::~XPathEnvSupportDefault ( </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="a13" doxytag="XPathEnvSupportDefault::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> virtual void XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a11">XPathEnvSupport</a>. </td> </tr> </table> <a name="a9" doxytag="XPathEnvSupportDefault::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> virtual bool XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a7">XPathEnvSupport</a>. </td> </tr> </table> <a name="a11" doxytag="XPathEnvSupportDefault::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> virtual <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a9">XPathEnvSupport</a>. </td> </tr> </table> <a name="b0" doxytag="XPathEnvSupportDefault::findFunction"></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_function.html">Function</a> * XPathEnvSupportDefault::findFunction ( </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> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Find an external 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><dl compact><dt> <b>Returns: </b><dd> a pointer to the function if found, or 0 if not found. </dl> </td> </tr> </table> <a name="a7" doxytag="XPathEnvSupportDefault::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> virtual <a class="el" href="class_xalandomstring.html">XalanDOMString</a> XPathEnvSupportDefault::findURIFromDoc ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandocument.html">XalanDocument</a> * <em>owner</em> ) const<code> [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 from <a class="el" href="class_xpathenvsupport.html#a5">XPathEnvSupport</a>. </td> </tr> </table> <a name="a10" doxytag="XPathEnvSupportDefault::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> virtual bool XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a8">XPathEnvSupport</a>. </td> </tr> </table> <a name="a8" doxytag="XPathEnvSupportDefault::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> virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* XPathEnvSupportDefault::getDOMFactory ( </b></td> <td valign="bottom"><b> ) const<code> [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 from <a class="el" href="class_xpathenvsupport.html#a6">XPathEnvSupport</a>. </td> </tr> </table> <a name="a5" doxytag="XPathEnvSupportDefault::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> virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* XPathEnvSupportDefault::getSourceDocument ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theURI</em> ) const<code> [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 from <a class="el" href="class_xpathenvsupport.html#a3">XPathEnvSupport</a>. </td> </tr> </table> <a name="a12" doxytag="XPathEnvSupportDefault::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> virtual <a class="el" href="class_xlocator.html">XLocator</a>* XPathEnvSupportDefault::getXLocatorFromNode ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalannode.html">XalanNode</a> * <em>node</em> ) const<code> [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 from <a class="el" href="class_xpathenvsupport.html#a10">XPathEnvSupport</a>. </td> </tr> </table> <a name="d0" doxytag="XPathEnvSupportDefault::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 XPathEnvSupportDefault::initialize ( </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> Perform initialization of statics -- must be called before any processing occurs. <p> See class <a class="el" href="class_xpathinit.html">XPathInit</a>. </td> </tr> </table> <a name="d2" doxytag="XPathEnvSupportDefault::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 XPathEnvSupportDefault::installExternalFunctionGlobal ( </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>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_function.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="a2" doxytag="XPathEnvSupportDefault::installExternalFunctionLocal"></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 XPathEnvSupportDefault::installExternalFunctionLocal ( </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>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_function.html">Function</a> & <em>function</em> )<code> [virtual]</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 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="a4" doxytag="XPathEnvSupportDefault::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> virtual <a class="el" href="class_xalandocument.html">XalanDocument</a>* XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a2">XPathEnvSupport</a>. </td> </tr> </table> <a name="a16" doxytag="XPathEnvSupportDefault::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> virtual bool XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a14">XPathEnvSupport</a>. </td> </tr> </table> <a name="a15" doxytag="XPathEnvSupportDefault::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> virtual bool XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a13">XPathEnvSupport</a>. </td> </tr> </table> <a name="a17" doxytag="XPathEnvSupportDefault::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 XPathEnvSupportDefault::reset ( </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> Reset the instance. <p> <p> Reimplemented from <a class="el" href="class_xpathenvsupport.html#a15">XPathEnvSupport</a>. </td> </tr> </table> <a name="a6" doxytag="XPathEnvSupportDefault::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> virtual void XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a4">XPathEnvSupport</a>. </td> </tr> </table> <a name="a14" doxytag="XPathEnvSupportDefault::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> virtual bool XPathEnvSupportDefault::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> [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 from <a class="el" href="class_xpathenvsupport.html#a12">XPathEnvSupport</a>. </td> </tr> </table> <a name="d1" doxytag="XPathEnvSupportDefault::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 XPathEnvSupportDefault::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> Perform termination of statics. <p> See class <a class="el" href="class_xpathinit.html">XPathInit</a>. </td> </tr> </table> <a name="d3" doxytag="XPathEnvSupportDefault::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 XPathEnvSupportDefault::uninstallExternalFunctionGlobal ( </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> )<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 function from 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> </table> </dl> </td> </tr> </table> <a name="a3" doxytag="XPathEnvSupportDefault::uninstallExternalFunctionLocal"></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 XPathEnvSupportDefault::uninstallExternalFunctionLocal ( </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> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Uninstall an external function from 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> </table> </dl> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XPathEnvSupportDefault.hpp-source.html">XPathEnvSupportDefault.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>