| <HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
|
| <BODY>
|
| <h2 align="center">Xalan-C++ API Documentation</h2>
|
| <h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
|
| </BODY> |
| <!-- Generated by Doxygen 1.2.8.1 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> |
| <hr><h1>XSLTEngineImpl.hpp</h1><a href="XSLTEngineImpl_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(XALAN_XSLTENGINEIMPL_HEADER_GUARD)</font> |
| <a name="l00017"></a><a class="code" href="XSLTEngineImpl_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_XSLTENGINEIMPL_HEADER_GUARD</font> |
| 00018 <font class="preprocessor"></font> |
| 00019 |
| 00020 |
| 00021 <font class="comment">// Base include file. Must be first.</font> |
| 00022 <font class="preprocessor">#include "<a class="code" href="XSLTDefinitions_8hpp.html">XSLTDefinitions.hpp</a>"</font> |
| 00023 |
| 00024 |
| 00025 |
| 00026 <font class="comment">// Base class</font> |
| 00027 <font class="preprocessor">#include "<a class="code" href="XSLTProcessor_8hpp.html">XSLTProcessor.hpp</a>"</font> |
| 00028 |
| 00029 |
| 00030 |
| 00031 |
| 00032 <font class="comment">// Standard library headers</font> |
| 00033 <font class="preprocessor">#include <cassert></font> |
| 00034 |
| 00035 |
| 00036 |
| 00037 <font class="preprocessor">#include <<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>></font> |
| 00038 |
| 00039 |
| 00040 |
| 00041 <font class="preprocessor">#if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION)</font> |
| 00042 <font class="preprocessor"></font><font class="preprocessor">#include <<a class="code" href="XPathProcessor_8hpp.html">xalanc/XPath/XPathProcessor.hpp</a>></font> |
| 00043 <font class="preprocessor">#endif</font> |
| 00044 <font class="preprocessor"></font> |
| 00045 |
| 00046 |
| 00047 <font class="preprocessor">#include <<a class="code" href="XalanMemMgrAutoPtr_8hpp.html">xalanc/Include/XalanMemMgrAutoPtr.hpp</a>></font> |
| 00048 <font class="preprocessor">#include <<a class="code" href="XalanMap_8hpp.html">xalanc/Include/XalanMap.hpp</a>></font> |
| 00049 |
| 00050 |
| 00051 |
| 00052 <font class="preprocessor">#include <<a class="code" href="AttributeListImpl_8hpp.html">xalanc/PlatformSupport/AttributeListImpl.hpp</a>></font> |
| 00053 <font class="preprocessor">#include <<a class="code" href="DOMStringHelper_8hpp.html">xalanc/PlatformSupport/DOMStringHelper.hpp</a>></font> |
| 00054 <font class="preprocessor">#include <<a class="code" href="PrefixResolver_8hpp.html">xalanc/PlatformSupport/PrefixResolver.hpp</a>></font> |
| 00055 |
| 00056 |
| 00057 |
| 00058 <font class="preprocessor">#include <<a class="code" href="XalanNamespacesStack_8hpp.html">xalanc/DOMSupport/XalanNamespacesStack.hpp</a>></font> |
| 00059 |
| 00060 |
| 00061 |
| 00062 <font class="preprocessor">#include <<a class="code" href="Function_8hpp.html">xalanc/XPath/Function.hpp</a>></font> |
| 00063 |
| 00064 |
| 00065 |
| 00066 <font class="preprocessor">#include <<a class="code" href="XPathConstructionContextDefault_8hpp.html">xalanc/XPath/XPathConstructionContextDefault.hpp</a>></font> |
| 00067 |
| 00068 |
| 00069 |
| 00070 <font class="preprocessor">#include "<a class="code" href="OutputContextStack_8hpp.html">OutputContextStack.hpp</a>"</font> |
| 00071 <font class="preprocessor">#include "<a class="code" href="ProblemListenerDefault_8hpp.html">ProblemListenerDefault.hpp</a>"</font> |
| 00072 <font class="preprocessor">#include "<a class="code" href="ResultNamespacesStack_8hpp.html">ResultNamespacesStack.hpp</a>"</font> |
| 00073 <font class="preprocessor">#include "<a class="code" href="StylesheetExecutionContext_8hpp.html">StylesheetExecutionContext.hpp</a>"</font> |
| 00074 <font class="preprocessor">#include "<a class="code" href="XSLTProcessorException_8hpp.html">XSLTProcessorException.hpp</a>"</font> |
| 00075 |
| 00076 |
| 00077 |
| 00078 <a class="code" href="XSLTProcessor_8hpp.html#a1">XALAN_DECLARE_XERCES_CLASS</a>(InputSource) |
| 00079 <a class="code" href="XSLTProcessor_8hpp.html#a1">XALAN_DECLARE_XERCES_CLASS</a>(DocumentHandler) |
| 00080 |
| 00081 |
| 00082 |
| 00083 XALAN_CPP_NAMESPACE_BEGIN |
| 00084 |
| 00085 |
| 00086 |
| 00087 <font class="keyword">typedef</font> XERCES_CPP_NAMESPACE_QUALIFIER InputSource InputSourceType; |
| <a name="l00088"></a><a class="code" href="XSLTEngineImpl_8hpp.html#a1">00088</a> <font class="keyword">typedef</font> XERCES_CPP_NAMESPACE_QUALIFIER DocumentHandler DocumentHandlerType; |
| 00089 |
| 00090 |
| 00091 |
| 00092 <font class="comment">// Forward declarations...</font> |
| 00093 <font class="keyword">class </font><a class="code" href="classDOMSupport.html">DOMSupport</a>; |
| 00094 <font class="keyword">class </font><a class="code" href="classGenerateEvent.html">GenerateEvent</a>; |
| 00095 <font class="keyword">class </font><a class="code" href="classPrintWriter.html">PrintWriter</a>; |
| 00096 <font class="keyword">class </font><a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>; |
| 00097 <font class="keyword">class </font>StylesheetRoot; |
| 00098 <font class="keyword">class </font><a class="code" href="classXalanAttr.html">XalanAttr</a>; |
| 00099 <font class="keyword">class </font><a class="code" href="classXalanSourceTreeDocument.html">XalanSourceTreeDocument</a>; |
| 00100 <font class="keyword">class </font><a class="code" href="classXalanText.html">XalanText</a>; |
| 00101 <font class="keyword">class </font><a class="code" href="classXMLParserLiaison.html">XMLParserLiaison</a>; |
| 00102 <font class="keyword">class </font><a class="code" href="classXObject.html">XObject</a>; |
| 00103 <font class="keyword">class </font><a class="code" href="classXPathEnvSupport.html">XPathEnvSupport</a>; |
| 00104 <font class="keyword">class </font><a class="code" href="classXPathFactory.html">XPathFactory</a>; |
| 00105 <font class="keyword">class </font><a class="code" href="classXPathProcessor.html">XPathProcessor</a>; |
| 00106 <font class="keyword">class </font><a class="code" href="classXSLTResultTarget.html">XSLTResultTarget</a>; |
| 00107 |
| 00108 |
| 00109 |
| 00121 |
| <a name="l00122"></a><a class="code" href="classXSLTEngineImpl.html">00122</a> <font class="keyword">class </font>XALAN_XSLT_EXPORT <a class="code" href="classXSLTEngineImpl.html">XSLTEngineImpl</a> : <font class="keyword">public</font> <a class="code" href="classXSLTProcessor.html">XSLTProcessor</a>, <font class="keyword">public</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a> |
| 00123 { |
| 00124 <font class="keyword">public</font>: |
| 00125 |
| <a name="l00126"></a><a class="code" href="structXSLTEngineImpl_1_1LessXalanDOMStringPointers.html">00126</a> <font class="keyword">struct </font>LessXalanDOMStringPointers |
| 00127 { |
| 00128 <font class="keywordtype">bool</font> |
| <a name="l00129"></a><a class="code" href="structXSLTEngineImpl_1_1LessXalanDOMStringPointers.html#a0">00129</a> <a class="code" href="structXSLTEngineImpl_1_1LessXalanDOMStringPointers.html#a0">operator()</a>( |
| 00130 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* theLHS, |
| 00131 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* theRHS)<font class="keyword"> const</font> |
| 00132 <font class="keyword"> </font>{ |
| 00133 <font class="keywordflow">if</font> (theLHS == 0 && theRHS != 0) |
| 00134 { |
| 00135 <font class="keywordflow">return</font> <font class="keyword">true</font>; |
| 00136 } |
| 00137 <font class="keywordflow">else</font> <font class="keywordflow">if</font> (theRHS == 0) |
| 00138 { |
| 00139 <font class="keywordflow">return</font> <font class="keyword">false</font>; |
| 00140 } |
| 00141 <font class="keywordflow">else</font> |
| 00142 { |
| 00143 <font class="keywordflow">return</font> theLHS-><a class="code" href="classXalanDOMString.html#a64">compare</a>(*theRHS) < 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 00144 } |
| 00145 } |
| 00146 }; |
| 00147 |
| <a name="l00148"></a><a class="code" href="classXSLTEngineImpl.html#s0">00148</a> <font class="keyword">typedef</font> XalanVector<const LocatorType*> LocatorStack; |
| <a name="l00149"></a><a class="code" href="classXSLTEngineImpl.html#s1">00149</a> <font class="keyword">typedef</font> XalanVector<TraceListener*> TraceListenerVectorType; |
| <a name="l00150"></a><a class="code" href="classXSLTEngineImpl.html#s2">00150</a> <font class="keyword">typedef</font> XalanVector<const XalanDOMString*> XalanDOMStringPointerVectorType; |
| 00151 |
| <a name="l00152"></a><a class="code" href="classXSLTEngineImpl.html#s3">00152</a> <font class="keyword">typedef</font> XalanVector<bool> BoolVectorType; |
| 00153 |
| <a name="l00154"></a><a class="code" href="structXSLTEngineImpl_1_1FindStringPointerFunctor.html">00154</a> <font class="keyword">struct </font>FindStringPointerFunctor |
| 00155 { |
| <a name="l00156"></a><a class="code" href="structXSLTEngineImpl_1_1FindStringPointerFunctor.html#a0">00156</a> <a class="code" href="structXSLTEngineImpl_1_1FindStringPointerFunctor.html#a0">FindStringPointerFunctor</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString) : |
| 00157 m_string(theString) |
| 00158 { |
| 00159 } |
| 00160 |
| 00161 <font class="keywordtype">bool</font> |
| <a name="l00162"></a><a class="code" href="structXSLTEngineImpl_1_1FindStringPointerFunctor.html#a1">00162</a> <a class="code" href="structXSLTEngineImpl_1_1FindStringPointerFunctor.html#a1">operator()</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* theString)<font class="keyword"> const</font> |
| 00163 <font class="keyword"> </font>{ |
| 00164 assert(theString != 0); |
| 00165 |
| 00166 <font class="keywordflow">return</font> *theString == m_string; |
| 00167 } |
| 00168 |
| 00169 <font class="keyword">private</font>: |
| 00170 |
| 00171 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& m_string; |
| 00172 }; |
| 00173 |
| <a name="l00174"></a><a class="code" href="classXSLTEngineImpl.html#s4">00174</a> <font class="keyword">typedef</font> XalanMemMgrAutoPtr<XPathProcessor, true> XPathProcessorPtrType; |
| <a name="l00175"></a><a class="code" href="classXSLTEngineImpl.html#s5">00175</a> <font class="keyword">typedef</font> Function::XObjectArgVectorType XObjectArgVectorType; |
| <a name="l00176"></a><a class="code" href="classXSLTEngineImpl.html#s6">00176</a> <font class="keyword">typedef</font> StylesheetExecutionContext::ParamVectorType ParamVectorType; |
| <a name="l00177"></a><a class="code" href="classXSLTEngineImpl.html#s7">00177</a> <font class="keyword">typedef</font> XPathConstructionContext::GetAndReleaseCachedString <a class="code" href="classXPathConstructionContext_1_1GetAndReleaseCachedString.html">CCGetAndReleaseCachedString</a>; |
| <a name="l00178"></a><a class="code" href="classXSLTEngineImpl.html#s8">00178</a> <font class="keyword">typedef</font> <a class="code" href="classXPathExecutionContext_1_1GetAndReleaseCachedString.html">XPathExecutionContext::GetAndReleaseCachedString</a> <a class="code" href="classXPathExecutionContext_1_1GetAndReleaseCachedString.html">ECGetAndReleaseCachedString</a>; |
| 00179 |
| 00180 <font class="comment">// Public members</font> |
| 00181 <font class="comment">//---------------------------------------------------------------------</font> |
| 00182 |
| 00195 <a class="code" href="classXSLTEngineImpl.html#a0">XSLTEngineImpl</a>( |
| 00196 MemoryManagerType& theManager, |
| 00197 <a class="code" href="classXMLParserLiaison.html">XMLParserLiaison</a>& parserLiaison, |
| 00198 <a class="code" href="classXPathEnvSupport.html">XPathEnvSupport</a>& xpathEnvSupport, |
| 00199 <a class="code" href="classDOMSupport.html">DOMSupport</a>& domSupport, |
| 00200 <a class="code" href="classXObjectFactory.html">XObjectFactory</a>& xobjectFactory, |
| 00201 <a class="code" href="classXPathFactory.html">XPathFactory</a>& xpathFactory); |
| 00202 |
| 00203 <font class="keyword">virtual</font> |
| 00204 <a class="code" href="classXSLTEngineImpl.html#a1">~XSLTEngineImpl</a>(); |
| 00205 |
| 00206 MemoryManagerType& |
| <a name="l00207"></a><a class="code" href="classXSLTEngineImpl.html#a2">00207</a> <a class="code" href="classXSLTEngineImpl.html#a2">getMemoryManager</a>()<font class="keyword"></font> |
| 00208 <font class="keyword"> </font>{ |
| 00209 <font class="keywordflow">return</font> m_xpathConstructionContext.<a class="code" href="classXPathConstructionContext.html#a7">getMemoryManager</a>(); |
| 00210 } |
| 00211 |
| 00216 <font class="keyword">static</font> <font class="keywordtype">void</font> |
| 00217 <a class="code" href="classXSLTEngineImpl.html#d0">initialize</a>(MemoryManagerType& theManager); |
| 00218 |
| 00222 <font class="keyword">static</font> <font class="keywordtype">void</font> |
| 00223 <a class="code" href="classXSLTEngineImpl.html#d1">terminate</a>(); |
| 00224 |
| 00225 <font class="comment">// These methods are inherited from XSLTProcessor ...</font> |
| 00226 |
| 00227 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00228 <a class="code" href="classXSLTProcessor.html#a2">process</a>( |
| 00229 <font class="keyword">const</font> <a class="code" href="classXSLTInputSource.html">XSLTInputSource</a>& inputSource, |
| 00230 <font class="keyword">const</font> <a class="code" href="classXSLTInputSource.html">XSLTInputSource</a>& stylesheetSource, |
| 00231 <a class="code" href="classXSLTResultTarget.html">XSLTResultTarget</a>& outputTarget, |
| 00232 <a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>& constructionContext, |
| 00233 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>& executionContext); |
| 00234 |
| 00235 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00236 <a class="code" href="classXSLTProcessor.html#a2">process</a>( |
| 00237 <font class="keyword">const</font> <a class="code" href="classXSLTInputSource.html">XSLTInputSource</a>& inputSource, |
| 00238 <a class="code" href="classXSLTResultTarget.html">XSLTResultTarget</a>& outputTarget, |
| 00239 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>& executionContext); |
| 00240 |
| 00241 <font class="keyword">virtual</font> StylesheetRoot* |
| 00242 <a class="code" href="classXSLTProcessor.html#a4">processStylesheet</a>( |
| 00243 <font class="keyword">const</font> <a class="code" href="classXSLTInputSource.html">XSLTInputSource</a>& stylesheetSource, |
| 00244 <a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>& constructionContext); |
| 00245 |
| 00246 <font class="keyword">virtual</font> StylesheetRoot* |
| 00247 <a class="code" href="classXSLTProcessor.html#a4">processStylesheet</a>( |
| 00248 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& xsldocURLString, |
| 00249 <a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>& constructionContext); |
| 00250 |
| 00251 <font class="keyword">virtual</font> <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00252 <a class="code" href="classXSLTProcessor.html#a7">getSourceTreeFromInput</a>(<font class="keyword">const</font> <a class="code" href="classXSLTInputSource.html">XSLTInputSource</a>& inputSource); |
| 00253 |
| 00254 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00255 <a class="code" href="classXSLTProcessor.html#a11">resolveTopLevelParams</a>(<a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>& executionContext); |
| 00256 |
| 00257 <font class="keyword">virtual</font> <a class="code" href="classXMLParserLiaison.html">XMLParserLiaison</a>& |
| 00258 <a class="code" href="classXSLTProcessor.html#a12">getXMLParserLiaison</a>() <font class="keyword">const</font>; |
| 00259 |
| 00260 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00261 <a class="code" href="classXSLTProcessor.html#a13">getUniqueNamespaceValue</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theValue); |
| 00262 |
| 00263 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00264 <a class="code" href="classXSLTProcessor.html#a14">setStylesheetParam</a>( |
| 00265 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& key, |
| 00266 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& expression); |
| 00267 |
| 00268 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00269 <a class="code" href="classXSLTProcessor.html#a14">setStylesheetParam</a>( |
| 00270 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& key, |
| 00271 <a class="code" href="classXObjectPtr.html">XObjectPtr</a> value); |
| 00272 |
| 00273 <font class="keyword">virtual</font> <a class="code" href="classFormatterListener.html">FormatterListener</a>* |
| 00274 <a class="code" href="classXSLTProcessor.html#a16">getFormatterListener</a>() <font class="keyword">const</font>; |
| 00275 |
| 00276 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00277 <a class="code" href="classXSLTProcessor.html#a17">setFormatterListener</a>(<a class="code" href="classFormatterListener.html">FormatterListener</a>* flistener); |
| 00278 |
| 00279 <font class="comment">// Trace-related functions...</font> |
| 00280 |
| 00281 <font class="keyword">virtual</font> size_type |
| 00282 <a class="code" href="classXSLTProcessor.html#a18">getTraceListeners</a>() <font class="keyword">const</font>; |
| 00283 |
| 00284 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00285 <a class="code" href="classXSLTProcessor.html#a19">addTraceListener</a>(<a class="code" href="classTraceListener.html">TraceListener</a>* tl); |
| 00286 |
| 00287 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00288 <a class="code" href="classXSLTProcessor.html#a20">removeTraceListener</a>(<a class="code" href="classTraceListener.html">TraceListener</a>* tl); |
| 00289 |
| 00290 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00291 <a class="code" href="classXSLTProcessor.html#a21">fireGenerateEvent</a>(<font class="keyword">const</font> <a class="code" href="classGenerateEvent.html">GenerateEvent</a>& ge); |
| 00292 |
| 00293 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00294 <a class="code" href="classXSLTProcessor.html#a22">fireTraceEvent</a>(<font class="keyword">const</font> <a class="code" href="classTracerEvent.html">TracerEvent</a>& te); |
| 00295 |
| 00296 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00297 <a class="code" href="classXSLTProcessor.html#a23">fireSelectEvent</a>(<font class="keyword">const</font> <a class="code" href="classSelectionEvent.html">SelectionEvent</a>& se); |
| 00298 |
| 00299 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> |
| 00300 <a class="code" href="classXSLTProcessor.html#a24">getTraceSelects</a>() <font class="keyword">const</font>; |
| 00301 |
| 00302 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00303 <a class="code" href="classXSLTEngineImpl.html#a22">setTraceSelects</a>(<font class="keywordtype">bool</font> b); |
| 00304 |
| 00305 <font class="keywordtype">void</font> |
| 00306 <a class="code" href="classXSLTProcessor.html#a25">traceSelect</a>( |
| 00307 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>& executionContext, |
| 00308 <font class="keyword">const</font> <a class="code" href="classElemTemplateElement.html">ElemTemplateElement</a>& theTemplate, |
| 00309 <font class="keyword">const</font> <a class="code" href="classNodeRefListBase.html">NodeRefListBase</a>& nl, |
| 00310 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* xpath) <font class="keyword">const</font>; |
| 00311 |
| 00312 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00313 <a class="code" href="classXSLTProcessor.html#a26">setQuietConflictWarnings</a>(<font class="keywordtype">bool</font> b); |
| 00314 |
| 00315 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00316 <a class="code" href="classXSLTProcessor.html#a27">setDiagnosticsOutput</a>(<a class="code" href="classPrintWriter.html">PrintWriter</a>* pw); |
| 00317 |
| 00318 |
| 00319 <font class="comment">// Inherited from PrefixResolver...</font> |
| 00320 |
| 00329 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* |
| 00330 <a class="code" href="classPrefixResolver.html#a3">getNamespaceForPrefix</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& prefix) <font class="keyword">const</font>; |
| 00331 |
| 00337 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| 00338 <a class="code" href="classPrefixResolver.html#a4">getURI</a>() <font class="keyword">const</font>; |
| 00339 |
| 00351 <a class="code" href="classXalanDocument.html">XalanDocument</a>* |
| 00352 <a class="code" href="classXSLTEngineImpl.html#a28">parseXML</a>( |
| 00353 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& urlString, |
| 00354 DocumentHandlerType* docHandler, |
| 00355 <a class="code" href="classXalanDocument.html">XalanDocument</a>* docToRegister); |
| 00356 |
| 00368 <a class="code" href="classXalanDocument.html">XalanDocument</a>* |
| 00369 <a class="code" href="classXSLTEngineImpl.html#a28">parseXML</a>( |
| 00370 <font class="keyword">const</font> InputSourceType& inputSource, |
| 00371 DocumentHandlerType* docHandler, |
| 00372 <a class="code" href="classXalanDocument.html">XalanDocument</a>* docToRegister); |
| 00373 |
| 00386 Stylesheet* |
| 00387 <a class="code" href="classXSLTEngineImpl.html#a30">getStylesheetFromPIURL</a>( |
| 00388 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& xslURLString, |
| 00389 <a class="code" href="classXalanNode.html">XalanNode</a>& fragBase, |
| 00390 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& xmlBaseIdent, |
| 00391 <font class="keywordtype">bool</font> isRoot, |
| 00392 <a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>& constructionContext); |
| 00393 |
| 00397 <font class="keywordtype">void</font> |
| 00398 <a class="code" href="classXSLTEngineImpl.html#a31">flushPending</a>(); |
| 00399 |
| 00406 <font class="keywordtype">void</font> |
| <a name="l00407"></a><a class="code" href="classXSLTEngineImpl.html#a32">00407</a> <a class="code" href="classXSLTEngineImpl.html#a32">addResultNamespaceDecl</a>( |
| 00408 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& prefix, |
| 00409 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& namespaceVal)<font class="keyword"></font> |
| 00410 <font class="keyword"> </font>{ |
| 00411 <a class="code" href="classXSLTEngineImpl.html#a32">addResultNamespaceDecl</a>( |
| 00412 prefix, |
| 00413 namespaceVal.<a class="code" href="classXalanDOMString.html#a33">c_str</a>(), |
| 00414 namespaceVal.<a class="code" href="classXalanDOMString.html#a20">length</a>()); |
| 00415 } |
| 00416 |
| 00424 <font class="keywordtype">void</font> |
| <a name="l00425"></a><a class="code" href="classXSLTEngineImpl.html#a33">00425</a> <a class="code" href="classXSLTEngineImpl.html#a32">addResultNamespaceDecl</a>( |
| 00426 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& prefix, |
| 00427 <font class="keyword">const</font> XalanDOMChar* namespaceVal, |
| 00428 XalanDOMString::size_type len)<font class="keyword"></font> |
| 00429 <font class="keyword"> </font>{ |
| 00430 m_resultNamespacesStack.<a class="code" href="classXalanNamespacesStack.html#a2">addDeclaration</a>( |
| 00431 prefix, |
| 00432 namespaceVal, |
| 00433 len); |
| 00434 } |
| 00435 |
| 00446 <font class="keywordtype">void</font> |
| <a name="l00447"></a><a class="code" href="classXSLTEngineImpl.html#a34">00447</a> <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00448 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& attList, |
| 00449 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& aname, |
| 00450 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& value, |
| 00451 <font class="keywordtype">bool</font> fromCopy = <font class="keyword">false</font>, |
| 00452 <font class="keyword">const</font> LocatorType* locator = 0)<font class="keyword"></font> |
| 00453 <font class="keyword"> </font>{ |
| 00454 <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00455 attList, |
| 00456 aname, |
| 00457 value.<a class="code" href="classXalanDOMString.html#a33">c_str</a>(), |
| 00458 fromCopy, |
| 00459 locator); |
| 00460 } |
| 00461 |
| 00472 <font class="keywordtype">void</font> |
| <a name="l00473"></a><a class="code" href="classXSLTEngineImpl.html#a35">00473</a> <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00474 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& attList, |
| 00475 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& aname, |
| 00476 <font class="keyword">const</font> XalanDOMChar* value, |
| 00477 <font class="keywordtype">bool</font> fromCopy = <font class="keyword">false</font>, |
| 00478 <font class="keyword">const</font> LocatorType* locator = 0)<font class="keyword"></font> |
| 00479 <font class="keyword"> </font>{ |
| 00480 <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00481 attList, |
| 00482 aname, |
| 00483 value, |
| 00484 <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(value), |
| 00485 fromCopy, |
| 00486 locator); |
| 00487 } |
| 00488 |
| 00500 <font class="keywordtype">void</font> |
| 00501 <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00502 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& attList, |
| 00503 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& aname, |
| 00504 <font class="keyword">const</font> XalanDOMChar* value, |
| 00505 XalanDOMString::size_type theLength, |
| 00506 <font class="keywordtype">bool</font> fromCopy = <font class="keyword">false</font>, |
| 00507 <font class="keyword">const</font> LocatorType* locator = 0); |
| 00508 |
| 00518 <font class="keywordtype">void</font> |
| <a name="l00519"></a><a class="code" href="classXSLTEngineImpl.html#a37">00519</a> <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00520 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& aname, |
| 00521 <font class="keyword">const</font> XalanDOMChar* value, |
| 00522 <font class="keywordtype">bool</font> fromCopy = <font class="keyword">false</font>, |
| 00523 <font class="keyword">const</font> LocatorType* locator = 0)<font class="keyword"></font> |
| 00524 <font class="keyword"> </font>{ |
| 00525 assert(m_outputContextStack.<a class="code" href="classOutputContextStack.html#a15">empty</a>() == <font class="keyword">false</font>); |
| 00526 |
| 00527 <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00528 <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>(), |
| 00529 aname, |
| 00530 value, |
| 00531 fromCopy, |
| 00532 locator); |
| 00533 } |
| 00534 |
| 00544 <font class="keywordtype">void</font> |
| <a name="l00545"></a><a class="code" href="classXSLTEngineImpl.html#a38">00545</a> <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00546 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& aname, |
| 00547 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& value, |
| 00548 <font class="keywordtype">bool</font> fromCopy = <font class="keyword">false</font>, |
| 00549 <font class="keyword">const</font> LocatorType* locator = 0)<font class="keyword"></font> |
| 00550 <font class="keyword"> </font>{ |
| 00551 assert(m_outputContextStack.<a class="code" href="classOutputContextStack.html#a15">empty</a>() == <font class="keyword">false</font>); |
| 00552 |
| 00553 <a class="code" href="classXSLTEngineImpl.html#a34">addResultAttribute</a>( |
| 00554 <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>(), |
| 00555 aname, |
| 00556 value, |
| 00557 fromCopy, |
| 00558 locator); |
| 00559 } |
| 00560 |
| 00566 <font class="keywordtype">void</font> |
| 00567 <a class="code" href="classXSLTEngineImpl.html#a39">reportDuplicateNamespaceNodeError</a>( |
| 00568 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theName, |
| 00569 <font class="keyword">const</font> LocatorType* locator); |
| 00570 |
| 00571 <font class="keywordtype">void</font> |
| 00572 <a class="code" href="classXSLTEngineImpl.html#a40">setDocumentLocator</a>(<font class="keyword">const</font> LocatorType* locator); |
| 00573 |
| 00574 <font class="keywordtype">void</font> |
| 00575 <a class="code" href="classXSLTEngineImpl.html#a41">startDocument</a>(); |
| 00576 |
| 00577 <font class="keywordtype">void</font> |
| 00578 <a class="code" href="classXSLTEngineImpl.html#a42">endDocument</a>(); |
| 00579 |
| 00580 <font class="keywordtype">void</font> |
| 00581 <a class="code" href="classXSLTEngineImpl.html#a43">startElement</a>( |
| 00582 <font class="keyword">const</font> XalanDOMChar* name, |
| 00583 AttributeListType& atts); |
| 00584 |
| 00585 <font class="keywordtype">void</font> |
| 00586 <a class="code" href="classXSLTEngineImpl.html#a44">endElement</a>(<font class="keyword">const</font> XalanDOMChar* name); |
| 00587 |
| 00588 <font class="keywordtype">void</font> |
| 00589 <a class="code" href="classXSLTEngineImpl.html#a45">characters</a> ( |
| 00590 <font class="keyword">const</font> XalanDOMChar* ch, |
| 00591 XalanDOMString::size_type length); |
| 00592 |
| 00593 <font class="keywordtype">void</font> |
| 00594 <a class="code" href="classXSLTEngineImpl.html#a46">ignorableWhitespace</a>( |
| 00595 <font class="keyword">const</font> XalanDOMChar* ch, |
| 00596 XalanDOMString::size_type length); |
| 00597 |
| 00598 <font class="keywordtype">void</font> |
| 00599 <a class="code" href="classXSLTEngineImpl.html#a47">processingInstruction</a>( |
| 00600 <font class="keyword">const</font> XalanDOMChar* target, |
| 00601 <font class="keyword">const</font> XalanDOMChar* data); |
| 00602 |
| 00603 <font class="keywordtype">void</font> |
| 00604 <a class="code" href="classXSLTEngineImpl.html#a48">resetDocument</a>(); |
| 00605 |
| 00613 <font class="keywordtype">void</font> |
| 00614 <a class="code" href="classXSLTEngineImpl.html#a45">characters</a>( |
| 00615 <font class="keyword">const</font> XalanDOMChar* ch, |
| 00616 XalanDOMString::size_type start, |
| 00617 XalanDOMString::size_type length); |
| 00618 |
| 00624 <font class="keywordtype">void</font> |
| 00625 <a class="code" href="classXSLTEngineImpl.html#a45">characters</a>(<font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& node); |
| 00626 |
| 00632 <font class="keywordtype">void</font> |
| 00633 <a class="code" href="classXSLTEngineImpl.html#a45">characters</a>(<font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a>& xobject); |
| 00634 |
| 00641 <font class="keywordtype">void</font> |
| 00642 <a class="code" href="classXSLTEngineImpl.html#a43">startElement</a>(<font class="keyword">const</font> XalanDOMChar* name); |
| 00643 |
| 00653 <font class="keywordtype">void</font> |
| 00654 <a class="code" href="classXSLTEngineImpl.html#a53">charactersRaw</a>( |
| 00655 <font class="keyword">const</font> XalanDOMChar* ch, |
| 00656 XalanDOMString::size_type start, |
| 00657 XalanDOMString::size_type length); |
| 00658 |
| 00664 <font class="keywordtype">void</font> |
| 00665 <a class="code" href="classXSLTEngineImpl.html#a53">charactersRaw</a>(<font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& node); |
| 00666 |
| 00672 <font class="keywordtype">void</font> |
| 00673 <a class="code" href="classXSLTEngineImpl.html#a53">charactersRaw</a>(<font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a>& xobject); |
| 00674 |
| 00680 <font class="keywordtype">void</font> |
| 00681 <a class="code" href="classXSLTEngineImpl.html#a56">comment</a>(<font class="keyword">const</font> XalanDOMChar* data); |
| 00682 |
| 00689 <font class="keywordtype">void</font> |
| 00690 <a class="code" href="classXSLTEngineImpl.html#a57">entityReference</a>(<font class="keyword">const</font> XalanDOMChar* data); |
| 00691 |
| 00699 <font class="keywordtype">void</font> |
| 00700 <a class="code" href="classXSLTEngineImpl.html#a58">cdata</a>( |
| 00701 <font class="keyword">const</font> XalanDOMChar* ch, |
| 00702 XalanDOMString::size_type start, |
| 00703 XalanDOMString::size_type length); |
| 00704 |
| 00712 <font class="keywordtype">void</font> |
| 00713 <a class="code" href="classXSLTEngineImpl.html#a59">cloneToResultTree</a>( |
| 00714 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& node, |
| 00715 <font class="keywordtype">bool</font> cloneTextNodesOnly, |
| 00716 <font class="keyword">const</font> LocatorType* locator); |
| 00717 |
| 00728 <font class="keywordtype">void</font> |
| 00729 <a class="code" href="classXSLTEngineImpl.html#a59">cloneToResultTree</a>( |
| 00730 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& node, |
| 00731 XalanNode::NodeType nodeType, |
| 00732 <font class="keywordtype">bool</font> overrideStrip, |
| 00733 <font class="keywordtype">bool</font> shouldCloneAttributes, |
| 00734 <font class="keywordtype">bool</font> cloneTextNodesOnly, |
| 00735 <font class="keyword">const</font> LocatorType* locator); |
| 00736 |
| 00744 <font class="keywordtype">void</font> |
| 00745 <a class="code" href="classXSLTEngineImpl.html#a61">outputToResultTree</a>( |
| 00746 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>& value, |
| 00747 <font class="keywordtype">bool</font> outputTextNodesOnly, |
| 00748 <font class="keyword">const</font> LocatorType* locator); |
| 00749 |
| 00758 <font class="keywordtype">void</font> |
| <a name="l00759"></a><a class="code" href="classXSLTEngineImpl.html#a62">00759</a> <a class="code" href="classXSLTEngineImpl.html#a62">outputResultTreeFragment</a>( |
| 00760 <font class="keyword">const</font> <a class="code" href="classXObject.html">XObject</a>& theTree, |
| 00761 <font class="keywordtype">bool</font> outputTextNodesOnly, |
| 00762 <font class="keyword">const</font> LocatorType* locator)<font class="keyword"></font> |
| 00763 <font class="keyword"> </font>{ |
| 00764 <a class="code" href="classXSLTEngineImpl.html#a62">outputResultTreeFragment</a>(theTree.<a class="code" href="classXObject.html#a9">rtree</a>(), outputTextNodesOnly, locator); |
| 00765 } |
| 00766 |
| 00775 <font class="keywordtype">void</font> |
| 00776 <a class="code" href="classXSLTEngineImpl.html#a62">outputResultTreeFragment</a>( |
| 00777 <font class="keyword">const</font> <a class="code" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>& theTree, |
| 00778 <font class="keywordtype">bool</font> outputTextNodesOnly, |
| 00779 <font class="keyword">const</font> LocatorType* locator); |
| 00780 |
| 00786 <font class="keyword">virtual</font> <font class="keyword">const</font> StylesheetRoot* |
| 00787 <a class="code" href="classXSLTProcessor.html#a8">getStylesheetRoot</a>() <font class="keyword">const</font>; |
| 00788 |
| 00794 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00795 <a class="code" href="classXSLTProcessor.html#a9">setStylesheetRoot</a>(<font class="keyword">const</font> StylesheetRoot* theStylesheet); |
| 00796 |
| 00802 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00803 <a class="code" href="classXSLTProcessor.html#a10">setExecutionContext</a>(<a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>* theExecutionContext); |
| 00804 |
| 00811 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l00812"></a><a class="code" href="classXSLTEngineImpl.html#d2">00812</a> <a class="code" href="classXSLTEngineImpl.html#d2">getXSLNameSpaceURL</a>()<font class="keyword"></font> |
| 00813 <font class="keyword"> </font>{ |
| 00814 <font class="keywordflow">return</font> s_XSLNameSpaceURL; |
| 00815 } |
| 00816 |
| 00822 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l00823"></a><a class="code" href="classXSLTEngineImpl.html#d3">00823</a> <a class="code" href="classXSLTEngineImpl.html#d3">getXalanXSLNameSpaceURL</a>()<font class="keyword"></font> |
| 00824 <font class="keyword"> </font>{ |
| 00825 <font class="keywordflow">return</font> s_XalanNamespaceURL; |
| 00826 } |
| 00827 |
| 00833 <font class="keywordtype">bool</font> |
| <a name="l00834"></a><a class="code" href="classXSLTEngineImpl.html#a67">00834</a> <a class="code" href="classXSLTEngineImpl.html#a67">getQuietConflictWarnings</a>()<font class="keyword"> const</font> |
| 00835 <font class="keyword"> </font>{ |
| 00836 <font class="keywordflow">return</font> m_quietConflictWarnings; |
| 00837 } |
| 00838 |
| 00839 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00840 <a class="code" href="classXSLTProcessor.html#a28">message</a>( |
| 00841 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 00842 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode = 0, |
| 00843 <font class="keyword">const</font> <a class="code" href="classElemTemplateElement.html">ElemTemplateElement</a>* styleNode = 0) <font class="keyword">const</font>; |
| 00844 |
| 00845 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00846 <a class="code" href="classXSLTProcessor.html#a28">message</a>( |
| 00847 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 00848 <font class="keyword">const</font> LocatorType& locator, |
| 00849 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode = 0) <font class="keyword">const</font>; |
| 00850 |
| 00851 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00852 <a class="code" href="classXSLTProcessor.html#a30">warn</a>( |
| 00853 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 00854 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode = 0, |
| 00855 <font class="keyword">const</font> <a class="code" href="classElemTemplateElement.html">ElemTemplateElement</a>* styleNode = 0) <font class="keyword">const</font>; |
| 00856 |
| 00857 |
| 00858 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00859 <a class="code" href="classXSLTProcessor.html#a30">warn</a>( |
| 00860 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 00861 <font class="keyword">const</font> LocatorType& locator, |
| 00862 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode = 0) <font class="keyword">const</font>; |
| 00863 |
| 00864 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00865 <a class="code" href="classXSLTProcessor.html#a32">error</a>( |
| 00866 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 00867 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode = 0, |
| 00868 <font class="keyword">const</font> <a class="code" href="classElemTemplateElement.html">ElemTemplateElement</a>* styleNode = 0) <font class="keyword">const</font>; |
| 00869 |
| 00870 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00871 <a class="code" href="classXSLTProcessor.html#a32">error</a>( |
| 00872 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 00873 <font class="keyword">const</font> LocatorType& locator, |
| 00874 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode = 0) <font class="keyword">const</font>; |
| 00875 |
| 00876 <font class="keyword">public</font>: |
| 00877 |
| 00884 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* |
| 00885 <a class="code" href="classXSLTEngineImpl.html#a74">getResultNamespaceForPrefix</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& prefix) <font class="keyword">const</font>; |
| 00886 |
| 00893 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>* |
| 00894 <a class="code" href="classXSLTEngineImpl.html#a75">getResultPrefixForNamespace</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theNamespace) <font class="keyword">const</font>; |
| 00895 |
| 00904 <font class="keywordtype">bool</font> |
| 00905 <a class="code" href="classXSLTEngineImpl.html#a76">isPendingResultPrefix</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& thePrefix) <font class="keyword">const</font>; |
| 00906 |
| 00915 <font class="keywordtype">double</font> |
| 00916 <a class="code" href="classXSLTEngineImpl.html#a77">evalMatchPatternStr</a>( |
| 00917 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& str, |
| 00918 <a class="code" href="classXalanNode.html">XalanNode</a>* context, |
| 00919 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext); |
| 00920 |
| 00928 <font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* |
| 00929 <a class="code" href="classXSLTEngineImpl.html#a78">createMatchPattern</a>( |
| 00930 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& str, |
| 00931 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& resolver); |
| 00932 |
| 00939 <font class="keywordtype">void</font> |
| 00940 <a class="code" href="classXSLTEngineImpl.html#a79">returnXPath</a>(<font class="keyword">const</font> <a class="code" href="classXPath.html">XPath</a>* xpath); |
| 00941 |
| 00947 <font class="keywordtype">void</font> |
| 00948 <a class="code" href="classXSLTEngineImpl.html#a80">copyNamespaceAttributes</a>(<font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& src); |
| 00949 |
| 00957 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a> |
| 00958 <a class="code" href="classXSLTEngineImpl.html#a81">evalXPathStr</a>( |
| 00959 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& str, |
| 00960 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext); |
| 00961 |
| 00971 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a> |
| 00972 <a class="code" href="classXSLTEngineImpl.html#a81">evalXPathStr</a>( |
| 00973 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& str, |
| 00974 <a class="code" href="classXalanNode.html">XalanNode</a>* contextNode, |
| 00975 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& prefixResolver, |
| 00976 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext); |
| 00977 |
| 00987 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a> |
| 00988 <a class="code" href="classXSLTEngineImpl.html#a81">evalXPathStr</a>( |
| 00989 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& str, |
| 00990 <a class="code" href="classXalanNode.html">XalanNode</a>* contextNode, |
| 00991 <font class="keyword">const</font> <a class="code" href="classXalanElement.html">XalanElement</a>& prefixResolver, |
| 00992 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext); |
| 00993 |
| 01001 <font class="keywordtype">void</font> |
| 01002 <a class="code" href="classXSLTEngineImpl.html#a84">copyAttributeToTarget</a>( |
| 01003 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& attrName, |
| 01004 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& attrValue, |
| 01005 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& attrList); |
| 01006 |
| 01012 <a class="code" href="classXPathFactory.html">XPathFactory</a>& |
| <a name="l01013"></a><a class="code" href="classXSLTEngineImpl.html#a85">01013</a> <a class="code" href="classXSLTEngineImpl.html#a85">getXPathFactory</a>()<font class="keyword"></font> |
| 01014 <font class="keyword"> </font>{ |
| 01015 <font class="keywordflow">return</font> m_xpathFactory; |
| 01016 } |
| 01017 |
| 01023 <a class="code" href="classXPathProcessor.html">XPathProcessor</a>& |
| <a name="l01024"></a><a class="code" href="classXSLTEngineImpl.html#a86">01024</a> <a class="code" href="classXSLTEngineImpl.html#a86">getXPathProcessor</a>()<font class="keyword"></font> |
| 01025 <font class="keyword"> </font>{ |
| 01026 <font class="keywordflow">return</font> *m_xpathProcessor.get(); |
| 01027 } |
| 01028 |
| 01033 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 01034 <a class="code" href="classXSLTProcessor.html#a6">reset</a>(); |
| 01035 |
| 01041 <a class="code" href="classXPathEnvSupport.html">XPathEnvSupport</a>& |
| <a name="l01042"></a><a class="code" href="classXSLTEngineImpl.html#a88">01042</a> <a class="code" href="classXSLTEngineImpl.html#a88">getXPathEnvSupport</a>()<font class="keyword"></font> |
| 01043 <font class="keyword"> </font>{ |
| 01044 <font class="keywordflow">return</font> m_xpathEnvSupport; |
| 01045 } |
| 01046 |
| 01055 <font class="keywordtype">void</font> |
| <a name="l01056"></a><a class="code" href="classXSLTEngineImpl.html#a89">01056</a> <a class="code" href="classXSLTEngineImpl.html#a89">setProblemListener</a>(<a class="code" href="classProblemListener.html">ProblemListener</a>* l)<font class="keyword"></font> |
| 01057 <font class="keyword"> </font>{ |
| 01058 m_problemListener = l; |
| 01059 } |
| 01060 |
| 01069 <a class="code" href="classProblemListener.html">ProblemListener</a>* |
| <a name="l01070"></a><a class="code" href="classXSLTEngineImpl.html#a90">01070</a> <a class="code" href="classXSLTEngineImpl.html#a90">getProblemListener</a>()<font class="keyword"> const</font> |
| 01071 <font class="keyword"> </font>{ |
| 01072 <font class="keywordflow">return</font> m_problemListener; |
| 01073 } |
| 01074 |
| 01075 <font class="comment">/*</font> |
| 01076 <font class="comment"> * Push a new output context using the provided FormatterListener.</font> |
| 01077 <font class="comment"> *</font> |
| 01078 <font class="comment"> * @param A pointer to the FormatterListener instance for the new context.</font> |
| 01079 <font class="comment"> */</font> |
| 01080 <font class="keywordtype">void</font> |
| <a name="l01081"></a><a class="code" href="classXSLTEngineImpl.html#a91">01081</a> <a class="code" href="classXSLTEngineImpl.html#a91">pushOutputContext</a>(<a class="code" href="classFormatterListener.html">FormatterListener</a>* theListener)<font class="keyword"></font> |
| 01082 <font class="keyword"> </font>{ |
| 01083 m_outputContextStack.<a class="code" href="classOutputContextStack.html#a2">pushContext</a>(theListener); |
| 01084 } |
| 01085 |
| 01086 <font class="comment">/*</font> |
| 01087 <font class="comment"> * Pop the current output context.</font> |
| 01088 <font class="comment"> */</font> |
| 01089 <font class="keywordtype">void</font> |
| <a name="l01090"></a><a class="code" href="classXSLTEngineImpl.html#a92">01090</a> <a class="code" href="classXSLTEngineImpl.html#a92">popOutputContext</a>()<font class="keyword"></font> |
| 01091 <font class="keyword"> </font>{ |
| 01092 m_outputContextStack.<a class="code" href="classOutputContextStack.html#a3">popContext</a>(); |
| 01093 } |
| 01094 |
| 01095 <font class="comment">/*</font> |
| 01096 <font class="comment"> * See if there is a pending start document event waiting.</font> |
| 01097 <font class="comment"> * @return true if there is a start document event waiting.</font> |
| 01098 <font class="comment"> */</font> |
| 01099 <font class="keywordtype">bool</font> |
| <a name="l01100"></a><a class="code" href="classXSLTEngineImpl.html#a93">01100</a> <a class="code" href="classXSLTEngineImpl.html#a93">getHasPendingStartDocument</a>()<font class="keyword"> const</font> |
| 01101 <font class="keyword"> </font>{ |
| 01102 <font class="keywordflow">return</font> <a class="code" href="classXSLTEngineImpl.html#b7">getHasPendingStartDocumentImpl</a>(); |
| 01103 } |
| 01104 |
| 01105 <font class="comment">/*</font> |
| 01106 <font class="comment"> * Set the pending start document event state.</font> |
| 01107 <font class="comment"> * @param the new value</font> |
| 01108 <font class="comment"> */</font> |
| 01109 <font class="keywordtype">void</font> |
| <a name="l01110"></a><a class="code" href="classXSLTEngineImpl.html#a94">01110</a> <a class="code" href="classXSLTEngineImpl.html#a94">setHasPendingStartDocument</a>(<font class="keywordtype">bool</font> b)<font class="keyword"></font> |
| 01111 <font class="keyword"> </font>{ |
| 01112 <a class="code" href="classXSLTEngineImpl.html#b8">setHasPendingStartDocumentImpl</a>(b); |
| 01113 } |
| 01114 |
| 01115 <font class="comment">/*</font> |
| 01116 <font class="comment"> * See if a pending start document event must be flushed.</font> |
| 01117 <font class="comment"> * @return true if the event must be flushed.</font> |
| 01118 <font class="comment"> */</font> |
| 01119 <font class="keywordtype">bool</font> |
| <a name="l01120"></a><a class="code" href="classXSLTEngineImpl.html#a95">01120</a> <a class="code" href="classXSLTEngineImpl.html#a95">getMustFlushPendingStartDocument</a>()<font class="keyword"> const</font> |
| 01121 <font class="keyword"> </font>{ |
| 01122 <font class="keywordflow">return</font> <a class="code" href="classXSLTEngineImpl.html#b9">getMustFlushPendingStartDocumentImpl</a>(); |
| 01123 } |
| 01124 |
| 01125 <font class="comment">/*</font> |
| 01126 <font class="comment"> * Set the pending start document event flush state.</font> |
| 01127 <font class="comment"> * @param the new value</font> |
| 01128 <font class="comment"> */</font> |
| 01129 <font class="keywordtype">void</font> |
| <a name="l01130"></a><a class="code" href="classXSLTEngineImpl.html#a96">01130</a> <a class="code" href="classXSLTEngineImpl.html#a96">setMustFlushPendingStartDocument</a>(<font class="keywordtype">bool</font> b)<font class="keyword"></font> |
| 01131 <font class="keyword"> </font>{ |
| 01132 <a class="code" href="classXSLTEngineImpl.html#b10">setMustFlushPendingStartDocumentImpl</a>(b); |
| 01133 } |
| 01134 |
| 01140 <font class="keyword">const</font> AttributeListType& |
| <a name="l01141"></a><a class="code" href="classXSLTEngineImpl.html#a97">01141</a> <a class="code" href="classXSLTEngineImpl.html#a97">getPendingAttributes</a>()<font class="keyword"> const</font> |
| 01142 <font class="keyword"> </font>{ |
| 01143 <font class="keywordflow">return</font> <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>(); |
| 01144 } |
| 01145 |
| 01151 <font class="keywordtype">void</font> |
| <a name="l01152"></a><a class="code" href="classXSLTEngineImpl.html#a98">01152</a> <a class="code" href="classXSLTEngineImpl.html#a98">setPendingAttributes</a>(<font class="keyword">const</font> AttributeListType& pendingAttributes)<font class="keyword"></font> |
| 01153 <font class="keyword"> </font>{ |
| 01154 <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>() = pendingAttributes; |
| 01155 } |
| 01156 |
| 01164 <font class="keywordtype">void</font> |
| <a name="l01165"></a><a class="code" href="classXSLTEngineImpl.html#a99">01165</a> <a class="code" href="classXSLTEngineImpl.html#a99">replacePendingAttribute</a>( |
| 01166 <font class="keyword">const</font> XalanDOMChar* theName, |
| 01167 <font class="keyword">const</font> XalanDOMChar* theNewType, |
| 01168 <font class="keyword">const</font> XalanDOMChar* theNewValue)<font class="keyword"></font> |
| 01169 <font class="keyword"> </font>{ |
| 01170 <font class="comment">// Remove the old attribute, then add the new one. AttributeListImpl::addAttribute()</font> |
| 01171 <font class="comment">// does this for us.</font> |
| 01172 <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>().<a class="code" href="classAttributeListImpl.html#a15">addAttribute</a>(theName, theNewType, theNewValue); |
| 01173 } |
| 01174 |
| 01175 <font class="keywordtype">bool</font> |
| <a name="l01176"></a><a class="code" href="classXSLTEngineImpl.html#a100">01176</a> <a class="code" href="classXSLTEngineImpl.html#a100">isElementPending</a>()<font class="keyword"> const</font> |
| 01177 <font class="keyword"> </font>{ |
| 01178 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(<a class="code" href="classXSLTEngineImpl.html#b3">getPendingElementNameImpl</a>()) != 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 01179 } |
| 01180 |
| 01186 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l01187"></a><a class="code" href="classXSLTEngineImpl.html#a101">01187</a> <a class="code" href="classXSLTEngineImpl.html#a101">getPendingElementName</a>()<font class="keyword"> const</font> |
| 01188 <font class="keyword"> </font>{ |
| 01189 <font class="keywordflow">return</font> <a class="code" href="classXSLTEngineImpl.html#b3">getPendingElementNameImpl</a>(); |
| 01190 } |
| 01191 |
| 01197 <font class="keywordtype">void</font> |
| <a name="l01198"></a><a class="code" href="classXSLTEngineImpl.html#a102">01198</a> <a class="code" href="classXSLTEngineImpl.html#a102">setPendingElementName</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& elementName)<font class="keyword"></font> |
| 01199 <font class="keyword"> </font>{ |
| 01200 <a class="code" href="classXSLTEngineImpl.html#b5">setPendingElementNameImpl</a>(elementName); |
| 01201 } |
| 01202 |
| 01203 <font class="keywordtype">void</font> |
| <a name="l01204"></a><a class="code" href="classXSLTEngineImpl.html#a103">01204</a> <a class="code" href="classXSLTEngineImpl.html#a102">setPendingElementName</a>(<font class="keyword">const</font> XalanDOMChar* elementName)<font class="keyword"></font> |
| 01205 <font class="keyword"> </font>{ |
| 01206 <a class="code" href="classXSLTEngineImpl.html#b5">setPendingElementNameImpl</a>(elementName); |
| 01207 } |
| 01208 |
| 01214 <font class="keyword">const</font> LocatorType* |
| <a name="l01215"></a><a class="code" href="classXSLTEngineImpl.html#a104">01215</a> <a class="code" href="classXSLTEngineImpl.html#a104">getLocatorFromStack</a>()<font class="keyword"> const</font> |
| 01216 <font class="keyword"> </font>{ |
| 01217 <font class="keywordflow">return</font> m_stylesheetLocatorStack.empty() == <font class="keyword">true</font> ? 0 : m_stylesheetLocatorStack.back(); |
| 01218 } |
| 01219 |
| 01225 <font class="keywordtype">void</font> |
| <a name="l01226"></a><a class="code" href="classXSLTEngineImpl.html#a105">01226</a> <a class="code" href="classXSLTEngineImpl.html#a105">pushLocatorOnStack</a>(<font class="keyword">const</font> LocatorType* locator)<font class="keyword"></font> |
| 01227 <font class="keyword"> </font>{ |
| 01228 m_stylesheetLocatorStack.push_back(locator); |
| 01229 } |
| 01230 |
| 01234 <font class="keywordtype">void</font> |
| <a name="l01235"></a><a class="code" href="classXSLTEngineImpl.html#a106">01235</a> <a class="code" href="classXSLTEngineImpl.html#a106">popLocatorStack</a>()<font class="keyword"></font> |
| 01236 <font class="keyword"> </font>{ |
| 01237 <font class="keywordflow">if</font> (m_stylesheetLocatorStack.empty() == <font class="keyword">false</font>) |
| 01238 { |
| 01239 m_stylesheetLocatorStack.pop_back(); |
| 01240 } |
| 01241 } |
| 01242 |
| 01243 <font class="keyword">protected</font>: |
| 01244 |
| 01250 <font class="keyword">const</font> <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& |
| <a name="l01251"></a><a class="code" href="classXSLTEngineImpl.html#b0">01251</a> <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>()<font class="keyword"> const</font> |
| 01252 <font class="keyword"> </font>{ |
| 01253 <font class="keywordflow">return</font> m_outputContextStack.<a class="code" href="classOutputContextStack.html#a6">getPendingAttributes</a>(); |
| 01254 } |
| 01255 |
| 01261 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& |
| <a name="l01262"></a><a class="code" href="classXSLTEngineImpl.html#b1">01262</a> <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>()<font class="keyword"></font> |
| 01263 <font class="keyword"> </font>{ |
| 01264 <font class="keywordflow">return</font> m_outputContextStack.<a class="code" href="classOutputContextStack.html#a6">getPendingAttributes</a>(); |
| 01265 } |
| 01266 |
| 01272 <font class="keywordtype">void</font> |
| <a name="l01273"></a><a class="code" href="classXSLTEngineImpl.html#b2">01273</a> <a class="code" href="classXSLTEngineImpl.html#b2">setPendingAttributesImpl</a>(<font class="keyword">const</font> AttributeListType& pendingAttributes)<font class="keyword"></font> |
| 01274 <font class="keyword"> </font>{ |
| 01275 <a class="code" href="classXSLTEngineImpl.html#b0">getPendingAttributesImpl</a>() = pendingAttributes; |
| 01276 } |
| 01277 |
| 01283 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l01284"></a><a class="code" href="classXSLTEngineImpl.html#b3">01284</a> <a class="code" href="classXSLTEngineImpl.html#b3">getPendingElementNameImpl</a>()<font class="keyword"> const</font> |
| 01285 <font class="keyword"> </font>{ |
| 01286 <font class="keywordflow">return</font> m_outputContextStack.<a class="code" href="classOutputContextStack.html#a8">getPendingElementName</a>(); |
| 01287 } |
| 01288 |
| 01294 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l01295"></a><a class="code" href="classXSLTEngineImpl.html#b4">01295</a> <a class="code" href="classXSLTEngineImpl.html#b3">getPendingElementNameImpl</a>()<font class="keyword"></font> |
| 01296 <font class="keyword"> </font>{ |
| 01297 <font class="keywordflow">return</font> m_outputContextStack.<a class="code" href="classOutputContextStack.html#a8">getPendingElementName</a>(); |
| 01298 } |
| 01299 |
| 01305 <font class="keywordtype">void</font> |
| <a name="l01306"></a><a class="code" href="classXSLTEngineImpl.html#b5">01306</a> <a class="code" href="classXSLTEngineImpl.html#b5">setPendingElementNameImpl</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& elementName)<font class="keyword"></font> |
| 01307 <font class="keyword"> </font>{ |
| 01308 m_outputContextStack.<a class="code" href="classOutputContextStack.html#a8">getPendingElementName</a>() = elementName; |
| 01309 } |
| 01310 |
| 01316 <font class="keywordtype">void</font> |
| <a name="l01317"></a><a class="code" href="classXSLTEngineImpl.html#b6">01317</a> <a class="code" href="classXSLTEngineImpl.html#b5">setPendingElementNameImpl</a>(<font class="keyword">const</font> XalanDOMChar* elementName)<font class="keyword"></font> |
| 01318 <font class="keyword"> </font>{ |
| 01319 assert(elementName != 0); |
| 01320 |
| 01321 m_outputContextStack.<a class="code" href="classOutputContextStack.html#a8">getPendingElementName</a>() = elementName; |
| 01322 } |
| 01323 |
| 01324 <font class="comment">/*</font> |
| 01325 <font class="comment"> * See if there is a pending start document event waiting.</font> |
| 01326 <font class="comment"> * @return true if there is a start document event waiting.</font> |
| 01327 <font class="comment"> */</font> |
| 01328 <font class="keywordtype">bool</font> |
| <a name="l01329"></a><a class="code" href="classXSLTEngineImpl.html#b7">01329</a> <a class="code" href="classXSLTEngineImpl.html#b7">getHasPendingStartDocumentImpl</a>()<font class="keyword"> const</font> |
| 01330 <font class="keyword"> </font>{ |
| 01331 <font class="keywordflow">return</font> m_outputContextStack.<a class="code" href="classOutputContextStack.html#a10">getHasPendingStartDocument</a>(); |
| 01332 } |
| 01333 |
| 01334 <font class="comment">/*</font> |
| 01335 <font class="comment"> * Set the pending start document event state.</font> |
| 01336 <font class="comment"> * @param the new value</font> |
| 01337 <font class="comment"> */</font> |
| 01338 <font class="keywordtype">void</font> |
| <a name="l01339"></a><a class="code" href="classXSLTEngineImpl.html#b8">01339</a> <a class="code" href="classXSLTEngineImpl.html#b8">setHasPendingStartDocumentImpl</a>(<font class="keywordtype">bool</font> b)<font class="keyword"></font> |
| 01340 <font class="keyword"> </font>{ |
| 01341 m_outputContextStack.<a class="code" href="classOutputContextStack.html#a10">getHasPendingStartDocument</a>() = b; |
| 01342 } |
| 01343 |
| 01344 <font class="comment">/*</font> |
| 01345 <font class="comment"> * See if a pending start document event must be flushed.</font> |
| 01346 <font class="comment"> * @return true if the event must be flushed.</font> |
| 01347 <font class="comment"> */</font> |
| 01348 <font class="keywordtype">bool</font> |
| <a name="l01349"></a><a class="code" href="classXSLTEngineImpl.html#b9">01349</a> <a class="code" href="classXSLTEngineImpl.html#b9">getMustFlushPendingStartDocumentImpl</a>()<font class="keyword"> const</font> |
| 01350 <font class="keyword"> </font>{ |
| 01351 <font class="keywordflow">return</font> m_outputContextStack.<a class="code" href="classOutputContextStack.html#a12">getMustFlushPendingStartDocument</a>(); |
| 01352 } |
| 01353 |
| 01354 <font class="comment">/*</font> |
| 01355 <font class="comment"> * Set the pending start document event flush state.</font> |
| 01356 <font class="comment"> * @param the new value</font> |
| 01357 <font class="comment"> */</font> |
| 01358 <font class="keywordtype">void</font> |
| <a name="l01359"></a><a class="code" href="classXSLTEngineImpl.html#b10">01359</a> <a class="code" href="classXSLTEngineImpl.html#b10">setMustFlushPendingStartDocumentImpl</a>(<font class="keywordtype">bool</font> b)<font class="keyword"></font> |
| 01360 <font class="keyword"> </font>{ |
| 01361 m_outputContextStack.<a class="code" href="classOutputContextStack.html#a12">getMustFlushPendingStartDocument</a>() = b; |
| 01362 } |
| 01363 |
| 01364 <a class="code" href="classFormatterListener.html">FormatterListener</a>* |
| <a name="l01365"></a><a class="code" href="classXSLTEngineImpl.html#b11">01365</a> <a class="code" href="classXSLTEngineImpl.html#b11">getFormatterListenerImpl</a>()<font class="keyword"> const</font> |
| 01366 <font class="keyword"> </font>{ |
| 01367 <font class="keywordflow">return</font> m_outputContextStack.<a class="code" href="classOutputContextStack.html#a4">getFormatterListener</a>(); |
| 01368 } |
| 01369 |
| 01370 <font class="keywordtype">void</font> |
| <a name="l01371"></a><a class="code" href="classXSLTEngineImpl.html#b12">01371</a> <a class="code" href="classXSLTEngineImpl.html#b12">setFormatterListenerImpl</a>(<a class="code" href="classFormatterListener.html">FormatterListener</a>* flistener)<font class="keyword"></font> |
| 01372 <font class="keyword"> </font>{ |
| 01373 m_outputContextStack.<a class="code" href="classOutputContextStack.html#a4">getFormatterListener</a>() = flistener; |
| 01374 } |
| 01375 |
| <a name="l01382"></a><a class="code" href="classXSLTEngineImpl.html#n0">01382</a> <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_resultNameSpacePrefix; |
| 01383 |
| <a name="l01387"></a><a class="code" href="classXSLTEngineImpl.html#n1">01387</a> <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_resultNameSpaceURL; |
| 01388 |
| 01389 |
| 01394 <font class="keywordtype">void</font> |
| 01395 <a class="code" href="classXSLTEngineImpl.html#b13">copyAttributesToAttList</a>( |
| 01396 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& node, |
| 01397 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& attList); |
| 01398 |
| 01399 <font class="comment">// Factory for creating xpaths.</font> |
| <a name="l01400"></a><a class="code" href="classXSLTEngineImpl.html#n2">01400</a> <a class="code" href="classXPathFactory.html">XPathFactory</a>& m_xpathFactory; |
| 01401 |
| 01402 <font class="comment">// Factory for creating xobjects</font> |
| <a name="l01403"></a><a class="code" href="classXSLTEngineImpl.html#n3">01403</a> <a class="code" href="classXObjectFactory.html">XObjectFactory</a>& m_xobjectFactory; |
| 01404 |
| 01405 <font class="comment">// The query/pattern-matcher object.</font> |
| <a name="l01406"></a><a class="code" href="classXSLTEngineImpl.html#n4">01406</a> <font class="keyword">const</font> XPathProcessorPtrType m_xpathProcessor; |
| 01407 |
| <a name="l01412"></a><a class="code" href="classXSLTEngineImpl.html#n5">01412</a> BoolVectorType m_cdataStack; |
| 01413 |
| 01414 <font class="keyword">private</font>: |
| 01415 |
| 01422 <font class="keywordtype">void</font> |
| 01423 warnCopyTextNodesOnly( |
| 01424 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode, |
| 01425 <font class="keyword">const</font> LocatorType* locator); |
| 01426 |
| 01433 <font class="keywordtype">void</font> |
| 01434 <a class="code" href="classXSLTEngineImpl.html#a59">cloneToResultTree</a>( |
| 01435 <font class="keyword">const</font> <a class="code" href="classXalanText.html">XalanText</a>& node, |
| 01436 <font class="keywordtype">bool</font> overrideStrip); |
| 01437 |
| 01442 <font class="keywordtype">bool</font> |
| 01443 pendingAttributesHasDefaultNS() <font class="keyword">const</font>; |
| 01444 |
| 01445 <font class="keywordtype">void</font> |
| 01446 addResultNamespace( |
| 01447 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& thePrefix, |
| 01448 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theName, |
| 01449 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& theNode, |
| 01450 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& thePendingAttributes, |
| 01451 <font class="keywordtype">bool</font> fOnlyIfPrefixNotPresent); |
| 01452 |
| 01453 <font class="keywordtype">void</font> |
| 01454 addResultNamespace( |
| 01455 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& theNode, |
| 01456 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a>& thePendingAttributes, |
| 01457 <font class="keywordtype">bool</font> fOnlyIfPrefixNotPresent = <font class="keyword">false</font>); |
| 01458 |
| 01463 LocatorStack m_stylesheetLocatorStack; |
| 01464 |
| 01471 <a class="code" href="classProblemListenerDefault.html">ProblemListenerDefault</a> m_defaultProblemListener; |
| 01472 |
| 01473 <a class="code" href="classProblemListener.html">ProblemListener</a>* m_problemListener; |
| 01474 |
| 01478 <font class="keyword">const</font> StylesheetRoot* m_stylesheetRoot; |
| 01479 |
| 01483 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_XSLNameSpaceURL; <font class="comment">//"http://www.w3.org/1999/XSL/Transform"</font> |
| 01484 |
| 01488 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_XalanNamespaceURL; <font class="comment">// "http://xml.apache.org/xalan"</font> |
| 01489 |
| 01493 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_uniqueNamespacePrefix; |
| 01494 |
| 01498 <font class="keywordtype">bool</font> m_traceSelects; |
| 01499 |
| 01504 <font class="keywordtype">bool</font> m_quietConflictWarnings; |
| 01505 |
| 01506 <font class="comment">/*</font> |
| 01507 <font class="comment"> * A stream to print diagnostics to.</font> |
| 01508 <font class="comment"> */</font> |
| 01509 <a class="code" href="classPrintWriter.html">PrintWriter</a>* m_diagnosticsPrintWriter; |
| 01510 |
| 01515 TraceListenerVectorType m_traceListeners; |
| 01516 |
| 01517 <font class="keywordtype">void</font> |
| 01518 problem( |
| 01519 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 01520 ProblemListener::eClassification classification, |
| 01521 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode, |
| 01522 <font class="keyword">const</font> <a class="code" href="classElemTemplateElement.html">ElemTemplateElement</a>* styleNode) <font class="keyword">const</font>; |
| 01523 |
| 01524 <font class="keywordtype">void</font> |
| 01525 problem( |
| 01526 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& msg, |
| 01527 ProblemListener::eClassification classification, |
| 01528 <font class="keyword">const</font> LocatorType& locator, |
| 01529 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* sourceNode) <font class="keyword">const</font>; |
| 01530 |
| 01531 <font class="comment">//==========================================================</font> |
| 01532 <font class="comment">// SECTION: Function to do with attribute handling</font> |
| 01533 <font class="comment">//==========================================================</font> |
| 01534 |
| 01538 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> m_uniqueNSValue; |
| 01539 |
| 01540 ParamVectorType m_topLevelParams; |
| 01541 |
| 01542 <font class="keyword">public</font>: |
| 01543 |
| 01547 <font class="keywordtype">void</font> |
| <a name="l01548"></a><a class="code" href="classXSLTEngineImpl.html#a107">01548</a> <a class="code" href="classXSLTEngineImpl.html#a107">clearTopLevelParams</a>()<font class="keyword"></font> |
| 01549 <font class="keyword"> </font>{ |
| 01550 m_topLevelParams.clear(); |
| 01551 } |
| 01552 |
| 01553 <font class="keyword">private</font>: |
| 01554 |
| 01555 <font class="keywordtype">bool</font> |
| 01556 generateCDATASection()<font class="keyword"> const</font> |
| 01557 <font class="keyword"> </font>{ |
| 01558 <font class="keywordflow">if</font> (m_hasCDATASectionElements == <font class="keyword">false</font>) |
| 01559 { |
| 01560 <font class="keywordflow">return</font> <font class="keyword">false</font>; |
| 01561 } |
| 01562 <font class="keywordflow">else</font> |
| 01563 { |
| 01564 assert(m_cdataStack.empty() == <font class="keyword">false</font>); |
| 01565 |
| 01566 <font class="keywordflow">return</font> m_cdataStack.back(); |
| 01567 } |
| 01568 } |
| 01569 |
| 01570 <font class="keywordtype">void</font> |
| 01571 doFlushPending()<font class="keyword"></font> |
| 01572 <font class="keyword"> </font>{ |
| 01573 <a class="code" href="classXSLTEngineImpl.html#a96">setMustFlushPendingStartDocument</a>(<font class="keyword">true</font>); |
| 01574 |
| 01575 <a class="code" href="classXSLTEngineImpl.html#a31">flushPending</a>(); |
| 01576 } |
| 01577 |
| 01585 <font class="keywordtype">bool</font> |
| 01586 isCDataResultElem(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& elementName) <font class="keyword">const</font>; |
| 01587 |
| 01588 <font class="keywordtype">void</font> |
| 01589 fireCharacterGenerateEvent( |
| 01590 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>& theNode, |
| 01591 <font class="keywordtype">bool</font> isCDATA); |
| 01592 |
| 01593 <font class="keywordtype">void</font> |
| 01594 fireCharacterGenerateEvent( |
| 01595 <font class="keyword">const</font> <a class="code" href="classXObjectPtr.html">XObjectPtr</a>& theXObject, |
| 01596 <font class="keywordtype">bool</font> isCDATA); |
| 01597 |
| 01598 <font class="keywordtype">void</font> |
| 01599 fireCharacterGenerateEvent( |
| 01600 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 01601 <font class="keywordtype">bool</font> isCDATA); |
| 01602 |
| 01603 <font class="keywordtype">void</font> |
| 01604 fireCharacterGenerateEvent( |
| 01605 <font class="keyword">const</font> XalanDOMChar* ch, |
| 01606 XalanDOMString::size_type start, |
| 01607 XalanDOMString::size_type length, |
| 01608 <font class="keywordtype">bool</font> isCDATA); |
| 01609 |
| 01610 <font class="keywordtype">void</font> |
| 01611 checkDefaultNamespace( |
| 01612 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theElementName, |
| 01613 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theElementNamespaceURI); |
| 01614 |
| 01615 |
| 01616 |
| 01617 <font class="comment">// Data members...</font> |
| 01618 <a class="code" href="classXMLParserLiaison.html">XMLParserLiaison</a>& m_parserLiaison; |
| 01619 |
| 01620 <a class="code" href="classXPathEnvSupport.html">XPathEnvSupport</a>& m_xpathEnvSupport; |
| 01621 |
| 01622 <a class="code" href="classDOMSupport.html">DOMSupport</a>& m_domSupport; |
| 01623 |
| 01627 <a class="code" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a>* m_executionContext; |
| 01628 |
| 01629 <font class="comment">/*</font> |
| 01630 <font class="comment"> * Stack of current output contexts...</font> |
| 01631 <font class="comment"> */</font> |
| 01632 <a class="code" href="classOutputContextStack.html">OutputContextStack</a> m_outputContextStack; |
| 01633 |
| 01634 <font class="comment">/*</font> |
| 01635 <font class="comment"> * Stack of current result namespaces...</font> |
| 01636 <font class="comment"> */</font> |
| 01637 <a class="code" href="classXalanNamespacesStack.html">XalanNamespacesStack</a> m_resultNamespacesStack; |
| 01638 |
| 01639 <font class="comment">/*</font> |
| 01640 <font class="comment"> * Dummy AttributeListImpl</font> |
| 01641 <font class="comment"> */</font> |
| 01642 <a class="code" href="classAttributeListImpl.html">AttributeListImpl</a> m_dummyAttributesList; |
| 01643 |
| 01644 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_scratchString; |
| 01645 |
| 01646 XalanDOMStringPointerVectorType m_attributeNamesVisited; |
| 01647 |
| 01648 <font class="keywordtype">bool</font> m_hasCDATASectionElements; |
| 01649 |
| 01650 <a class="code" href="classXPathConstructionContextDefault.html">XPathConstructionContextDefault</a> m_xpathConstructionContext; |
| 01651 |
| 01652 <font class="keyword">static</font> <font class="keywordtype">void</font> |
| 01653 installFunctions(MemoryManagerType& theManager); |
| 01654 |
| 01655 <font class="keyword">static</font> <font class="keywordtype">void</font> |
| 01656 uninstallFunctions(); |
| 01657 |
| 01658 |
| 01659 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a> s_emptyString; |
| 01660 |
| 01661 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_stylesheetNodeName; |
| 01662 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_typeString; |
| 01663 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_hrefString; |
| 01664 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_piTokenizerString; |
| 01665 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_typeValueString1; |
| 01666 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_typeValueString2; |
| 01667 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_typeValueString3; |
| 01668 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& s_typeValueString4; |
| 01669 |
| 01670 <font class="comment">// Not implemented...</font> |
| 01671 <a class="code" href="classXSLTEngineImpl.html#a0">XSLTEngineImpl</a>(<font class="keyword">const</font> <a class="code" href="classXSLTEngineImpl.html">XSLTEngineImpl</a>&); |
| 01672 |
| 01673 <a class="code" href="classXSLTEngineImpl.html">XSLTEngineImpl</a>& |
| 01674 operator=(<font class="keyword">const</font> <a class="code" href="classXSLTEngineImpl.html">XSLTEngineImpl</a>&); |
| 01675 |
| 01676 <font class="keywordtype">bool</font> |
| 01677 <a class="code" href="ElemAttributeSet_8hpp.html#a1">operator==</a>(<font class="keyword">const</font> <a class="code" href="classXSLTEngineImpl.html">XSLTEngineImpl</a>&) <font class="keyword">const</font>; |
| 01678 }; |
| 01679 |
| 01680 |
| 01681 |
| 01682 XALAN_CPP_NAMESPACE_END |
| 01683 |
| 01684 |
| 01685 |
| 01686 <font class="preprocessor">#endif // XALAN_XSLTENGINEIMPL_HEADER_GUARD</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 © 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>
|