| <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>XercesWrapperNavigator.hpp</h1><a href="XercesWrapperNavigator_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(XERCESWRAPPERNAVIGATOR_HEADER_GUARD_1357924680)</font> |
| <a name="l00017"></a><a class="code" href="XercesWrapperNavigator_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XERCESWRAPPERNAVIGATOR_HEADER_GUARD_1357924680</font> |
| 00018 <font class="preprocessor"></font> |
| 00019 |
| 00020 |
| 00021 <font class="preprocessor">#include <<a class="code" href="XercesParserLiaisonDefinitions_8hpp.html">xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp</a>></font> |
| 00022 |
| 00023 |
| 00024 |
| 00025 <font class="preprocessor">#include <cassert></font> |
| 00026 |
| 00027 |
| 00028 |
| 00029 <font class="preprocessor">#include <xercesc/util/XercesDefs.hpp></font> |
| 00030 |
| 00031 |
| 00032 |
| 00033 <font class="preprocessor">#include <<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>></font> |
| 00034 <font class="preprocessor">#include <<a class="code" href="XalanNode_8hpp.html">xalanc/XalanDOM/XalanNode.hpp</a>></font> |
| 00035 |
| 00036 |
| 00037 |
| 00038 <font class="preprocessor">#include <<a class="code" href="XercesWrapperTypes_8hpp.html">xalanc/XercesParserLiaison/XercesWrapperTypes.hpp</a>></font> |
| 00039 |
| 00040 |
| 00041 |
| 00042 XALAN_CPP_NAMESPACE_BEGIN |
| 00043 |
| 00044 |
| 00045 |
| <a name="l00046"></a><a class="code" href="XercesWrapperNavigator_8hpp.html#a1">00046</a> <font class="keyword">class </font><a class="code" href="classXercesDocumentWrapper.html">XercesDocumentWrapper</a>; |
| 00047 <font class="keyword">class </font><a class="code" href="classXalanAttr.html">XalanAttr</a>; |
| 00048 <font class="keyword">class </font><a class="code" href="classXalanElement.html">XalanElement</a>; |
| 00049 <font class="keyword">class </font><a class="code" href="classXalanText.html">XalanText</a>; |
| 00050 |
| 00051 |
| 00052 |
| <a name="l00053"></a><a class="code" href="classXercesWrapperNavigator.html">00053</a> <font class="keyword">class </font>XALAN_XERCESPARSERLIAISON_EXPORT <a class="code" href="classXercesWrapperNavigator.html">XercesWrapperNavigator</a> |
| 00054 { |
| 00055 <font class="keyword">public</font>: |
| 00056 |
| <a name="l00057"></a><a class="code" href="classXercesWrapperNavigator.html#s0">00057</a> <font class="keyword">typedef</font> XalanNode::IndexType IndexType; |
| 00058 |
| 00059 <font class="keyword">explicit</font> |
| 00060 <a class="code" href="classXercesWrapperNavigator.html#a0">XercesWrapperNavigator</a>(<a class="code" href="classXercesDocumentWrapper.html">XercesDocumentWrapper</a>* theOwnerDocument = 0); |
| 00061 |
| 00062 <a class="code" href="classXercesWrapperNavigator.html#a0">XercesWrapperNavigator</a>(<font class="keyword">const</font> <a class="code" href="classXercesWrapperNavigator.html">XercesWrapperNavigator</a>& theSource); |
| 00063 |
| 00064 <font class="keyword">virtual</font> |
| 00065 <a class="code" href="classXercesWrapperNavigator.html#a2">~XercesWrapperNavigator</a>(); |
| 00066 |
| 00067 |
| 00068 <a class="code" href="classXercesDocumentWrapper.html">XercesDocumentWrapper</a>* |
| <a name="l00069"></a><a class="code" href="classXercesWrapperNavigator.html#a3">00069</a> <a class="code" href="classXercesWrapperNavigator.html#a3">getOwnerDocument</a>()<font class="keyword"> const</font> |
| 00070 <font class="keyword"> </font>{ |
| 00071 <font class="keywordflow">return</font> m_ownerDocument; |
| 00072 } |
| 00073 |
| 00074 <font class="keywordtype">void</font> |
| <a name="l00075"></a><a class="code" href="classXercesWrapperNavigator.html#a4">00075</a> <a class="code" href="classXercesWrapperNavigator.html#a4">setOwnerDocument</a>(<a class="code" href="classXercesDocumentWrapper.html">XercesDocumentWrapper</a>* theDocument)<font class="keyword"></font> |
| 00076 <font class="keyword"> </font>{ |
| 00077 m_ownerDocument = theDocument; |
| 00078 } |
| 00079 |
| 00080 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00081 <a class="code" href="classXercesWrapperNavigator.html#a5">mapNode</a>(<font class="keyword">const</font> DOMNodeType* theXercesNode) <font class="keyword">const</font>; |
| 00082 |
| 00083 <a class="code" href="classXalanAttr.html">XalanAttr</a>* |
| 00084 <a class="code" href="classXercesWrapperNavigator.html#a5">mapNode</a>(<font class="keyword">const</font> DOMAttrType* theXercesNode) <font class="keyword">const</font>; |
| 00085 |
| 00086 <font class="keyword">const</font> DOMNodeType* |
| 00087 <a class="code" href="classXercesWrapperNavigator.html#a5">mapNode</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theXalanNode) <font class="keyword">const</font>; |
| 00088 |
| 00089 IndexType |
| <a name="l00090"></a><a class="code" href="classXercesWrapperNavigator.html#a8">00090</a> <a class="code" href="classXercesWrapperNavigator.html#a8">getIndex</a>()<font class="keyword"> const</font> |
| 00091 <font class="keyword"> </font>{ |
| 00092 <font class="keywordflow">return</font> m_index; |
| 00093 } |
| 00094 |
| 00095 <font class="keywordtype">void</font> |
| <a name="l00096"></a><a class="code" href="classXercesWrapperNavigator.html#a9">00096</a> <a class="code" href="classXercesWrapperNavigator.html#a9">setIndex</a>(IndexType theIndex)<font class="keyword"></font> |
| 00097 <font class="keyword"> </font>{ |
| 00098 m_index = theIndex; |
| 00099 } |
| 00100 |
| 00101 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00102 <a class="code" href="classXercesWrapperNavigator.html#a11">getParentNode</a>(<font class="keyword">const</font> DOMNodeType* theXercesNode) <font class="keyword">const</font>; |
| 00103 |
| 00104 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00105"></a><a class="code" href="classXercesWrapperNavigator.html#a11">00105</a> <a class="code" href="classXercesWrapperNavigator.html#a11">getParentNode</a>()<font class="keyword"> const</font> |
| 00106 <font class="keyword"> </font>{ |
| 00107 <font class="keywordflow">return</font> m_parentNode; |
| 00108 } |
| 00109 |
| 00110 <font class="keywordtype">void</font> |
| <a name="l00111"></a><a class="code" href="classXercesWrapperNavigator.html#a12">00111</a> <a class="code" href="classXercesWrapperNavigator.html#a12">setParentNode</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theParent)<font class="keyword"></font> |
| 00112 <font class="keyword"> </font>{ |
| 00113 m_parentNode = theParent; |
| 00114 } |
| 00115 |
| 00116 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00117 <a class="code" href="classXercesWrapperNavigator.html#a14">getPreviousSibling</a>(<font class="keyword">const</font> DOMNodeType* theXercesNode) <font class="keyword">const</font>; |
| 00118 |
| 00119 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00120"></a><a class="code" href="classXercesWrapperNavigator.html#a14">00120</a> <a class="code" href="classXercesWrapperNavigator.html#a14">getPreviousSibling</a>()<font class="keyword"> const</font> |
| 00121 <font class="keyword"> </font>{ |
| 00122 <font class="keywordflow">return</font> m_previousSibling; |
| 00123 } |
| 00124 |
| 00125 <font class="keywordtype">void</font> |
| <a name="l00126"></a><a class="code" href="classXercesWrapperNavigator.html#a15">00126</a> <a class="code" href="classXercesWrapperNavigator.html#a15">setPreviousSibling</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* thePreviousSibling)<font class="keyword"></font> |
| 00127 <font class="keyword"> </font>{ |
| 00128 m_previousSibling = thePreviousSibling; |
| 00129 } |
| 00130 |
| 00131 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00132 <a class="code" href="classXercesWrapperNavigator.html#a17">getNextSibling</a>(<font class="keyword">const</font> DOMNodeType* theXercesNode) <font class="keyword">const</font>; |
| 00133 |
| 00134 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00135"></a><a class="code" href="classXercesWrapperNavigator.html#a17">00135</a> <a class="code" href="classXercesWrapperNavigator.html#a17">getNextSibling</a>()<font class="keyword"> const</font> |
| 00136 <font class="keyword"> </font>{ |
| 00137 <font class="keywordflow">return</font> m_nextSibling; |
| 00138 } |
| 00139 |
| 00140 <font class="keywordtype">void</font> |
| <a name="l00141"></a><a class="code" href="classXercesWrapperNavigator.html#a18">00141</a> <a class="code" href="classXercesWrapperNavigator.html#a18">setNextSibling</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theNextSibling)<font class="keyword"></font> |
| 00142 <font class="keyword"> </font>{ |
| 00143 m_nextSibling = theNextSibling; |
| 00144 } |
| 00145 |
| 00146 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00147 <a class="code" href="classXercesWrapperNavigator.html#a20">getFirstChild</a>(<font class="keyword">const</font> DOMNodeType* theXercesNode) <font class="keyword">const</font>; |
| 00148 |
| 00149 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00150"></a><a class="code" href="classXercesWrapperNavigator.html#a20">00150</a> <a class="code" href="classXercesWrapperNavigator.html#a20">getFirstChild</a>()<font class="keyword"> const</font> |
| 00151 <font class="keyword"> </font>{ |
| 00152 <font class="keywordflow">return</font> m_firstChild; |
| 00153 } |
| 00154 |
| 00155 <font class="keywordtype">void</font> |
| <a name="l00156"></a><a class="code" href="classXercesWrapperNavigator.html#a21">00156</a> <a class="code" href="classXercesWrapperNavigator.html#a21">setFirstChild</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theFirstChild)<font class="keyword"></font> |
| 00157 <font class="keyword"> </font>{ |
| 00158 m_firstChild = theFirstChild; |
| 00159 } |
| 00160 |
| 00161 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00162 <a class="code" href="classXercesWrapperNavigator.html#a23">getLastChild</a>(<font class="keyword">const</font> DOMNodeType* theXercesNode) <font class="keyword">const</font>; |
| 00163 |
| 00164 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00165"></a><a class="code" href="classXercesWrapperNavigator.html#a23">00165</a> <a class="code" href="classXercesWrapperNavigator.html#a23">getLastChild</a>()<font class="keyword"> const</font> |
| 00166 <font class="keyword"> </font>{ |
| 00167 <font class="keywordflow">return</font> m_lastChild; |
| 00168 } |
| 00169 |
| 00170 <font class="keywordtype">void</font> |
| <a name="l00171"></a><a class="code" href="classXercesWrapperNavigator.html#a24">00171</a> <a class="code" href="classXercesWrapperNavigator.html#a24">setLastChild</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theLastChild)<font class="keyword"></font> |
| 00172 <font class="keyword"> </font>{ |
| 00173 m_lastChild = theLastChild; |
| 00174 } |
| 00175 |
| 00176 <a class="code" href="classXalanElement.html">XalanElement</a>* |
| 00177 <a class="code" href="classXercesWrapperNavigator.html#a25">getOwnerElement</a>(<font class="keyword">const</font> DOMAttrType* theXercesAttr) <font class="keyword">const</font>; |
| 00178 |
| 00186 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| 00187 <a class="code" href="classXercesWrapperNavigator.html#a26">getPooledString</a>(<font class="keyword">const</font> XMLCh* theString) <font class="keyword">const</font>; |
| 00188 |
| 00189 <font class="keyword">private</font>: |
| 00190 |
| 00191 <font class="comment">// Not implemented...</font> |
| 00192 <font class="keywordtype">bool</font> |
| 00193 <a class="code" href="ElemAttributeSet_8hpp.html#a1">operator==</a>(<font class="keyword">const</font> <a class="code" href="classXercesWrapperNavigator.html">XercesWrapperNavigator</a>& theRHS) <font class="keyword">const</font>; |
| 00194 |
| 00195 <font class="comment">// Data members...</font> |
| 00196 <a class="code" href="classXercesDocumentWrapper.html">XercesDocumentWrapper</a>* m_ownerDocument; |
| 00197 |
| 00198 <a class="code" href="classXalanNode.html">XalanNode</a>* m_parentNode; |
| 00199 |
| 00200 <a class="code" href="classXalanNode.html">XalanNode</a>* m_previousSibling; |
| 00201 |
| 00202 <a class="code" href="classXalanNode.html">XalanNode</a>* m_nextSibling; |
| 00203 |
| 00204 <a class="code" href="classXalanNode.html">XalanNode</a>* m_firstChild; |
| 00205 |
| 00206 <a class="code" href="classXalanNode.html">XalanNode</a>* m_lastChild; |
| 00207 |
| 00208 IndexType m_index; |
| 00209 |
| 00210 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a> s_emptyString; |
| 00211 }; |
| 00212 |
| 00213 |
| 00214 |
| 00215 XALAN_CPP_NAMESPACE_END |
| 00216 |
| 00217 |
| 00218 |
| 00219 <font class="preprocessor">#endif // !defined(XERCESWRAPPERNAVIGATOR_HEADER_GUARD_1357924680)</font> |
| </font></pre></div><p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
|
| <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
|
| <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
|
| <A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p>
|
|
|
| <TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
|
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
|
| <TR>
|
| <TD WIDTH="80%" VALIGN="TOP">
|
| <P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.10</B><BR>
|
| Copyright © 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>
|