Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

XalanCharacterData.hpp

Go to the documentation of this file.
00001 /* 00002 * Copyright 1999-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #if !defined(XALANCHARACTERDATA_HEADER_GUARD_1357924680) 00017 #define XALANCHARACTERDATA_HEADER_GUARD_1357924680 00018 00019 00020 00021 #include <xalanc/XalanDOM/XalanDOMDefinitions.hpp> 00022 #include <xalanc/XalanDOM/XalanNode.hpp> 00023 00024 00025 00026 XALAN_CPP_NAMESPACE_BEGIN 00027 00028 00029 00030 /* 00031 * <meta name="usage" content="experimental"/> 00032 * 00033 * Base class for the DOM CharacterData interface. 00034 * 00035 * This class is experimental and subject to change!! 00036 */ 00037 00038 class XALAN_DOM_EXPORT XalanCharacterData : public XalanNode 00039 { 00040 public: 00041 00042 XalanCharacterData(); 00043 00044 virtual 00045 ~XalanCharacterData(); 00046 00047 // These interfaces are inherited from XalanNode... 00048 virtual const XalanDOMString& 00049 getNodeName() const = 0; 00050 00054 virtual const XalanDOMString& 00055 getNodeValue() const = 0; 00056 00060 virtual NodeType 00061 getNodeType() const = 0; 00062 00072 virtual XalanNode* 00073 getParentNode() const = 0; 00074 00088 virtual const XalanNodeList* 00089 getChildNodes() const = 0; 00090 00096 virtual XalanNode* 00097 getFirstChild() const = 0; 00098 00104 virtual XalanNode* 00105 getLastChild() const = 0; 00106 00112 virtual XalanNode* 00113 getPreviousSibling() const = 0; 00114 00120 virtual XalanNode* 00121 getNextSibling() const = 0; 00122 00127 virtual const XalanNamedNodeMap* 00128 getAttributes() const = 0; 00129 00139 virtual XalanDocument* 00140 getOwnerDocument() const = 0; 00141 00143 00145 00164 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00165 virtual XalanNode* 00166 #else 00167 virtual XalanCharacterData* 00168 #endif 00169 cloneNode(bool deep) const = 0; 00170 00172 00174 00191 virtual XalanNode* 00192 insertBefore( 00193 XalanNode* newChild, 00194 XalanNode* refChild) = 0; 00195 00209 virtual XalanNode* 00210 replaceChild( 00211 XalanNode* newChild, 00212 XalanNode* oldChild) = 0; 00213 00221 virtual XalanNode* 00222 removeChild(XalanNode* oldChild) = 0; 00223 00235 virtual XalanNode* 00236 appendChild(XalanNode* newChild) = 0; 00237 00239 00241 00249 virtual bool 00250 hasChildNodes() const = 0; 00251 00252 00254 00256 00270 virtual void 00271 setNodeValue(const XalanDOMString& nodeValue) = 0; 00272 00274 00276 00293 virtual void 00294 normalize() = 0; 00295 00309 virtual bool 00310 isSupported( 00311 const XalanDOMString& feature, 00312 const XalanDOMString& version) const = 0; 00313 00327 virtual const XalanDOMString& 00328 getNamespaceURI() const = 0; 00329 00334 virtual const XalanDOMString& 00335 getPrefix() const = 0; 00336 00344 virtual const XalanDOMString& 00345 getLocalName() const = 0; 00346 00376 virtual void 00377 setPrefix(const XalanDOMString& prefix) = 0; 00378 00384 virtual bool 00385 isIndexed() const = 0; 00386 00393 virtual IndexType 00394 getIndex() const = 0; 00395 00397 00398 // These interfaces are new to XalanCharacterData... 00399 00418 virtual const XalanDOMString& 00419 getData() const = 0; 00420 00428 virtual unsigned int 00429 getLength() const = 0; 00430 00446 virtual XalanDOMString 00447 substringData( 00448 unsigned int offset, 00449 unsigned int count) const = 0; 00450 00452 00463 virtual void 00464 appendData(const XalanDOMString& arg) = 0; 00465 00476 virtual void 00477 insertData( 00478 unsigned int offset, 00479 const XalanDOMString& arg) = 0; 00480 00497 virtual void 00498 deleteData( 00499 unsigned int offset, 00500 unsigned int count) = 0; 00501 00520 virtual void 00521 replaceData( 00522 unsigned int offset, 00523 unsigned int count, 00524 const XalanDOMString& arg) = 0; 00525 00527 00528 protected: 00529 00530 XalanCharacterData(const XalanCharacterData& theSource); 00531 00532 XalanCharacterData& 00533 operator=(const XalanCharacterData& theSource); 00534 00535 bool 00536 operator==(const XalanCharacterData& theRHS) const; 00537 00538 private: 00539 }; 00540 00541 00542 00543 XALAN_CPP_NAMESPACE_END 00544 00545 00546 00547 #endif // !defined(XALANCHARACTERDATA_HEADER_GUARD_1357924680)

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.