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