| <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>FormatterToDeprecatedXercesDOM.hpp</h1><a href="FormatterToDeprecatedXercesDOM_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(FORMATTERTODEPRECATEDXERCESDOM_HEADER_GUARD_1357924680)</font> |
| <a name="l00017"></a><a class="code" href="FormatterToDeprecatedXercesDOM_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define FORMATTERTODEPRECATEDXERCESDOM_HEADER_GUARD_1357924680</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="XercesParserLiaisonDefinitions_8hpp.html">xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp</a>></font> |
| 00023 |
| 00024 |
| 00025 |
| 00026 <font class="preprocessor">#include <<a class="code" href="XalanVector_8hpp.html">xalanc/Include/XalanVector.hpp</a>></font> |
| 00027 |
| 00028 |
| 00029 |
| 00030 <font class="comment">// Base class header file.</font> |
| 00031 <font class="preprocessor">#include <<a class="code" href="FormatterListener_8hpp.html">xalanc/PlatformSupport/FormatterListener.hpp</a>></font> |
| 00032 |
| 00033 |
| 00034 |
| 00035 <font class="preprocessor">#include <<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>></font> |
| 00036 |
| 00037 |
| 00038 |
| 00039 <font class="preprocessor">#include <<a class="code" href="XercesBridgeTypes_8hpp.html">xalanc/XercesParserLiaison/Deprecated/XercesBridgeTypes.hpp</a>></font> |
| 00040 |
| 00041 <font class="comment">// Required Xerces headers</font> |
| 00042 |
| 00043 <font class="preprocessor">#if XERCES_VERSION_MAJOR >= 2</font> |
| 00044 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/dom/deprecated/DOM_Document.hpp></font> |
| 00045 <font class="preprocessor">#include <xercesc/dom/deprecated/DOM_DocumentFragment.hpp></font> |
| 00046 <font class="preprocessor">#include <xercesc/dom/deprecated/DOM_Element.hpp></font> |
| 00047 <font class="preprocessor">#else</font> |
| 00048 <font class="preprocessor"></font><font class="preprocessor">#include <xercesc/dom/DOM_Document.hpp></font> |
| 00049 <font class="preprocessor">#include <xercesc/dom/DOM_DocumentFragment.hpp></font> |
| 00050 <font class="preprocessor">#include <xercesc/dom/DOM_Element.hpp></font> |
| 00051 <font class="preprocessor">#endif</font> |
| 00052 <font class="preprocessor"></font> |
| 00053 |
| 00054 XALAN_CPP_NAMESPACE_BEGIN |
| 00055 |
| 00056 |
| 00057 |
| <a name="l00066"></a><a class="code" href="classFormatterToDeprecatedXercesDOM.html">00066</a> <font class="keyword">class </font>XALAN_XERCESPARSERLIAISON_EXPORT <a class="code" href="classFormatterToDeprecatedXercesDOM.html">FormatterToDeprecatedXercesDOM</a> : <font class="keyword">public</font> <a class="code" href="classFormatterListener.html">FormatterListener</a> |
| 00067 { |
| 00068 <font class="keyword">public</font>: |
| 00069 |
| 00079 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a0">FormatterToDeprecatedXercesDOM</a>( |
| 00080 DOM_Document_Type &doc, |
| 00081 DOM_DocumentFragmentType &docFrag, |
| 00082 DOM_ElementType &currentElement); |
| 00083 |
| 00092 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a0">FormatterToDeprecatedXercesDOM</a>( |
| 00093 DOM_Document_Type &doc, |
| 00094 DOM_ElementType &currentElement); |
| 00095 |
| 00103 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a0">FormatterToDeprecatedXercesDOM</a>( |
| 00104 DOM_Document_Type &doc); |
| 00105 |
| 00106 <font class="keyword">virtual</font> |
| 00107 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a3">~FormatterToDeprecatedXercesDOM</a>(); |
| 00108 |
| 00109 |
| 00110 <font class="comment">// These methods are inherited from DocumentHandler ...</font> |
| 00111 |
| 00112 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00113 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a4">charactersRaw</a>( |
| 00114 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars, |
| 00115 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length); |
| 00116 |
| 00117 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00118 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a5">comment</a>(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> data); |
| 00119 |
| 00120 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00121 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a6">cdata</a>( |
| 00122 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> ch, |
| 00123 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length); |
| 00124 |
| 00125 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00126 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a7">entityReference</a>(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name); |
| 00127 |
| 00128 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00129 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a8">setDocumentLocator</a>(<font class="keyword">const</font> LocatorType* <font class="keyword">const</font> locator); |
| 00130 |
| 00131 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00132 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a9">startDocument</a>(); |
| 00133 |
| 00134 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00135 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a10">endDocument</a>(); |
| 00136 |
| 00137 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00138 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a11">startElement</a>( |
| 00139 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name, |
| 00140 AttributeListType& attrs); |
| 00141 |
| 00142 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00143 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a12">endElement</a>(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name); |
| 00144 |
| 00145 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00146 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a13">characters</a>( |
| 00147 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars, |
| 00148 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length); |
| 00149 |
| 00150 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00151 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a14">ignorableWhitespace</a>( |
| 00152 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars, |
| 00153 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length); |
| 00154 |
| 00155 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00156 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a15">processingInstruction</a>( |
| 00157 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> target, |
| 00158 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> data); |
| 00159 |
| 00160 <font class="keyword">virtual</font> <font class="keywordtype">void</font> |
| 00161 <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a16">resetDocument</a>(); |
| 00162 |
| 00163 DOM_Document_Type |
| <a name="l00164"></a><a class="code" href="classFormatterToDeprecatedXercesDOM.html#a17">00164</a> <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a17">getDocument</a>()<font class="keyword"> const</font> |
| 00165 <font class="keyword"> </font>{ |
| 00166 <font class="keywordflow">return</font> m_doc; |
| 00167 } |
| 00168 |
| 00169 <font class="keywordtype">void</font> |
| <a name="l00170"></a><a class="code" href="classFormatterToDeprecatedXercesDOM.html#a18">00170</a> <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a18">setDocument</a>(DOM_Document_Type &theDocument)<font class="keyword"></font> |
| 00171 <font class="keyword"> </font>{ |
| 00172 m_doc = theDocument; |
| 00173 } |
| 00174 |
| 00175 DOM_DocumentFragmentType |
| <a name="l00176"></a><a class="code" href="classFormatterToDeprecatedXercesDOM.html#a19">00176</a> <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a19">getDocumentFragment</a>()<font class="keyword"> const</font> |
| 00177 <font class="keyword"> </font>{ |
| 00178 <font class="keywordflow">return</font> m_docFrag; |
| 00179 } |
| 00180 |
| 00181 <font class="keywordtype">void</font> |
| <a name="l00182"></a><a class="code" href="classFormatterToDeprecatedXercesDOM.html#a20">00182</a> <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a20">setDocumentFragment</a>(DOM_DocumentFragmentType &theDocumentFragment)<font class="keyword"></font> |
| 00183 <font class="keyword"> </font>{ |
| 00184 m_docFrag = theDocumentFragment; |
| 00185 } |
| 00186 |
| 00187 DOM_ElementType |
| <a name="l00188"></a><a class="code" href="classFormatterToDeprecatedXercesDOM.html#a21">00188</a> <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a21">getCurrentElement</a>()<font class="keyword"> const</font> |
| 00189 <font class="keyword"> </font>{ |
| 00190 <font class="keywordflow">return</font> m_currentElem; |
| 00191 } |
| 00192 |
| 00193 <font class="keywordtype">void</font> |
| <a name="l00194"></a><a class="code" href="classFormatterToDeprecatedXercesDOM.html#a22">00194</a> <a class="code" href="classFormatterToDeprecatedXercesDOM.html#a22">setCurrentElement</a>(DOM_ElementType &theElement)<font class="keyword"></font> |
| 00195 <font class="keyword"> </font>{ |
| 00196 m_currentElem = theElement; |
| 00197 } |
| 00198 |
| 00199 <font class="keyword">private</font>: |
| 00200 |
| 00204 <font class="keywordtype">void</font> |
| 00205 processAccumulatedText(); |
| 00206 |
| 00210 <font class="keywordtype">void</font> |
| 00211 <a class="code" href="DOMStringHelper_8hpp.html#a77">append</a>(DOM_NodeType &newNode); |
| 00212 |
| 00220 DOM_ElementType |
| 00221 createElement( |
| 00222 <font class="keyword">const</font> XalanDOMChar* theElementName, |
| 00223 AttributeListType& attrs); |
| 00224 |
| 00225 <font class="keywordtype">void</font> |
| 00226 addAttributes( |
| 00227 DOM_ElementType &theElement, |
| 00228 AttributeListType& attrs); |
| 00229 |
| 00230 |
| 00231 <font class="comment">// Data members...</font> |
| 00232 DOM_Document_Type m_doc; |
| 00233 |
| 00234 DOM_DocumentFragmentType m_docFrag; |
| 00235 |
| 00236 DOM_ElementType m_currentElem; |
| 00237 |
| 00238 <font class="keyword">typedef</font> XalanVector<DOM_ElementType> ElementStackType; |
| 00239 |
| 00240 ElementStackType m_elemStack; |
| 00241 |
| 00242 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_buffer; |
| 00243 |
| 00244 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> m_textBuffer; |
| 00245 |
| 00246 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a> s_emptyString; |
| 00247 }; |
| 00248 |
| 00249 |
| 00250 |
| 00251 XALAN_CPP_NAMESPACE_END |
| 00252 |
| 00253 |
| 00254 |
| 00255 <font class="preprocessor">#endif // FORMATTERTODEPRECATEDXERCESDOM_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>
|