<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.4</h3> </BODY> <!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:26:07 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</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>XalanComment.hpp</h1><a href="XalanComment.hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 /* 00002 * The Apache Software License, Version 1.1 00003 * 00004 * 00005 * Copyright (c) 1999 The Apache Software Foundation. All rights 00006 * reserved. 00007 * 00008 * Redistribution and use in source and binary forms, with or without 00009 * modification, are permitted provided that the following conditions 00010 * are met: 00011 * 00012 * 1. Redistributions of source code must retain the above copyright 00013 * notice, this list of conditions and the following disclaimer. 00014 * 00015 * 2. Redistributions in binary form must reproduce the above copyright 00016 * notice, this list of conditions and the following disclaimer in 00017 * the documentation and/or other materials provided with the 00018 * distribution. 00019 * 00020 * 3. The end-user documentation included with the redistribution, 00021 * if any, must include the following acknowledgment: 00022 * "This product includes software developed by the 00023 * Apache Software Foundation (http://www.apache.org/)." 00024 * Alternately, this acknowledgment may appear in the software itself, 00025 * if and wherever such third-party acknowledgments normally appear. 00026 * 00027 * 4. The names "Xalan" and "Apache Software Foundation" must 00028 * not be used to endorse or promote products derived from this 00029 * software without prior written permission. For written 00030 * permission, please contact apache@apache.org. 00031 * 00032 * 5. Products derived from this software may not be called "Apache", 00033 * nor may "Apache" appear in their name, without prior written 00034 * permission of the Apache Software Foundation. 00035 * 00036 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 00037 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00038 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00039 * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 00040 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00041 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 00042 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 00043 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00044 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00045 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 00046 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00047 * SUCH DAMAGE. 00048 * ==================================================================== 00049 * 00050 * This software consists of voluntary contributions made by many 00051 * individuals on behalf of the Apache Software Foundation and was 00052 * originally based on software copyright (c) 1999, International 00053 * Business Machines, Inc., http://www.ibm.com. For more 00054 * information on the Apache Software Foundation, please see 00055 * <http://www.apache.org/>. 00056 */ 00057 #if !defined(XALANCOMMENT_HEADER_GUARD_1357924680) <a name="l00058"><a class="code" href="XalanComment.hpp.html#a0">00058</a></a> #define XALANCOMMENT_HEADER_GUARD_1357924680 00059 00060 00061 00062 #include <XalanDOM/XalanDOMDefinitions.hpp> 00063 #include <XalanDOM/XalanCharacterData.hpp> 00064 00065 00066 00067 /* 00068 * <meta name="usage" content="experimental"/> 00069 * 00070 * Base class for the DOM Comment interface. 00071 * 00072 * This class is experimental and subject to change!! 00073 */ 00074 <a name="l00075"><a class="code" href="class_xalancomment.html">00075</a></a> class XALAN_DOM_EXPORT <a class="code" href="class_xalancomment.html">XalanComment</a> : public <a class="code" href="class_xalancharacterdata.html">XalanCharacterData</a> 00076 { 00077 public: 00078 00079 <a class="code" href="class_xalancomment.html#a0">XalanComment</a>(); 00080 00081 virtual 00082 <a class="code" href="class_xalancomment.html#a1">~XalanComment</a>(); 00083 00084 // These interfaces are inherited from XalanNode... 00085 virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00086 <a class="code" href="class_xalancharacterdata.html#a2">getNodeName</a>() const = 0; 00087 00091 virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00092 <a class="code" href="class_xalancharacterdata.html#a3">getNodeValue</a>() const = 0; 00093 00097 virtual NodeType 00098 <a class="code" href="class_xalancharacterdata.html#a4">getNodeType</a>() const = 0; 00099 00109 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00110 <a class="code" href="class_xalancharacterdata.html#a5">getParentNode</a>() const = 0; 00111 00125 virtual const <a class="code" href="class_xalannodelist.html">XalanNodeList</a>* 00126 <a class="code" href="class_xalancharacterdata.html#a6">getChildNodes</a>() const = 0; 00127 00133 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00134 <a class="code" href="class_xalancharacterdata.html#a7">getFirstChild</a>() const = 0; 00135 00141 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00142 <a class="code" href="class_xalancharacterdata.html#a8">getLastChild</a>() const = 0; 00143 00149 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00150 <a class="code" href="class_xalancharacterdata.html#a9">getPreviousSibling</a>() const = 0; 00151 00157 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00158 <a class="code" href="class_xalancharacterdata.html#a10">getNextSibling</a>() const = 0; 00159 00164 virtual const <a class="code" href="class_xalannamednodemap.html">XalanNamedNodeMap</a>* 00165 <a class="code" href="class_xalancharacterdata.html#a11">getAttributes</a>() const = 0; 00166 00176 virtual <a class="code" href="class_xalandocument.html">XalanDocument</a>* 00177 <a class="code" href="class_xalancharacterdata.html#a12">getOwnerDocument</a>() const = 0; 00178 00179 //@} 00181 //@{ 00182 00201 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00202 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00203 #else 00204 virtual <a class="code" href="class_xalancomment.html">XalanComment</a>* 00205 #endif 00206 <a class="code" href="class_xalancharacterdata.html#a13">cloneNode</a>(bool deep) const = 0; 00207 00208 //@} 00210 //@{ 00211 00228 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00229 <a class="code" href="class_xalancharacterdata.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 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00247 <a class="code" href="class_xalancharacterdata.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 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00259 <a class="code" href="class_xalancharacterdata.html#a16">removeChild</a>(<a class="code" href="class_xalannode.html">XalanNode</a>* oldChild) = 0; 00260 00272 virtual <a class="code" href="class_xalannode.html">XalanNode</a>* 00273 <a class="code" href="class_xalancharacterdata.html#a17">appendChild</a>(<a class="code" href="class_xalannode.html">XalanNode</a>* newChild) = 0; 00274 00275 //@} 00277 //@{ 00278 00286 virtual bool 00287 <a class="code" href="class_xalancharacterdata.html#a18">hasChildNodes</a>() const = 0; 00288 00289 00290 //@} 00292 //@{ 00293 00294 00308 virtual void 00309 <a class="code" href="class_xalancharacterdata.html#a19">setNodeValue</a>(const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& nodeValue) = 0; 00310 00311 //@} 00313 //@{ 00314 00331 virtual void 00332 <a class="code" href="class_xalancharacterdata.html#a20">normalize</a>() = 0; 00333 00347 virtual bool 00348 <a class="code" href="class_xalancharacterdata.html#a21">isSupported</a>( 00349 const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& feature, 00350 const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& version) const = 0; 00351 00365 virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00366 <a class="code" href="class_xalancharacterdata.html#a22">getNamespaceURI</a>() const = 0; 00367 00372 virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00373 <a class="code" href="class_xalancharacterdata.html#a23">getPrefix</a>() const = 0; 00374 00382 virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00383 <a class="code" href="class_xalancharacterdata.html#a24">getLocalName</a>() const = 0; 00384 00414 virtual void 00415 <a class="code" href="class_xalancharacterdata.html#a25">setPrefix</a>(const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& prefix) = 0; 00416 00422 virtual bool 00423 <a class="code" href="class_xalancharacterdata.html#a26">isIndexed</a>() const = 0; 00424 00431 virtual unsigned long 00432 <a class="code" href="class_xalancharacterdata.html#a27">getIndex</a>() const = 0; 00433 00434 //@} 00435 00436 // These interfaces are inherited from XalanCharacterData... 00437 00439 //@{ 00456 virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& 00457 <a class="code" href="class_xalancharacterdata.html#a28">getData</a>() const = 0; 00458 00466 virtual unsigned int 00467 <a class="code" href="class_xalancharacterdata.html#a29">getLength</a>() const = 0; 00468 00484 virtual <a class="code" href="class_xalandomstring.html">XalanDOMString</a> 00485 <a class="code" href="class_xalancharacterdata.html#a30">substringData</a>( 00486 unsigned int offset, 00487 unsigned int count) const = 0; 00488 00489 //@} 00491 //@{ 00501 virtual void 00502 <a class="code" href="class_xalancharacterdata.html#a31">appendData</a>(const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& arg) = 0; 00503 00514 virtual void 00515 <a class="code" href="class_xalancharacterdata.html#a32">insertData</a>( 00516 unsigned int offset, 00517 const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& arg) = 0; 00518 00535 virtual void 00536 <a class="code" href="class_xalancharacterdata.html#a33">deleteData</a>( 00537 unsigned int offset, 00538 unsigned int count) = 0; 00539 00558 virtual void 00559 <a class="code" href="class_xalancharacterdata.html#a34">replaceData</a>( 00560 unsigned int offset, 00561 unsigned int count, 00562 const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>& arg) = 0; 00563 00564 //@} 00565 00566 protected: 00567 00568 <a class="code" href="class_xalancomment.html#a0">XalanComment</a>(const <a class="code" href="class_xalancomment.html">XalanComment</a>& theSource); 00569 00570 <a class="code" href="class_xalancomment.html">XalanComment</a>& 00571 operator=(const <a class="code" href="class_xalancomment.html">XalanComment</a>& theSource); 00572 00573 bool 00574 operator==(const <a class="code" href="class_xalancomment.html">XalanComment</a>& theRHS) const; 00575 00576 private: 00577 }; 00578 00579 00580 00581 #endif // !defined(XALANCOMMENT_HEADER_GUARD_1357924680) </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++ XSLT Processor Version 1.4</B><BR> Copyright © 2000, 2001, 2002 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>