00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #if !defined(XALANCHARACTERDATA_HEADER_GUARD_1357924680) 00019 #define XALANCHARACTERDATA_HEADER_GUARD_1357924680 00020 00021 00022 00023 #include <xalanc/XalanDOM/XalanDOMDefinitions.hpp> 00024 #include <xalanc/XalanDOM/XalanNode.hpp> 00025 00026 00027 00028 XALAN_CPP_NAMESPACE_BEGIN 00029 00030 00031 00032 class XALAN_DOM_EXPORT XalanCharacterData : public XalanNode 00033 { 00034 public: 00035 00036 XalanCharacterData(); 00037 00038 virtual 00039 ~XalanCharacterData(); 00040 00041 // These interfaces are inherited from XalanNode... 00042 virtual const XalanDOMString& 00043 getNodeName() const = 0; 00044 00045 virtual const XalanDOMString& 00046 getNodeValue() const = 0; 00047 00048 virtual NodeType 00049 getNodeType() const = 0; 00050 00051 virtual XalanNode* 00052 getParentNode() const = 0; 00053 00054 virtual const XalanNodeList* 00055 getChildNodes() const = 0; 00056 00057 virtual XalanNode* 00058 getFirstChild() const = 0; 00059 00060 virtual XalanNode* 00061 getLastChild() const = 0; 00062 00063 virtual XalanNode* 00064 getPreviousSibling() const = 0; 00065 00066 virtual XalanNode* 00067 getNextSibling() const = 0; 00068 00069 virtual const XalanNamedNodeMap* 00070 getAttributes() const = 0; 00071 00072 virtual XalanDocument* 00073 getOwnerDocument() const = 0; 00074 00075 virtual const XalanDOMString& 00076 getNamespaceURI() const = 0; 00077 00078 virtual const XalanDOMString& 00079 getPrefix() const = 0; 00080 00081 virtual const XalanDOMString& 00082 getLocalName() const = 0; 00083 00084 virtual bool 00085 isIndexed() const = 0; 00086 00087 virtual IndexType 00088 getIndex() const = 0; 00089 00090 // These interfaces are new to XalanCharacterData... 00091 00092 /** 00093 * Returns the character data of the node that implements this interface. 00094 * 00095 */ 00096 virtual const XalanDOMString& 00097 getData() const = 0; 00098 00099 protected: 00100 00101 XalanCharacterData(const XalanCharacterData& theSource); 00102 00103 XalanCharacterData& 00104 operator=(const XalanCharacterData& theSource); 00105 00106 bool 00107 operator==(const XalanCharacterData& theRHS) const; 00108 00109 private: 00110 }; 00111 00112 00113 00114 XALAN_CPP_NAMESPACE_END 00115 00116 00117 00118 #endif // !defined(XALANCHARACTERDATA_HEADER_GUARD_1357924680)
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|