blob: f759ee2374cad8731844f4c8f934a2e6aa5b1977 [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>XSLTProcessorEnvSupportDefault.hpp</h1><a href="XSLTProcessorEnvSupportDefault_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
00002 <font class="comment"> * Copyright 1999-2004 The Apache Software Foundation.</font>
00003 <font class="comment"> *</font>
00004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font>
00005 <font class="comment"> * you may not use this file except in compliance with the License.</font>
00006 <font class="comment"> * You may obtain a copy of the License at</font>
00007 <font class="comment"> *</font>
00008 <font class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</font>
00009 <font class="comment"> *</font>
00010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font>
00011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font>
00012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font>
00013 <font class="comment"> * See the License for the specific language governing permissions and</font>
00014 <font class="comment"> * limitations under the License.</font>
00015 <font class="comment"> */</font>
00016 <font class="preprocessor">#if !defined(XSLTPROCESSORENVSUPPORTDEFAULT_HEADER_GUARD_1357924680)</font>
<a name="l00017"></a><a class="code" href="XSLTProcessorEnvSupportDefault_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XSLTPROCESSORENVSUPPORTDEFAULT_HEADER_GUARD_1357924680</font>
00018 <font class="preprocessor"></font>
00019
00020
00021 <font class="comment">// Base include file. Must be first.</font>
00022 <font class="preprocessor">#include &lt;<a class="code" href="XSLTDefinitions_8hpp.html">xalanc/XSLT/XSLTDefinitions.hpp</a>&gt;</font>
00023
00024
00025
00026 <font class="comment">// Base class header file...</font>
00027 <font class="preprocessor">#include &lt;<a class="code" href="XSLTProcessorEnvSupport_8hpp.html">xalanc/XSLT/XSLTProcessorEnvSupport.hpp</a>&gt;</font>
00028
00029
00030
00031 <font class="preprocessor">#include &lt;<a class="code" href="XPathEnvSupportDefault_8hpp.html">xalanc/XPath/XPathEnvSupportDefault.hpp</a>&gt;</font>
00032
00033
00034
00035 XALAN_CPP_NAMESPACE_BEGIN
00036
00037
00038
<a name="l00039"></a><a class="code" href="XSLTProcessorEnvSupportDefault_8hpp.html#a1">00039</a> <font class="keyword">class </font><a class="code" href="classXSLTProcessor.html">XSLTProcessor</a>;
00040
00041
00042
<a name="l00043"></a><a class="code" href="classXSLTProcessorEnvSupportDefault.html">00043</a> <font class="keyword">class </font>XALAN_XSLT_EXPORT <a class="code" href="classXSLTProcessorEnvSupportDefault.html">XSLTProcessorEnvSupportDefault</a> : <font class="keyword">public</font> <a class="code" href="classXSLTProcessorEnvSupport.html">XSLTProcessorEnvSupport</a>
00044 {
00045 <font class="keyword">public</font>:
00046
00047 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#a0">XSLTProcessorEnvSupportDefault</a>( MemoryManagerType&amp; theManager,
00048 <a class="code" href="classXSLTProcessor.html">XSLTProcessor</a>* theProcessor = 0);
00049
00050 <font class="keyword">virtual</font>
00051 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#a1">~XSLTProcessorEnvSupportDefault</a>();
00052
00058 <font class="keywordtype">void</font>
<a name="l00059"></a><a class="code" href="classXSLTProcessorEnvSupportDefault.html#a2">00059</a> <a class="code" href="classXSLTProcessorEnvSupportDefault.html#a2">setProcessor</a>(<a class="code" href="classXSLTProcessor.html">XSLTProcessor</a>* theProcessor)<font class="keyword"></font>
00060 <font class="keyword"> </font>{
00061 m_processor = theProcessor;
00062 }
00063
00064
00072 <font class="keyword">static</font> <font class="keywordtype">void</font>
00073 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#d0">installExternalFunctionGlobal</a>(
00074 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNamespace,
00075 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; functionName,
00076 <font class="keyword">const</font> <a class="code" href="classFunction.html">Function</a>&amp; function);
00077
00084 <font class="keyword">static</font> <font class="keywordtype">void</font>
00085 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#d1">uninstallExternalFunctionGlobal</a>(
00086 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNamespace,
00087 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; functionName);
00088
00089 <font class="comment">// Interfaces to install and uninstall external functions in this instance.</font>
00090
00098 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00099 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#a3">installExternalFunctionLocal</a>(
00100 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNamespace,
00101 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; functionName,
00102 <font class="keyword">const</font> <a class="code" href="classFunction.html">Function</a>&amp; function);
00103
00110 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00111 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#a4">uninstallExternalFunctionLocal</a>(
00112 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNamespace,
00113 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; functionName);
00114
00115
00116 <font class="comment">// These interfaces are inherited from XSLTProcessorEnvSupport...</font>
00117
00118 <font class="keyword">virtual</font> <font class="keywordtype">bool</font>
00119 <a class="code" href="classXSLTProcessorEnvSupport.html#a2">problem</a>(
00120 eSource where,
00121 eClassification classification,
00122 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode,
00123 <font class="keyword">const</font> <a class="code" href="classElemTemplateElement.html">ElemTemplateElement</a>* styleNode,
00124 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; msg,
00125 <font class="keyword">const</font> XalanDOMChar* uri,
00126 <font class="keywordtype">int</font> lineNo,
00127 <font class="keywordtype">int</font> charOffset) <font class="keyword">const</font>;
00128
00129 <font class="comment">// These interfaces are inherited from XPathEnvSupport...</font>
00130
00131 <font class="keyword">virtual</font> <a class="code" href="classXalanDocument.html">XalanDocument</a>*
00132 <a class="code" href="classXSLTProcessorEnvSupport.html#a3">parseXML</a>(
00133 MemoryManagerType&amp; theManager,
00134 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; urlString,
00135 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; base);
00136
00137 <font class="keyword">virtual</font> <a class="code" href="classXalanDocument.html">XalanDocument</a>*
00138 <a class="code" href="classXSLTProcessorEnvSupport.html#a4">getSourceDocument</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theURI) <font class="keyword">const</font>;
00139
00140 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00141 <a class="code" href="classXSLTProcessorEnvSupport.html#a5">setSourceDocument</a>(
00142 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theURI,
00143 <a class="code" href="classXalanDocument.html">XalanDocument</a>* theDocument);
00144
00145 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp;
00146 <a class="code" href="classXSLTProcessorEnvSupport.html#a6">findURIFromDoc</a>(<font class="keyword">const</font> <a class="code" href="classXalanDocument.html">XalanDocument</a>* owner) <font class="keyword">const</font>;
00147
00148 <font class="keyword">virtual</font> <font class="keywordtype">bool</font>
00149 <a class="code" href="classXSLTProcessorEnvSupport.html#a7">elementAvailable</a>(
00150 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNamespace,
00151 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; elementName) <font class="keyword">const</font>;
00152
00153 <font class="keyword">virtual</font> <font class="keywordtype">bool</font>
00154 <a class="code" href="classXSLTProcessorEnvSupport.html#a8">functionAvailable</a>(
00155 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNamespace,
00156 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; functionName) <font class="keyword">const</font>;
00157
00158 <font class="keyword">virtual</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a>
00159 <a class="code" href="classXSLTProcessorEnvSupport.html#a9">extFunction</a>(
00160 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>&amp; executionContext,
00161 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; theNamespace,
00162 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; functionName,
00163 <a class="code" href="classXalanNode.html">XalanNode</a>* context,
00164 <font class="keyword">const</font> XObjectArgVectorType&amp; argVec,
00165 <font class="keyword">const</font> LocatorType* locator) <font class="keyword">const</font>;
00166
00167 <font class="keyword">virtual</font> <font class="keywordtype">bool</font>
00168 <a class="code" href="classXSLTProcessorEnvSupport.html#a2">problem</a>(
00169 eSource where,
00170 eClassification classification,
00171 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>* resolver,
00172 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode,
00173 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>&amp; msg,
00174 <font class="keyword">const</font> XalanDOMChar* uri,
00175 <font class="keywordtype">int</font> lineNo,
00176 <font class="keywordtype">int</font> charOffset) <font class="keyword">const</font>;
00177
00178 <font class="comment">// These interfaces are inherited from Resettable...</font>
00179
00180 <font class="keyword">virtual</font> <font class="keywordtype">void</font>
00181 <a class="code" href="classXSLTProcessorEnvSupport.html#a11">reset</a>();
00182
00183
00184 <font class="comment">// These are not implemented...</font>
00185 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#a0">XSLTProcessorEnvSupportDefault</a>(<font class="keyword">const</font> <a class="code" href="classXSLTProcessorEnvSupportDefault.html">XSLTProcessorEnvSupportDefault</a>&amp;);
00186
00187 <a class="code" href="classXSLTProcessorEnvSupportDefault.html">XSLTProcessorEnvSupportDefault</a>&amp;
00188 <a class="code" href="classXSLTProcessorEnvSupportDefault.html#a16">operator=</a>(<font class="keyword">const</font> <a class="code" href="classXSLTProcessorEnvSupportDefault.html">XSLTProcessorEnvSupportDefault</a>&amp;);
00189
00190 <font class="keywordtype">bool</font>
00191 <a class="code" href="ElemAttributeSet_8hpp.html#a1">operator==</a>(<font class="keyword">const</font> <a class="code" href="classXSLTProcessorEnvSupportDefault.html">XSLTProcessorEnvSupportDefault</a>&amp;) <font class="keyword">const</font>;
00192
00193
00194 <font class="comment">// Data members...</font>
00195
<a name="l00196"></a><a class="code" href="classXSLTProcessorEnvSupportDefault.html#m0">00196</a> XPathEnvSupportDefault m_defaultSupport;
00197
<a name="l00198"></a><a class="code" href="classXSLTProcessorEnvSupportDefault.html#m1">00198</a> <a class="code" href="classXSLTProcessor.html">XSLTProcessor</a>* m_processor;
00199 };
00200
00201
00202
00203 XALAN_CPP_NAMESPACE_END
00204
00205
00206
00207 <font class="preprocessor">#endif // XSLTPROCESSORENVSUPPORTDEFAULT_HEADER_GUARD_1357924680</font>
</font></pre></div><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>