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(XALANSOURCETREEELEMENTNA_HEADER_GUARD_1357924680) 00017 #define XALANSOURCETREEELEMENTNA_HEADER_GUARD_1357924680 00018 00019 00020 00021 #include <xalanc/XalanSourceTree/XalanSourceTreeDefinitions.hpp> 00022 00023 00024 00025 #include <xalanc/XalanDOM/XalanEmptyNamedNodeMap.hpp> 00026 00027 00028 00029 #include <xalanc/XalanSourceTree/XalanSourceTreeElement.hpp> 00030 00031 00032 00033 XALAN_CPP_NAMESPACE_BEGIN 00034 00035 00036 00037 class XALAN_XALANSOURCETREE_EXPORT XalanSourceTreeElementNA : public XalanSourceTreeElement 00038 { 00039 public: 00040 00051 XalanSourceTreeElementNA( 00052 MemoryManagerType& theManager, 00053 const XalanDOMString& theTagName, 00054 XalanSourceTreeDocument* theOwnerDocument, 00055 XalanNode* theParentNode = 0, 00056 XalanNode* thePreviousSibling = 0, 00057 XalanNode* theNextSibling = 0, 00058 IndexType theIndex = 0); 00059 00060 virtual 00061 ~XalanSourceTreeElementNA(); 00062 00063 00064 virtual const XalanNamedNodeMap* 00065 getAttributes() const; 00066 00067 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00068 virtual XalanNode* 00069 #else 00070 virtual XalanSourceTreeElementNA* 00071 #endif 00072 cloneNode(bool deep) const; 00073 00074 virtual const XalanDOMString& 00075 getNamespaceURI() const; 00076 00077 virtual const XalanDOMString& 00078 getPrefix() const; 00079 00080 virtual const XalanDOMString& 00081 getLocalName() const; 00082 00083 virtual const XalanDOMString& 00084 getAttribute(const XalanDOMString& name) const; 00085 00086 virtual XalanAttr* 00087 getAttributeNode(const XalanDOMString& name) const; 00088 00089 virtual const XalanDOMString& 00090 getAttributeNS( 00091 const XalanDOMString& namespaceURI, 00092 const XalanDOMString& localName) const; 00093 00094 virtual XalanAttr* 00095 getAttributeNodeNS( 00096 const XalanDOMString& namespaceURI, 00097 const XalanDOMString& localName) const; 00098 00099 00100 // public interfaces not inherited from XalanElement... 00101 00102 XalanSourceTreeElementNA* 00103 clone(bool deep) const 00104 { 00105 MemoryManagerType& theManager = const_cast<XalanSourceTreeElementNA*>(this)->getMemoryManager(); 00106 00107 return XalanSourceTreeElementNA::create(theManager, *this, deep); 00108 } 00109 00110 protected: 00111 00112 XalanSourceTreeElementNA( 00113 MemoryManagerType& theManager, 00114 const XalanSourceTreeElementNA& theSource, 00115 bool deep = false); 00116 00117 static XalanSourceTreeElementNA* 00118 create( 00119 MemoryManagerType& theManager, 00120 const XalanSourceTreeElementNA& theSource, 00121 bool deep = false); 00122 00123 static const XalanEmptyNamedNodeMap s_emptyAttributes; 00124 00125 private: 00126 00127 // Not implemented... 00128 XalanSourceTreeElementNA& 00129 operator=(const XalanSourceTreeElementNA& theSource); 00130 00131 bool 00132 operator==(const XalanSourceTreeElementNA& theRHS) const; 00133 }; 00134 00135 00136 00137 XALAN_CPP_NAMESPACE_END 00138 00139 00140 00141 #endif // !defined(XALANSOURCETREEELEMENTNA_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.10 |
|