blob: 1af0769e3933a08f865ee955e597be8dba85aa71 [file] [log] [blame]
<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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>XPathProcessorImpl Class Reference</h1>The XPathProcessorImpl class responsibilities include tokenizing and parsing the <a class="el" href="classXPath.html">XPath</a> expression, and acting as a general interface to XPaths.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="XPathProcessorImpl_8hpp-source.html">XPathProcessorImpl.hpp</a>&gt;</code>
<p>
Inheritance diagram for XPathProcessorImpl:<p><center><img src="classXPathProcessorImpl__inherit__graph.gif" border="0" usemap="#XPathProcessorImpl_inherit_map" alt="Inheritance graph"></center>
<map name="XPathProcessorImpl_inherit_map">
<area href="classXPathProcessor.html" shape="rect" coords="19,42,130,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XPathProcessorImpl:<p><center><img src="classXPathProcessorImpl__coll__graph.gif" border="0" usemap="#XPathProcessorImpl_coll_map" alt="Collaboration graph"></center>
<map name="XPathProcessorImpl_coll_map">
<area href="classXPathProcessor.html" shape="rect" coords="385,32,497,8">
<area href="classPrefixResolver.html" shape="rect" coords="390,84,491,60">
<area href="classXalanMap.html" shape="rect" coords="268,146,614,122">
<area href="classXalanDOMString.html" shape="rect" coords="18,342,136,318">
<area href="classXPath.html" shape="rect" coords="414,374,468,350">
<area href="classXPathConstructionContext.html" shape="rect" coords="357,429,525,405">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXPathProcessorImpl-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef <a class="el" href="classXalanMap.html">XalanMap</a>&lt;<a class="el" href="classXalanDOMString.html">XalanDOMString</a>,<br>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>*&gt; <a class="el" href="classXPathProcessorImpl.html#s0">StringToStringMapType</a>
<li>typedef XalanVector&lt;bool&gt; <a class="el" href="classXPathProcessorImpl.html#s1">BoolVectorType</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXPathProcessorImpl.html#a0">XPathProcessorImpl</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager XALAN_DEFAULT_MEMMGR)
<li>virtual <a class="el" href="classXPathProcessorImpl.html#a1">~XPathProcessorImpl</a> ()
<li>virtual void <a class="el" href="classXPathProcessorImpl.html#a2">initXPath</a> (<a class="el" href="classXPath.html">XPath</a> &amp;pathObj, <a class="el" href="classXPathConstructionContext.html">XPathConstructionContext</a> &amp;constructionContext, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;expression, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;resolver, const <a class="el" href="classXPathProcessor.html#s0">LocatorType</a> *locator=0, bool allowVariableReferences=true, bool allowKeyFunction=true)
<dl class="el"><dd><font size=-1><em>Given a string, make an <a class="el" href="classXPath.html">XPath</a> object, in order that a parse doesn't have to be done each time the expression is executed.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXPathProcessorImpl.html#a3">initMatchPattern</a> (<a class="el" href="classXPath.html">XPath</a> &amp;pathObj, <a class="el" href="classXPathConstructionContext.html">XPathConstructionContext</a> &amp;constructionContext, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;expression, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;resolver, const <a class="el" href="classXPathProcessor.html#s0">LocatorType</a> *locator=0, bool allowVariableReferences=true, bool allowKeyFunction=true)
<dl class="el"><dd><font size=-1><em>Given a string, create an XSLT Match Pattern object.</em> <a href="#a3">More...</a><em><br><br></em></font></dl></ul>
<h2>Static Public Methods</h2>
<ul>
<li>XPathProcessorImpl* <a class="el" href="classXPathProcessorImpl.html#d0">create</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The XPathProcessorImpl class responsibilities include tokenizing and parsing the <a class="el" href="classXPath.html">XPath</a> expression, and acting as a general interface to XPaths.
<p>
<hr><h2>Member Typedef Documentation</h2>
<a name="s1" doxytag="XPathProcessorImpl::BoolVectorType"></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&lt; bool &gt; XPathProcessorImpl::BoolVectorType&lt;bool&gt;
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="s0" doxytag="XPathProcessorImpl::StringToStringMapType"></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 <a class="el" href="classXalanMap.html">XalanMap</a>&lt; <a class="el" href="classXalanDOMString.html">XalanDOMString</a>, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> *&gt; XPathProcessorImpl::StringToStringMapType&lt;<a class="el" href="classXalanDOMString.html">XalanDOMString</a>, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>*&gt;
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XPathProcessorImpl::XPathProcessorImpl"></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>
XPathProcessorImpl::XPathProcessorImpl (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager <em>XALAN_DEFAULT_MEMMGR</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="XPathProcessorImpl::~XPathProcessorImpl"></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>
XPathProcessorImpl::~XPathProcessorImpl (
</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>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="d0" doxytag="XPathProcessorImpl::create"></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>
XPathProcessorImpl * XPathProcessorImpl::create (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a3" doxytag="XPathProcessorImpl::initMatchPattern"></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 XPathProcessorImpl::initMatchPattern (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXPath.html">XPath</a> &amp; <em>pathObj</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXPathConstructionContext.html">XPathConstructionContext</a> &amp; <em>constructionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>expression</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp; <em>resolver</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXPathProcessor.html#s0">LocatorType</a> * <em>locator</em> = 0,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>allowVariableReferences</em> = true,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>allowKeyFunction</em> = true&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given a string, create an XSLT Match Pattern object.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pathObj</em>
&nbsp;</td><td>
<a class="el" href="classXPath.html">XPath</a> object to be initialized </td></tr>
<tr><td valign=top><em>constructionContext</em>
&nbsp;</td><td>
The construction context </td></tr>
<tr><td valign=top><em>expression</em>
&nbsp;</td><td>
expression that will be evaluated </td></tr>
<tr><td valign=top><em>resolver</em>
&nbsp;</td><td>
prefix resolver to use </td></tr>
<tr><td valign=top><em>locator</em>
&nbsp;</td><td>
the LocatorType to use for error report. May be null </td></tr>
<tr><td valign=top><em>allowVariableReferences</em>
&nbsp;</td><td>
If true, variable references are allowed. </td></tr>
<tr><td valign=top><em>allowKeyFunction</em>
&nbsp;</td><td>
If true, calls to the key() function are allowed. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXPathProcessor.html#a3">XPathProcessor</a>. </td>
</tr>
</table>
<a name="a2" doxytag="XPathProcessorImpl::initXPath"></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 XPathProcessorImpl::initXPath (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXPath.html">XPath</a> &amp; <em>pathObj</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXPathConstructionContext.html">XPathConstructionContext</a> &amp; <em>constructionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>expression</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp; <em>resolver</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXPathProcessor.html#s0">LocatorType</a> * <em>locator</em> = 0,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>allowVariableReferences</em> = true,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>allowKeyFunction</em> = true&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given a string, make an <a class="el" href="classXPath.html">XPath</a> object, in order that a parse doesn't have to be done each time the expression is executed.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pathObj</em>
&nbsp;</td><td>
<a class="el" href="classXPath.html">XPath</a> object to be initialized </td></tr>
<tr><td valign=top><em>constructionContext</em>
&nbsp;</td><td>
The construction context </td></tr>
<tr><td valign=top><em>expression</em>
&nbsp;</td><td>
expression that will be evaluated </td></tr>
<tr><td valign=top><em>resolver</em>
&nbsp;</td><td>
prefix resolver to use </td></tr>
<tr><td valign=top><em>locator</em>
&nbsp;</td><td>
the LocatorType to use for error report. May be null </td></tr>
<tr><td valign=top><em>allowVariableReferences</em>
&nbsp;</td><td>
If true, variable references are allowed. </td></tr>
<tr><td valign=top><em>allowKeyFunction</em>
&nbsp;</td><td>
If true, calls to the key() function are allowed. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXPathProcessor.html#a2">XPathProcessor</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XPathProcessorImpl_8hpp-source.html">XPathProcessorImpl.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 &copy; 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>