| <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>XercesBridgeNavigator.hpp</h1><a href="XercesBridgeNavigator_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(XERCESBRIDGENAVIGATOR_HEADER_GUARD_1357924680)</font> |
| <a name="l00017"></a><a class="code" href="XercesBridgeNavigator_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define XERCESBRIDGENAVIGATOR_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 <<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>></font> |
| 00030 <font class="preprocessor">#include <<a class="code" href="XalanNode_8hpp.html">xalanc/XalanDOM/XalanNode.hpp</a>></font> |
| 00031 |
| 00032 |
| 00033 |
| 00034 <font class="preprocessor">#include <<a class="code" href="XercesBridgeTypes_8hpp.html">xalanc/XercesParserLiaison/Deprecated/XercesBridgeTypes.hpp</a>></font> |
| 00035 |
| 00036 |
| 00037 |
| 00038 XALAN_CPP_NAMESPACE_BEGIN |
| 00039 |
| 00040 |
| 00041 |
| <a name="l00042"></a><a class="code" href="XercesBridgeNavigator_8hpp.html#a1">00042</a> <font class="keyword">class </font><a class="code" href="classXercesDocumentBridge.html">XercesDocumentBridge</a>; |
| 00043 <font class="keyword">class </font><a class="code" href="classXalanAttr.html">XalanAttr</a>; |
| 00044 <font class="keyword">class </font><a class="code" href="classXalanElement.html">XalanElement</a>; |
| 00045 <font class="keyword">class </font><a class="code" href="classXalanText.html">XalanText</a>; |
| 00046 |
| 00047 |
| <a name="l00053"></a><a class="code" href="classXercesBridgeNavigator.html">00053</a> <font class="keyword">class </font>XALAN_XERCESPARSERLIAISON_EXPORT <a class="code" href="classXercesBridgeNavigator.html">XercesBridgeNavigator</a> |
| 00054 { |
| 00055 <font class="keyword">public</font>: |
| 00056 |
| <a name="l00057"></a><a class="code" href="classXercesBridgeNavigator.html#s0">00057</a> <font class="keyword">typedef</font> XalanNode::IndexType IndexType; |
| 00058 |
| 00059 <font class="keyword">explicit</font> |
| 00060 <a class="code" href="classXercesBridgeNavigator.html#a0">XercesBridgeNavigator</a>( |
| 00061 <a class="code" href="classXercesDocumentBridge.html">XercesDocumentBridge</a>* theOwnerDocument = 0, |
| 00062 <font class="keywordtype">bool</font> mappingMode = <font class="keyword">true</font>); |
| 00063 |
| 00064 <a class="code" href="classXercesBridgeNavigator.html#a0">XercesBridgeNavigator</a>(<font class="keyword">const</font> <a class="code" href="classXercesBridgeNavigator.html">XercesBridgeNavigator</a>& theSource); |
| 00065 |
| 00066 <font class="keyword">virtual</font> |
| 00067 <a class="code" href="classXercesBridgeNavigator.html#a2">~XercesBridgeNavigator</a>(); |
| 00068 |
| 00069 |
| 00070 <a class="code" href="classXercesDocumentBridge.html">XercesDocumentBridge</a>* |
| <a name="l00071"></a><a class="code" href="classXercesBridgeNavigator.html#a3">00071</a> <a class="code" href="classXercesBridgeNavigator.html#a3">getOwnerDocument</a>()<font class="keyword"> const</font> |
| 00072 <font class="keyword"> </font>{ |
| 00073 <font class="keywordflow">return</font> m_ownerDocument; |
| 00074 } |
| 00075 |
| 00076 <font class="keywordtype">void</font> |
| <a name="l00077"></a><a class="code" href="classXercesBridgeNavigator.html#a4">00077</a> <a class="code" href="classXercesBridgeNavigator.html#a4">setOwnerDocument</a>(<a class="code" href="classXercesDocumentBridge.html">XercesDocumentBridge</a>* theDocument)<font class="keyword"></font> |
| 00078 <font class="keyword"> </font>{ |
| 00079 m_ownerDocument = theDocument; |
| 00080 } |
| 00081 |
| 00082 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00083 <a class="code" href="classXercesBridgeNavigator.html#a5">mapNode</a>(<font class="keyword">const</font> DOM_NodeType& theXercesNode) <font class="keyword">const</font>; |
| 00084 |
| 00085 <a class="code" href="classXalanAttr.html">XalanAttr</a>* |
| 00086 <a class="code" href="classXercesBridgeNavigator.html#a5">mapNode</a>(<font class="keyword">const</font> DOM_AttrType& theXercesNode) <font class="keyword">const</font>; |
| 00087 |
| 00088 DOM_NodeType |
| 00089 <a class="code" href="classXercesBridgeNavigator.html#a5">mapNode</a>(<font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* theXalanNode) <font class="keyword">const</font>; |
| 00090 |
| 00091 DOM_AttrType |
| 00092 <a class="code" href="classXercesBridgeNavigator.html#a5">mapNode</a>(<font class="keyword">const</font> <a class="code" href="classXalanAttr.html">XalanAttr</a>* theXercesNode) <font class="keyword">const</font>; |
| 00093 |
| 00094 IndexType |
| <a name="l00095"></a><a class="code" href="classXercesBridgeNavigator.html#a9">00095</a> <a class="code" href="classXercesBridgeNavigator.html#a9">getIndex</a>()<font class="keyword"> const</font> |
| 00096 <font class="keyword"> </font>{ |
| 00097 <font class="keywordflow">return</font> m_index; |
| 00098 } |
| 00099 |
| 00100 <font class="keywordtype">void</font> |
| <a name="l00101"></a><a class="code" href="classXercesBridgeNavigator.html#a10">00101</a> <a class="code" href="classXercesBridgeNavigator.html#a10">setIndex</a>(IndexType theIndex)<font class="keyword"></font> |
| 00102 <font class="keyword"> </font>{ |
| 00103 m_index = theIndex; |
| 00104 } |
| 00105 |
| 00106 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00107 <a class="code" href="classXercesBridgeNavigator.html#a12">getParentNode</a>(<font class="keyword">const</font> DOM_NodeType& theXercesNode) <font class="keyword">const</font>; |
| 00108 |
| 00109 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00110"></a><a class="code" href="classXercesBridgeNavigator.html#a12">00110</a> <a class="code" href="classXercesBridgeNavigator.html#a12">getParentNode</a>()<font class="keyword"> const</font> |
| 00111 <font class="keyword"> </font>{ |
| 00112 <font class="keywordflow">return</font> m_parentNode; |
| 00113 } |
| 00114 |
| 00115 <font class="keywordtype">void</font> |
| <a name="l00116"></a><a class="code" href="classXercesBridgeNavigator.html#a13">00116</a> <a class="code" href="classXercesBridgeNavigator.html#a13">setParentNode</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theParent)<font class="keyword"></font> |
| 00117 <font class="keyword"> </font>{ |
| 00118 m_parentNode = theParent; |
| 00119 } |
| 00120 |
| 00121 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00122 <a class="code" href="classXercesBridgeNavigator.html#a15">getPreviousSibling</a>(<font class="keyword">const</font> DOM_NodeType& theXercesNode) <font class="keyword">const</font>; |
| 00123 |
| 00124 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00125"></a><a class="code" href="classXercesBridgeNavigator.html#a15">00125</a> <a class="code" href="classXercesBridgeNavigator.html#a15">getPreviousSibling</a>()<font class="keyword"> const</font> |
| 00126 <font class="keyword"> </font>{ |
| 00127 <font class="keywordflow">return</font> m_previousSibling; |
| 00128 } |
| 00129 |
| 00130 <font class="keywordtype">void</font> |
| <a name="l00131"></a><a class="code" href="classXercesBridgeNavigator.html#a16">00131</a> <a class="code" href="classXercesBridgeNavigator.html#a16">setPreviousSibling</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* thePreviousSibling)<font class="keyword"></font> |
| 00132 <font class="keyword"> </font>{ |
| 00133 m_previousSibling = thePreviousSibling; |
| 00134 } |
| 00135 |
| 00136 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00137 <a class="code" href="classXercesBridgeNavigator.html#a18">getNextSibling</a>(<font class="keyword">const</font> DOM_NodeType& theXercesNode) <font class="keyword">const</font>; |
| 00138 |
| 00139 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00140"></a><a class="code" href="classXercesBridgeNavigator.html#a18">00140</a> <a class="code" href="classXercesBridgeNavigator.html#a18">getNextSibling</a>()<font class="keyword"> const</font> |
| 00141 <font class="keyword"> </font>{ |
| 00142 <font class="keywordflow">return</font> m_nextSibling; |
| 00143 } |
| 00144 |
| 00145 <font class="keywordtype">void</font> |
| <a name="l00146"></a><a class="code" href="classXercesBridgeNavigator.html#a19">00146</a> <a class="code" href="classXercesBridgeNavigator.html#a19">setNextSibling</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theNextSibling)<font class="keyword"></font> |
| 00147 <font class="keyword"> </font>{ |
| 00148 m_nextSibling = theNextSibling; |
| 00149 } |
| 00150 |
| 00151 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00152 <a class="code" href="classXercesBridgeNavigator.html#a21">getFirstChild</a>(<font class="keyword">const</font> DOM_NodeType& theXercesNode) <font class="keyword">const</font>; |
| 00153 |
| 00154 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00155"></a><a class="code" href="classXercesBridgeNavigator.html#a21">00155</a> <a class="code" href="classXercesBridgeNavigator.html#a21">getFirstChild</a>()<font class="keyword"> const</font> |
| 00156 <font class="keyword"> </font>{ |
| 00157 <font class="keywordflow">return</font> m_firstChild; |
| 00158 } |
| 00159 |
| 00160 <font class="keywordtype">void</font> |
| <a name="l00161"></a><a class="code" href="classXercesBridgeNavigator.html#a22">00161</a> <a class="code" href="classXercesBridgeNavigator.html#a22">setFirstChild</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theFirstChild)<font class="keyword"></font> |
| 00162 <font class="keyword"> </font>{ |
| 00163 m_firstChild = theFirstChild; |
| 00164 } |
| 00165 |
| 00166 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00167 <a class="code" href="classXercesBridgeNavigator.html#a24">getLastChild</a>(<font class="keyword">const</font> DOM_NodeType& theXercesNode) <font class="keyword">const</font>; |
| 00168 |
| 00169 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| <a name="l00170"></a><a class="code" href="classXercesBridgeNavigator.html#a24">00170</a> <a class="code" href="classXercesBridgeNavigator.html#a24">getLastChild</a>()<font class="keyword"> const</font> |
| 00171 <font class="keyword"> </font>{ |
| 00172 <font class="keywordflow">return</font> m_lastChild; |
| 00173 } |
| 00174 |
| 00175 <font class="keywordtype">void</font> |
| <a name="l00176"></a><a class="code" href="classXercesBridgeNavigator.html#a25">00176</a> <a class="code" href="classXercesBridgeNavigator.html#a25">setLastChild</a>(<a class="code" href="classXalanNode.html">XalanNode</a>* theLastChild)<font class="keyword"></font> |
| 00177 <font class="keyword"> </font>{ |
| 00178 m_lastChild = theLastChild; |
| 00179 } |
| 00180 |
| 00181 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00182 <a class="code" href="classXercesBridgeNavigator.html#a26">insertBefore</a>( |
| 00183 DOM_NodeType& theXercesParent, |
| 00184 <a class="code" href="classXalanNode.html">XalanNode</a>* newChild, |
| 00185 <a class="code" href="classXalanNode.html">XalanNode</a>* refChild) <font class="keyword">const</font>; |
| 00186 |
| 00187 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00188 <a class="code" href="classXercesBridgeNavigator.html#a27">replaceChild</a>( |
| 00189 DOM_NodeType& theXercesParent, |
| 00190 <a class="code" href="classXalanNode.html">XalanNode</a>* newChild, |
| 00191 <a class="code" href="classXalanNode.html">XalanNode</a>* oldChild) <font class="keyword">const</font>; |
| 00192 |
| 00193 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00194 <a class="code" href="classXercesBridgeNavigator.html#a28">removeChild</a>( |
| 00195 DOM_NodeType& theXercesParent, |
| 00196 <a class="code" href="classXalanNode.html">XalanNode</a>* oldChild) <font class="keyword">const</font>; |
| 00197 |
| 00198 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00199 <a class="code" href="classXercesBridgeNavigator.html#a29">appendChild</a>( |
| 00200 DOM_NodeType& theXercesParent, |
| 00201 <a class="code" href="classXalanNode.html">XalanNode</a>* newChild) <font class="keyword">const</font>; |
| 00202 |
| 00203 <a class="code" href="classXalanElement.html">XalanElement</a>* |
| 00204 <a class="code" href="classXercesBridgeNavigator.html#a30">getOwnerElement</a>(<font class="keyword">const</font> DOM_AttrType& theXercesAttr) <font class="keyword">const</font>; |
| 00205 |
| 00206 <a class="code" href="classXalanNode.html">XalanNode</a>* |
| 00207 <a class="code" href="classXercesBridgeNavigator.html#a31">cloneNode</a>( |
| 00208 <font class="keyword">const</font> <a class="code" href="classXalanNode.html">XalanNode</a>* theXalanNode, |
| 00209 <font class="keyword">const</font> DOM_NodeType& theXercesNode, |
| 00210 <font class="keywordtype">bool</font> deep) <font class="keyword">const</font>; |
| 00211 |
| 00212 <a class="code" href="classXalanText.html">XalanText</a>* |
| 00213 <a class="code" href="classXercesBridgeNavigator.html#a32">splitText</a>( |
| 00214 DOM_TextType& theXercesText, |
| 00215 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> offset) <font class="keyword">const</font>; |
| 00216 |
| 00224 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| 00225 <a class="code" href="classXercesBridgeNavigator.html#a33">getPooledString</a>(<font class="keyword">const</font> DOMStringType& theString) <font class="keyword">const</font>; |
| 00226 |
| 00227 <font class="keyword">private</font>: |
| 00228 |
| 00229 <font class="comment">// Not implemented...</font> |
| 00230 <font class="keywordtype">bool</font> |
| 00231 <a class="code" href="ElemAttributeSet_8hpp.html#a1">operator==</a>(<font class="keyword">const</font> <a class="code" href="classXercesBridgeNavigator.html">XercesBridgeNavigator</a>& theRHS) <font class="keyword">const</font>; |
| 00232 |
| 00233 <font class="comment">// Data members...</font> |
| 00234 <a class="code" href="classXercesDocumentBridge.html">XercesDocumentBridge</a>* m_ownerDocument; |
| 00235 |
| 00236 <font class="keyword">mutable</font> <a class="code" href="classXalanNode.html">XalanNode</a>* m_parentNode; |
| 00237 |
| 00238 <font class="keyword">mutable</font> <a class="code" href="classXalanNode.html">XalanNode</a>* m_previousSibling; |
| 00239 |
| 00240 <font class="keyword">mutable</font> <a class="code" href="classXalanNode.html">XalanNode</a>* m_nextSibling; |
| 00241 |
| 00242 <font class="keyword">mutable</font> <a class="code" href="classXalanNode.html">XalanNode</a>* m_firstChild; |
| 00243 |
| 00244 <font class="keyword">mutable</font> <a class="code" href="classXalanNode.html">XalanNode</a>* m_lastChild; |
| 00245 |
| 00246 IndexType m_index; |
| 00247 }; |
| 00248 |
| 00249 |
| 00250 |
| 00251 XALAN_CPP_NAMESPACE_END |
| 00252 |
| 00253 |
| 00254 |
| 00255 <font class="preprocessor">#endif // !defined(XERCESBRIDGENAVIGATOR_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>
|