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(XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680) 00019 #define XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680 00020 00021 00022 00023 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00024 00025 00026 #include <xalanc/Include/XalanMemMgrAutoPtr.hpp> 00027 00028 00029 #include <xalanc/XalanDOM/XalanCDATASection.hpp> 00030 00031 00032 00033 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp> 00034 00035 00036 00037 XALAN_CPP_NAMESPACE_BEGIN 00038 00039 00040 00041 class XercesWrapperNavigator; 00042 00043 00044 00045 class XALAN_XERCESPARSERLIAISON_EXPORT XercesCDATASectionWrapper : public XalanCDATASection 00046 { 00047 public: 00048 00049 XercesCDATASectionWrapper( 00050 const DOMCDATASectionType* theXercesCDATASection, 00051 const XercesWrapperNavigator& theNavigator); 00052 00053 static XercesCDATASectionWrapper* 00054 create( MemoryManager& theManager, 00055 const DOMCDATASectionType* theXercesCDATASection, 00056 const XercesWrapperNavigator& theNavigator); 00057 00058 virtual 00059 ~XercesCDATASectionWrapper(); 00060 00061 00062 // These interfaces are inherited from XalanCDATASection... 00063 00064 virtual const XalanDOMString& 00065 getNodeName() const; 00066 00067 virtual const XalanDOMString& 00068 getNodeValue() const; 00069 00070 virtual NodeType 00071 getNodeType() const; 00072 00073 virtual XalanNode* 00074 getParentNode() const; 00075 00076 virtual const XalanNodeList* 00077 getChildNodes() const; 00078 00079 virtual XalanNode* 00080 getFirstChild() const; 00081 00082 virtual XalanNode* 00083 getLastChild() const; 00084 00085 virtual XalanNode* 00086 getPreviousSibling() const; 00087 00088 virtual XalanNode* 00089 getNextSibling() const; 00090 00091 virtual const XalanNamedNodeMap* 00092 getAttributes() const; 00093 00094 virtual XalanDocument* 00095 getOwnerDocument() const; 00096 00097 virtual const XalanDOMString& 00098 getNamespaceURI() const; 00099 00100 virtual const XalanDOMString& 00101 getPrefix() const; 00102 00103 virtual const XalanDOMString& 00104 getLocalName() const; 00105 00106 virtual bool 00107 isIndexed() const; 00108 00109 virtual IndexType 00110 getIndex() const; 00111 00112 virtual const XalanDOMString& 00113 getData() const; 00114 00115 virtual bool 00116 isWhitespace() const; 00117 00118 /** 00119 * Get the Xerces node this instance represent. 00120 * 00121 * @return The Xerces node 00122 */ 00123 const DOMCDATASectionType* 00124 getXercesNode() const 00125 { 00126 return m_xercesNode; 00127 } 00128 00129 private: 00130 00131 // Not implemented... 00132 XercesCDATASectionWrapper(const XercesCDATASectionWrapper& theSource); 00133 00134 XercesCDATASectionWrapper& 00135 operator=(const XercesCDATASectionWrapper& theSource); 00136 00137 bool 00138 operator==(const XercesCDATASectionWrapper& theRHS) const; 00139 00140 // Data members... 00141 const DOMCDATASectionType* m_xercesNode; 00142 00143 const XercesWrapperNavigator& m_navigator; 00144 }; 00145 00146 00147 00148 XALAN_CPP_NAMESPACE_END 00149 00150 00151 00152 #endif // !defined(XERCESCDATASECTIONWRAPPER_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 |
|