| <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>AVT.hpp</h1><a href="AVT_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_AVT_HEADER_GUARD)</font> |
| <a name="l00017"></a><a class="code" href="AVT_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XALAN_AVT_HEADER_GUARD </font> |
| 00018 <font class="preprocessor"></font> |
| 00019 <font class="comment">// Base include file. Must be first.</font> |
| 00020 <font class="preprocessor">#include <<a class="code" href="XSLTDefinitions_8hpp.html">xalanc/XSLT/XSLTDefinitions.hpp</a>></font> |
| 00021 |
| 00022 |
| 00023 |
| 00024 <font class="preprocessor">#include <<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>></font> |
| 00025 |
| 00026 |
| 00027 |
| 00028 <a class="code" href="XSLTProcessor_8hpp.html#a1">XALAN_DECLARE_XERCES_CLASS</a>(Locator) |
| 00029 |
| 00030 |
| 00031 |
| 00032 XALAN_CPP_NAMESPACE_BEGIN |
| 00033 |
| 00034 |
| 00035 |
| 00036 <font class="keyword">typedef</font> XERCES_CPP_NAMESPACE_QUALIFIER Locator LocatorType; |
| 00037 |
| 00038 |
| 00039 |
| 00040 <font class="keyword">class </font><a class="code" href="classAVTPart.html">AVTPart</a>; |
| 00041 <font class="keyword">class </font><a class="code" href="classPrefixResolver.html">PrefixResolver</a>; |
| 00042 <font class="keyword">class </font><a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>; |
| 00043 <font class="keyword">class </font><a class="code" href="classXalanNode.html">XalanNode</a>; |
| 00044 <font class="keyword">class </font><a class="code" href="classStringTokenizer.html">StringTokenizer</a>; |
| 00045 <font class="keyword">class </font><a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>; |
| 00046 |
| 00047 |
| 00048 |
| <a name="l00052"></a><a class="code" href="classAVT.html">00052</a> <font class="keyword">class </font><a class="code" href="classAVT.html">AVT</a> |
| 00053 { |
| 00054 <font class="keyword">public</font>: |
| 00055 |
| 00056 <font class="preprocessor">#if defined(XALAN_STRICT_ANSI_HEADERS)</font> |
| 00057 <font class="preprocessor"></font> <font class="keyword">typedef</font> std::size_t size_type; |
| 00058 <font class="preprocessor">#else</font> |
| <a name="l00059"></a><a class="code" href="classAVT.html#s0">00059</a> <font class="preprocessor"></font> <font class="keyword">typedef</font> size_t size_type; |
| 00060 <font class="preprocessor">#endif</font> |
| 00061 <font class="preprocessor"></font> |
| 00073 <a class="code" href="classAVT.html#a0">AVT</a>( |
| 00074 <a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>& constructionContext, |
| 00075 <font class="keyword">const</font> LocatorType* locator, |
| 00076 <font class="keyword">const</font> XalanDOMChar* name, |
| 00077 <font class="keyword">const</font> XalanDOMChar* stringedValue, |
| 00078 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& resolver); |
| 00079 |
| 00080 <font class="keyword">virtual</font> |
| 00081 <a class="code" href="classAVT.html#a1">~AVT</a>(); |
| 00082 |
| 00088 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l00089"></a><a class="code" href="classAVT.html#a2">00089</a> <a class="code" href="classAVT.html#a2">getName</a>()<font class="keyword"> const</font> |
| 00090 <font class="keyword"> </font>{ |
| 00091 <font class="keywordflow">return</font> m_name; |
| 00092 } |
| 00093 |
| 00102 <font class="keywordtype">void</font> |
| <a name="l00103"></a><a class="code" href="classAVT.html#a3">00103</a> <a class="code" href="classAVT.html#a3">evaluate</a>( |
| 00104 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& buf, |
| 00105 <a class="code" href="classXalanNode.html">XalanNode</a>* contextNode, |
| 00106 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& prefixResolver, |
| 00107 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext)<font class="keyword"> const</font> |
| 00108 <font class="keyword"> </font>{ |
| 00109 <font class="keywordflow">if</font>(m_simpleString != 0) |
| 00110 { |
| 00111 buf.<a class="code" href="classXalanDOMString.html#a39">assign</a>(m_simpleString, m_simpleStringLength); |
| 00112 } |
| 00113 <font class="keywordflow">else</font> |
| 00114 { |
| 00115 doEvaluate(buf, contextNode, prefixResolver, executionContext); |
| 00116 } |
| 00117 } |
| 00118 |
| 00126 <font class="keywordtype">void</font> |
| <a name="l00127"></a><a class="code" href="classAVT.html#a4">00127</a> <a class="code" href="classAVT.html#a3">evaluate</a>( |
| 00128 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& buf, |
| 00129 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& prefixResolver, |
| 00130 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext)<font class="keyword"> const</font> |
| 00131 <font class="keyword"> </font>{ |
| 00132 <font class="keywordflow">if</font>(m_simpleString != 0) |
| 00133 { |
| 00134 buf.<a class="code" href="classXalanDOMString.html#a39">assign</a>(m_simpleString, m_simpleStringLength); |
| 00135 } |
| 00136 <font class="keywordflow">else</font> |
| 00137 { |
| 00138 doEvaluate(buf, prefixResolver, executionContext); |
| 00139 } |
| 00140 } |
| 00141 |
| 00142 <font class="keyword">private</font>: |
| 00143 |
| 00144 <font class="keywordtype">void</font> |
| 00145 doEvaluate( |
| 00146 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& buf, |
| 00147 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& prefixResolver, |
| 00148 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext) <font class="keyword">const</font>; |
| 00149 |
| 00150 <font class="keywordtype">void</font> |
| 00151 doEvaluate( |
| 00152 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& buf, |
| 00153 <a class="code" href="classXalanNode.html">XalanNode</a>* contextNode, |
| 00154 <font class="keyword">const</font> <a class="code" href="classPrefixResolver.html">PrefixResolver</a>& prefixResolver, |
| 00155 <a class="code" href="classXPathExecutionContext.html">XPathExecutionContext</a>& executionContext) <font class="keyword">const</font>; |
| 00156 |
| 00157 <font class="keywordtype">void</font> |
| 00158 nextToken( |
| 00159 <a class="code" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a>& constructionContext, |
| 00160 <font class="keyword">const</font> LocatorType* locator, |
| 00161 <a class="code" href="classStringTokenizer.html">StringTokenizer</a>& tokenizer, |
| 00162 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& token); |
| 00163 |
| 00164 <font class="comment">// not implemented</font> |
| 00165 <a class="code" href="classAVT.html#a0">AVT</a>(<font class="keyword">const</font> <a class="code" href="classAVT.html">AVT</a>&); |
| 00166 |
| 00167 <a class="code" href="classAVT.html">AVT</a>& |
| 00168 operator=(<font class="keyword">const</font> <a class="code" href="classAVT.html">AVT</a>&); |
| 00169 |
| 00170 <font class="keywordtype">bool</font> |
| 00171 <a class="code" href="ElemAttributeSet_8hpp.html#a1">operator==</a>(<font class="keyword">const</font> <a class="code" href="classAVT.html">AVT</a>&) <font class="keyword">const</font>; |
| 00172 |
| 00173 |
| 00174 <font class="comment">// Data members...</font> |
| 00175 <font class="keyword">const</font> <a class="code" href="classAVTPart.html">AVTPart</a>** m_parts; |
| 00176 |
| 00177 size_type m_partsSize; |
| 00178 |
| 00179 <font class="keyword">const</font> XalanDOMChar* m_simpleString; |
| 00180 |
| 00181 XalanDOMString::size_type m_simpleStringLength; |
| 00182 |
| 00183 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& m_name; |
| 00184 |
| 00185 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a> s_emptyString; |
| 00186 }; |
| 00187 |
| 00188 |
| 00189 |
| 00190 XALAN_CPP_NAMESPACE_END |
| 00191 |
| 00192 |
| 00193 |
| 00194 <font class="preprocessor">#endif // XALAN_AVT_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>
|