| <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>XercesDOM_NodeHack.hpp</h1><a href="XercesDOM__NodeHack_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 |
| 00017 <font class="preprocessor">#if !defined(XERCESDOM_NODEHACK_HEADER_GUARD_1357924680)</font> |
| <a name="l00018"></a><a class="code" href="XercesDOM__NodeHack_8hpp.html#a0">00018</a> <font class="preprocessor"></font><font class="preprocessor">#define XERCESDOM_NODEHACK_HEADER_GUARD_1357924680</font> |
| 00019 <font class="preprocessor"></font> |
| 00020 |
| 00021 |
| 00022 <font class="preprocessor">#include <<a class="code" href="XercesParserLiaisonDefinitions_8hpp.html">xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp</a>></font> |
| 00023 |
| 00024 |
| 00025 |
| 00026 <font class="preprocessor">#if XERCES_VERSION_MAJOR >= 2</font> |
| 00027 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/dom/deprecated/DOM_Node.hpp></font> |
| 00028 <font class="preprocessor">#include <xercesc/dom/deprecated/DOM_Attr.hpp></font> |
| 00029 <font class="preprocessor">#include <xercesc/dom/deprecated/DOM_Element.hpp></font> |
| 00030 <font class="preprocessor">#include <xercesc/dom/deprecated/DOM_Text.hpp></font> |
| 00031 <font class="preprocessor">#else</font> |
| 00032 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/dom/DOM_Node.hpp></font> |
| 00033 <font class="preprocessor">#include <xercesc/dom/DOM_Attr.hpp></font> |
| 00034 <font class="preprocessor">#include <xercesc/dom/DOM_Element.hpp></font> |
| 00035 <font class="preprocessor">#include <xercesc/dom/DOM_Text.hpp></font> |
| 00036 <font class="preprocessor">#endif</font> |
| 00037 <font class="preprocessor"></font> |
| 00038 |
| 00039 |
| 00040 <font class="preprocessor">#include <<a class="code" href="XercesBridgeTypes_8hpp.html">xalanc/XercesParserLiaison/Deprecated/XercesBridgeTypes.hpp</a>></font> |
| 00041 |
| 00042 |
| 00043 |
| 00044 XALAN_CPP_NAMESPACE_BEGIN |
| 00045 |
| 00046 |
| <a name="l00055"></a><a class="code" href="classXercesDOM__NodeHack.html">00055</a> <font class="keyword">class </font>XALAN_XERCESPARSERLIAISON_EXPORT <a class="code" href="classXercesDOM__NodeHack.html">XercesDOM_NodeHack</a> : <font class="keyword">public</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Node |
| 00056 { |
| 00057 <font class="keyword">public</font>: |
| 00058 |
| <a name="l00059"></a><a class="code" href="classXercesDOM__NodeHack.html#s0">00059</a> <font class="keyword">typedef</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Node ParentType; |
| 00060 |
| 00061 <a class="code" href="classXercesDOM__NodeHack.html#a0">XercesDOM_NodeHack</a>(NodeImplType* theImpl = 0); |
| 00062 |
| 00063 <a class="code" href="classXercesDOM__NodeHack.html#a1">~XercesDOM_NodeHack</a>(); |
| 00064 |
| 00065 NodeImplType* |
| <a name="l00066"></a><a class="code" href="classXercesDOM__NodeHack.html#a2">00066</a> <a class="code" href="classXercesDOM__NodeHack.html#a2">getImpl</a>()<font class="keyword"> const</font> |
| 00067 <font class="keyword"> </font>{ |
| 00068 <font class="keywordflow">return</font> fImpl; |
| 00069 } |
| 00070 |
| 00071 <font class="keyword">static</font> NodeImplType* |
| <a name="l00072"></a><a class="code" href="classXercesDOM__NodeHack.html#d0">00072</a> <a class="code" href="classXercesDOM__NodeHack.html#a2">getImpl</a>(<font class="keyword">const</font> ParentType& theNode)<font class="keyword"></font> |
| 00073 <font class="keyword"> </font>{ |
| 00074 <font class="preprocessor">#if defined(XALAN_OLD_STYLE_CASTS)</font> |
| 00075 <font class="preprocessor"></font> <font class="keywordflow">return</font> ((<font class="keyword">const</font> <a class="code" href="classXercesDOM__NodeHack.html">XercesDOM_NodeHack</a>&)theNode).getImpl(); |
| 00076 <font class="preprocessor">#else</font> |
| 00077 <font class="preprocessor"></font> <font class="keywordflow">return</font> static_cast<const XercesDOM_NodeHack&>(theNode).getImpl(); |
| 00078 <font class="preprocessor">#endif</font> |
| 00079 <font class="preprocessor"></font> } |
| 00080 }; |
| 00081 |
| 00082 |
| 00083 |
| <a name="l00084"></a><a class="code" href="classXercesDOM__AttrHack.html">00084</a> <font class="keyword">class </font>XALAN_XERCESPARSERLIAISON_EXPORT <a class="code" href="classXercesDOM__AttrHack.html">XercesDOM_AttrHack</a> : <font class="keyword">public</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Attr |
| 00085 { |
| 00086 <font class="keyword">public</font>: |
| 00087 |
| <a name="l00088"></a><a class="code" href="classXercesDOM__AttrHack.html#s0">00088</a> <font class="keyword">typedef</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Attr ParentType; |
| 00089 |
| 00090 <a class="code" href="classXercesDOM__AttrHack.html#a0">XercesDOM_AttrHack</a>(AttrImplType* theImpl = 0); |
| 00091 |
| 00092 <a class="code" href="classXercesDOM__AttrHack.html#a0">XercesDOM_AttrHack</a>(<font class="keyword">const</font> ParentType& theSource); |
| 00093 |
| 00094 <a class="code" href="classXercesDOM__AttrHack.html#a2">~XercesDOM_AttrHack</a>(); |
| 00095 }; |
| 00096 |
| 00097 |
| 00098 |
| <a name="l00099"></a><a class="code" href="classXercesDOM__ElementHack.html">00099</a> <font class="keyword">class </font>XALAN_XERCESPARSERLIAISON_EXPORT <a class="code" href="classXercesDOM__ElementHack.html">XercesDOM_ElementHack</a> : <font class="keyword">public</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Element |
| 00100 { |
| 00101 <font class="keyword">public</font>: |
| 00102 |
| <a name="l00103"></a><a class="code" href="classXercesDOM__ElementHack.html#s0">00103</a> <font class="keyword">typedef</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Element ParentType; |
| 00104 |
| 00105 <a class="code" href="classXercesDOM__ElementHack.html#a0">XercesDOM_ElementHack</a>(ElementImplType* theImpl = 0); |
| 00106 |
| 00107 <a class="code" href="classXercesDOM__ElementHack.html#a0">XercesDOM_ElementHack</a>(<font class="keyword">const</font> ParentType& theSource); |
| 00108 |
| 00109 <a class="code" href="classXercesDOM__ElementHack.html#a2">~XercesDOM_ElementHack</a>(); |
| 00110 |
| 00111 |
| 00112 <font class="keyword">const</font> DOMStringType |
| 00113 <a class="code" href="classXercesDOM__ElementHack.html#a3">getNodeNameImpl</a>() <font class="keyword">const</font>; |
| 00114 |
| 00115 <font class="keyword">const</font> DOMStringType |
| 00116 <a class="code" href="classXercesDOM__ElementHack.html#a4">getNodeValueImpl</a>() <font class="keyword">const</font>; |
| 00117 |
| 00118 <font class="keyword">const</font> DOMStringType |
| 00119 <a class="code" href="classXercesDOM__ElementHack.html#a5">getNamespaceURIImpl</a>() <font class="keyword">const</font>; |
| 00120 |
| 00121 <font class="keyword">const</font> DOMStringType |
| 00122 <a class="code" href="classXercesDOM__ElementHack.html#a6">getPrefixImpl</a>() <font class="keyword">const</font>; |
| 00123 |
| 00124 <font class="keyword">const</font> DOMStringType |
| 00125 <a class="code" href="classXercesDOM__ElementHack.html#a7">getLocalNameImpl</a>() <font class="keyword">const</font>; |
| 00126 |
| 00127 <font class="keyword">const</font> DOMStringType |
| 00128 <a class="code" href="classXercesDOM__ElementHack.html#a8">getTagNameImpl</a>() <font class="keyword">const</font>; |
| 00129 |
| 00130 <font class="keyword">const</font> DOMStringType |
| 00131 <a class="code" href="classXercesDOM__ElementHack.html#a9">getAttributeImpl</a>(<font class="keyword">const</font> DOMStringType& name) <font class="keyword">const</font>; |
| 00132 |
| 00133 <font class="keyword">const</font> DOMStringType |
| 00134 <a class="code" href="classXercesDOM__ElementHack.html#a10">getAttributeNSImpl</a>( |
| 00135 <font class="keyword">const</font> DOMStringType& namespaceURI, |
| 00136 <font class="keyword">const</font> DOMStringType& localName) <font class="keyword">const</font>; |
| 00137 |
| 00138 ElementImplType* |
| <a name="l00139"></a><a class="code" href="classXercesDOM__ElementHack.html#a11">00139</a> <a class="code" href="classXercesDOM__ElementHack.html#a11">getImpl</a>()<font class="keyword"> const</font> |
| 00140 <font class="keyword"> </font>{ |
| 00141 <font class="preprocessor">#if defined(XALAN_OLD_STYLE_CASTS)</font> |
| 00142 <font class="preprocessor"></font> <font class="keywordflow">return</font> (ElementImplType*)fImpl; |
| 00143 <font class="preprocessor">#else</font> |
| 00144 <font class="preprocessor"></font> <font class="keywordflow">return</font> reinterpret_cast<ElementImplType*>(fImpl); |
| 00145 <font class="preprocessor">#endif</font> |
| 00146 <font class="preprocessor"></font> } |
| 00147 |
| 00148 <font class="keyword">static</font> ElementImplType* |
| <a name="l00149"></a><a class="code" href="classXercesDOM__ElementHack.html#d0">00149</a> <a class="code" href="classXercesDOM__ElementHack.html#a11">getImpl</a>(<font class="keyword">const</font> ParentType& theNode)<font class="keyword"></font> |
| 00150 <font class="keyword"> </font>{ |
| 00151 <font class="preprocessor">#if defined(XALAN_OLD_STYLE_CASTS)</font> |
| 00152 <font class="preprocessor"></font> <font class="keywordflow">return</font> ((<font class="keyword">const</font> <a class="code" href="classXercesDOM__ElementHack.html">XercesDOM_ElementHack</a>&)theNode).getImpl(); |
| 00153 <font class="preprocessor">#else</font> |
| 00154 <font class="preprocessor"></font> <font class="keywordflow">return</font> static_cast<const XercesDOM_ElementHack&>(theNode).getImpl(); |
| 00155 <font class="preprocessor">#endif</font> |
| 00156 <font class="preprocessor"></font> } |
| 00157 }; |
| 00158 |
| 00159 |
| 00160 |
| <a name="l00161"></a><a class="code" href="classXercesDOM__TextHack.html">00161</a> <font class="keyword">class </font>XALAN_XERCESPARSERLIAISON_EXPORT <a class="code" href="classXercesDOM__TextHack.html">XercesDOM_TextHack</a> : <font class="keyword">public</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Text |
| 00162 { |
| 00163 <font class="keyword">public</font>: |
| 00164 |
| <a name="l00165"></a><a class="code" href="classXercesDOM__TextHack.html#s0">00165</a> <font class="keyword">typedef</font> XERCES_CPP_NAMESPACE_QUALIFIER DOM_Text ParentType; |
| 00166 |
| 00167 <a class="code" href="classXercesDOM__TextHack.html#a0">XercesDOM_TextHack</a>(TextImplType* theImpl = 0); |
| 00168 |
| 00169 <a class="code" href="classXercesDOM__TextHack.html#a0">XercesDOM_TextHack</a>(<font class="keyword">const</font> ParentType& theSource); |
| 00170 |
| 00171 <a class="code" href="classXercesDOM__TextHack.html#a2">~XercesDOM_TextHack</a>(); |
| 00172 |
| 00173 |
| 00174 <font class="keyword">const</font> DOMStringType |
| 00175 <a class="code" href="classXercesDOM__TextHack.html#a3">getNodeNameImpl</a>() <font class="keyword">const</font>; |
| 00176 |
| 00177 <font class="keyword">const</font> DOMStringType |
| 00178 <a class="code" href="classXercesDOM__TextHack.html#a4">getNodeValueImpl</a>() <font class="keyword">const</font>; |
| 00179 |
| 00180 <font class="keyword">const</font> DOMStringType |
| 00181 <a class="code" href="classXercesDOM__TextHack.html#a5">getNamespaceURIImpl</a>() <font class="keyword">const</font>; |
| 00182 |
| 00183 <font class="keyword">const</font> DOMStringType |
| 00184 <a class="code" href="classXercesDOM__TextHack.html#a6">getPrefixImpl</a>() <font class="keyword">const</font>; |
| 00185 |
| 00186 <font class="keyword">const</font> DOMStringType |
| 00187 <a class="code" href="classXercesDOM__TextHack.html#a7">getLocalNameImpl</a>() <font class="keyword">const</font>; |
| 00188 |
| 00189 <font class="keyword">const</font> DOMStringType |
| 00190 <a class="code" href="classXercesDOM__TextHack.html#a8">getDataImpl</a>() <font class="keyword">const</font>; |
| 00191 |
| 00192 TextImplType* |
| <a name="l00193"></a><a class="code" href="classXercesDOM__TextHack.html#a9">00193</a> <a class="code" href="classXercesDOM__TextHack.html#a9">getImpl</a>()<font class="keyword"> const</font> |
| 00194 <font class="keyword"> </font>{ |
| 00195 <font class="preprocessor">#if defined(XALAN_OLD_STYLE_CASTS)</font> |
| 00196 <font class="preprocessor"></font> <font class="keywordflow">return</font> (TextImplType*)fImpl; |
| 00197 <font class="preprocessor">#else</font> |
| 00198 <font class="preprocessor"></font> <font class="keywordflow">return</font> reinterpret_cast<TextImplType*>(fImpl); |
| 00199 <font class="preprocessor">#endif</font> |
| 00200 <font class="preprocessor"></font> } |
| 00201 |
| 00202 <font class="keyword">static</font> TextImplType* |
| <a name="l00203"></a><a class="code" href="classXercesDOM__TextHack.html#d0">00203</a> <a class="code" href="classXercesDOM__TextHack.html#a9">getImpl</a>(<font class="keyword">const</font> ParentType& theNode)<font class="keyword"></font> |
| 00204 <font class="keyword"> </font>{ |
| 00205 <font class="preprocessor">#if defined(XALAN_OLD_STYLE_CASTS)</font> |
| 00206 <font class="preprocessor"></font> <font class="keywordflow">return</font> ((<font class="keyword">const</font> <a class="code" href="classXercesDOM__TextHack.html">XercesDOM_TextHack</a>&)theNode).getImpl(); |
| 00207 <font class="preprocessor">#else</font> |
| 00208 <font class="preprocessor"></font> <font class="keywordflow">return</font> static_cast<const XercesDOM_TextHack&>(theNode).getImpl(); |
| 00209 <font class="preprocessor">#endif</font> |
| 00210 <font class="preprocessor"></font> } |
| 00211 }; |
| 00212 |
| 00213 |
| 00214 |
| 00215 XALAN_CPP_NAMESPACE_END |
| 00216 |
| 00217 |
| 00218 |
| 00219 <font class="preprocessor">#endif // !defined(XERCESDOM_NODEHACK_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>
|