<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSL Transformer Version 1.1</h3> </BODY> <!-- Generated by Doxygen 1.2.0 on Thu Feb 15 10:44:04 2001 --> <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>XalanCDATASection.hpp</h1><a href="XalanCDATASection.hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/* </font>00002 <font class="comment"> * The Apache Software License, Version 1.1 </font>00003 <font class="comment"> * </font>00004 <font class="comment"> * </font>00005 <font class="comment"> * Copyright (c) 1999 The Apache Software Foundation. All rights </font>00006 <font class="comment"> * reserved. </font>00007 <font class="comment"> * </font>00008 <font class="comment"> * Redistribution and use in source and binary forms, with or without </font>00009 <font class="comment"> * modification, are permitted provided that the following conditions </font>00010 <font class="comment"> * are met: </font>00011 <font class="comment"> * </font>00012 <font class="comment"> * 1. Redistributions of source code must retain the above copyright </font>00013 <font class="comment"> * notice, this list of conditions and the following disclaimer. </font>00014 <font class="comment"> * </font>00015 <font class="comment"> * 2. Redistributions in binary form must reproduce the above copyright </font>00016 <font class="comment"> * notice, this list of conditions and the following disclaimer in </font>00017 <font class="comment"> * the documentation and/or other materials provided with the </font>00018 <font class="comment"> * distribution. </font>00019 <font class="comment"> * </font>00020 <font class="comment"> * 3. The end-user documentation included with the redistribution, </font>00021 <font class="comment"> * if any, must include the following acknowledgment: </font>00022 <font class="comment"> * "This product includes software developed by the </font>00023 <font class="comment"> * Apache Software Foundation (http://www.apache.org/)." </font>00024 <font class="comment"> * Alternately, this acknowledgment may appear in the software itself, </font>00025 <font class="comment"> * if and wherever such third-party acknowledgments normally appear. </font>00026 <font class="comment"> * </font>00027 <font class="comment"> * 4. The names "Xalan" and "Apache Software Foundation" must </font>00028 <font class="comment"> * not be used to endorse or promote products derived from this </font>00029 <font class="comment"> * software without prior written permission. For written </font>00030 <font class="comment"> * permission, please contact apache@apache.org. </font>00031 <font class="comment"> * </font>00032 <font class="comment"> * 5. Products derived from this software may not be called "Apache", </font>00033 <font class="comment"> * nor may "Apache" appear in their name, without prior written </font>00034 <font class="comment"> * permission of the Apache Software Foundation. </font>00035 <font class="comment"> * </font>00036 <font class="comment"> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED </font>00037 <font class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES </font>00038 <font class="comment"> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE </font>00039 <font class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR </font>00040 <font class="comment"> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, </font>00041 <font class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT </font>00042 <font class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF </font>00043 <font class="comment"> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND </font>00044 <font class="comment"> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, </font>00045 <font class="comment"> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT </font>00046 <font class="comment"> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF </font>00047 <font class="comment"> * SUCH DAMAGE. </font>00048 <font class="comment"> * ==================================================================== </font>00049 <font class="comment"> * </font>00050 <font class="comment"> * This software consists of voluntary contributions made by many </font>00051 <font class="comment"> * individuals on behalf of the Apache Software Foundation and was </font>00052 <font class="comment"> * originally based on software copyright (c) 1999, International </font>00053 <font class="comment"> * Business Machines, Inc., http://www.ibm.com. For more </font>00054 <font class="comment"> * information on the Apache Software Foundation, please see </font>00055 <font class="comment"> * <http://www.apache.org/>. </font>00056 <font class="comment"> */</font> 00057 <font class="preprocessor">#if !defined(XALANCDATASECTION_HEADER_GUARD_1357924680) </font><a name="l00058"></a><a class="code" href="XalanCDATASection.hpp.html#a0">00058</a> <font class="preprocessor"></font><font class="preprocessor">#define XALANCDATASECTION_HEADER_GUARD_1357924680 </font>00059 <font class="preprocessor"></font> 00060 00061 00062 <font class="preprocessor">#include <<a class="code" href="XalanDOMDefinitions.hpp.html">XalanDOM/XalanDOMDefinitions.hpp</a>></font> 00063 <font class="preprocessor">#include <<a class="code" href="XalanText.hpp.html">XalanDOM/XalanText.hpp</a>></font> 00064 00065 00066 00067 <font class="comment">/* </font>00068 <font class="comment"> * <meta name="usage" content="experimental"/> </font>00069 <font class="comment"> * </font>00070 <font class="comment"> * Base class for the DOM CDATASection interface. </font>00071 <font class="comment"> * </font>00072 <font class="comment"> * This class is experimental and subject to change!! </font>00073 <font class="comment"> */</font> 00074 <a name="l00075"></a><a class="code" href="class_xalancdatasection.html">00075</a> <font class="keyword">class </font>XALAN_DOM_EXPORT <a class="code" href="class_xalancdatasection.html">XalanCDATASection</a> : <font class="keyword">public</font> <a class="code" href="class_xalantext.html">XalanText</a> 00076 { 00077 <font class="keyword">public</font>: 00078 00079 <a class="code" href="class_xalancdatasection.html#a0">XalanCDATASection</a>(); 00080 00081 <font class="keyword">virtual</font> 00082 <a class="code" href="class_xalancdatasection.html#a1">~XalanCDATASection</a>(); 00083 00084 <font class="comment">// These interfaces are inherited from XalanNode...</font> 00085 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00086 <a class="code" href="class_xalantext.html#a2">getNodeName</a>() <font class="keyword">const</font> = 0; 00087 00091 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00092 <a class="code" href="class_xalantext.html#a3">getNodeValue</a>() <font class="keyword">const</font> = 0; 00093 00097 <font class="keyword">virtual</font> NodeType 00098 <a class="code" href="class_xalantext.html#a4">getNodeType</a>() <font class="keyword">const</font> = 0; 00099 00109 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00110 <a class="code" href="class_xalantext.html#a5">getParentNode</a>() <font class="keyword">const</font> = 0; 00111 00125 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalannodelist.html">XalanNodeList</a>* 00126 <a class="code" href="class_xalantext.html#a6">getChildNodes</a>() <font class="keyword">const</font> = 0; 00127 00133 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00134 <a class="code" href="class_xalantext.html#a7">getFirstChild</a>() <font class="keyword">const</font> = 0; 00135 00141 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00142 <a class="code" href="class_xalantext.html#a8">getLastChild</a>() <font class="keyword">const</font> = 0; 00143 00149 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00150 <a class="code" href="class_xalantext.html#a9">getPreviousSibling</a>() <font class="keyword">const</font> = 0; 00151 00157 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00158 <a class="code" href="class_xalantext.html#a10">getNextSibling</a>() <font class="keyword">const</font> = 0; 00159 00164 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalannamednodemap.html">XalanNamedNodeMap</a>* 00165 <a class="code" href="class_xalantext.html#a11">getAttributes</a>() <font class="keyword">const</font> = 0; 00166 00176 <font class="keyword">virtual</font> <a class="code" href="class_xalandocument.html">XalanDocument</a>* 00177 <a class="code" href="class_xalantext.html#a12">getOwnerDocument</a>() <font class="keyword">const</font> = 0; 00178 00180 00182 00201 <font class="preprocessor">#if defined(XALAN_NO_COVARIANT_RETURN_TYPE) </font>00202 <font class="preprocessor"></font> <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00203 <font class="preprocessor">#else </font>00204 <font class="preprocessor"></font> <font class="keyword">virtual</font> <a class="code" href="class_xalancdatasection.html">XalanCDATASection</a>* 00205 <font class="preprocessor">#endif </font>00206 <font class="preprocessor"></font> <a class="code" href="class_xalantext.html#a13">cloneNode</a>(<font class="keywordtype">bool</font> deep) <font class="keyword">const</font> = 0; 00207 00209 00211 00228 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00229 <a class="code" href="class_xalantext.html#a14">insertBefore</a>( 00230 <a class="code" href="class_xalannode.html">XalanNode</a>* newChild, 00231 <a class="code" href="class_xalannode.html">XalanNode</a>* refChild) = 0; 00232 00246 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00247 <a class="code" href="class_xalantext.html#a15">replaceChild</a>( 00248 <a class="code" href="class_xalannode.html">XalanNode</a>* newChild, 00249 <a class="code" href="class_xalannode.html">XalanNode</a>* oldChild) = 0; 00250 00258 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00259 <a class="code" href="class_xalantext.html#a16">removeChild</a>(<a class="code" href="class_xalannode.html">XalanNode</a>* oldChild) = 0; 00260 00272 <font class="keyword">virtual</font> <a class="code" href="class_xalannode.html">XalanNode</a>* 00273 <a class="code" href="class_xalantext.html#a17">appendChild</a>(<a class="code" href="class_xalannode.html">XalanNode</a>* newChild) = 0; 00274 00276 00278 00286 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> 00287 <a class="code" href="class_xalantext.html#a18">hasChildNodes</a>() <font class="keyword">const</font> = 0; 00288 00289 00291 00293 00294 00308 <font class="keyword">virtual</font> <font class="keywordtype">void</font> 00309 <a class="code" href="class_xalantext.html#a19">setNodeValue</a>(<font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& nodeValue) = 0; 00310 00312 00314 00331 <font class="keyword">virtual</font> <font class="keywordtype">void</font> 00332 <a class="code" href="class_xalantext.html#a20">normalize</a>() = 0; 00333 00347 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> 00348 <a class="code" href="class_xalantext.html#a21">supports</a>( 00349 <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& feature, 00350 <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& version) <font class="keyword">const</font> = 0; 00351 00365 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00366 <a class="code" href="class_xalantext.html#a22">getNamespaceURI</a>() <font class="keyword">const</font> = 0; 00367 00372 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00373 <a class="code" href="class_xalantext.html#a23">getPrefix</a>() <font class="keyword">const</font> = 0; 00374 00382 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00383 <a class="code" href="class_xalantext.html#a24">getLocalName</a>() <font class="keyword">const</font> = 0; 00384 00414 <font class="keyword">virtual</font> <font class="keywordtype">void</font> 00415 <a class="code" href="class_xalantext.html#a25">setPrefix</a>(<font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& prefix) = 0; 00416 00422 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> 00423 <a class="code" href="class_xalantext.html#a26">isIndexed</a>() <font class="keyword">const</font> = 0; 00424 00431 <font class="keyword">virtual</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> 00432 <a class="code" href="class_xalantext.html#a27">getIndex</a>() <font class="keyword">const</font> = 0; 00433 00435 00436 <font class="comment">// These interfaces are inherited from XalanCharacterData...</font> 00437 00440 00456 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00457 <a class="code" href="class_xalantext.html#a28">getData</a>() <font class="keyword">const</font> = 0; 00458 00466 <font class="keyword">virtual</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> 00467 <a class="code" href="class_xalantext.html#a29">getLength</a>() <font class="keyword">const</font> = 0; 00468 00484 <font class="keyword">virtual</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a> 00485 <a class="code" href="class_xalantext.html#a30">substringData</a>( 00486 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> offset, 00487 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> count) <font class="keyword">const</font> = 0; 00488 00490 00492 00501 <font class="keyword">virtual</font> <font class="keywordtype">void</font> 00502 <a class="code" href="class_xalantext.html#a31">appendData</a>(<font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& arg) = 0; 00503 00514 <font class="keyword">virtual</font> <font class="keywordtype">void</font> 00515 <a class="code" href="class_xalantext.html#a32">insertData</a>( 00516 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> offset, 00517 <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& arg) = 0; 00518 00535 <font class="keyword">virtual</font> <font class="keywordtype">void</font> 00536 <a class="code" href="class_xalantext.html#a33">deleteData</a>( 00537 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> offset, 00538 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> count) = 0; 00539 00558 <font class="keyword">virtual</font> <font class="keywordtype">void</font> 00559 <a class="code" href="class_xalantext.html#a34">replaceData</a>( 00560 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> offset, 00561 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> count, 00562 <font class="keyword">const</font> <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& arg) = 0; 00563 00565 00566 <font class="comment">// These interfaces are inherited from XalanText...</font> 00567 00569 00571 00589 <font class="keyword">virtual</font> <a class="code" href="class_xalantext.html">XalanText</a>* 00590 <a class="code" href="class_xalantext.html#a35">splitText</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> offset) = 0; 00591 00593 00594 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> 00595 <a class="code" href="class_xalantext.html#a36">isIgnorableWhitespace</a>() <font class="keyword">const</font> = 0; 00596 00597 <font class="keyword">protected</font>: 00598 00599 <a class="code" href="class_xalancdatasection.html#a0">XalanCDATASection</a>(<font class="keyword">const</font> <a class="code" href="class_xalancdatasection.html">XalanCDATASection</a>& theSource); 00600 00601 <a class="code" href="class_xalancdatasection.html">XalanCDATASection</a>& 00602 <a class="code" href="class_xalantext.html#b1">operator=</a>(<font class="keyword">const</font> <a class="code" href="class_xalancdatasection.html">XalanCDATASection</a>& theSource); 00603 00604 <font class="keywordtype">bool</font> 00605 <a class="code" href="class_xalantext.html#b2">operator==</a>(<font class="keyword">const</font> <a class="code" href="class_xalancdatasection.html">XalanCDATASection</a>& theRHS) <font class="keyword">const</font>; 00606 00607 <font class="keyword">private</font>: 00608 }; 00609 00610 00611 00612 <font class="preprocessor">#endif // !defined(XALANCDATASECTION_HEADER_GUARD_1357924680) </font></div></pre><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="images/dot.gif" width="1"></TD></TR></TABLE> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%"> <TR> <TD WIDTH="80%" VALIGN="TOP"> <P ALIGN="CENTER"><B>Xalan-C++ XSL Transformer Version 1.1</B><BR> Copyright © 2000, 2001 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"> </TD> </TR> </TABLE>