Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

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

XalanSourceTreeElementNA.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(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             const XalanDOMString&       theTagName,
00053             XalanSourceTreeDocument*    theOwnerDocument,
00054             XalanNode*                  theParentNode = 0,
00055             XalanNode*                  thePreviousSibling = 0,
00056             XalanNode*                  theNextSibling = 0,
00057             IndexType                   theIndex = 0);
00058 
00059     virtual
00060     ~XalanSourceTreeElementNA();
00061 
00062 
00063     virtual const XalanNamedNodeMap*
00064     getAttributes() const;
00065 
00066 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
00067     virtual XalanNode*
00068 #else
00069     virtual XalanSourceTreeElementNA*
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     virtual const XalanDOMString&
00083     getAttribute(const XalanDOMString&      name) const;
00084 
00085     virtual XalanAttr*
00086     getAttributeNode(const XalanDOMString&      name) const;
00087 
00088     virtual const XalanDOMString&
00089     getAttributeNS(
00090             const XalanDOMString&   namespaceURI,
00091             const XalanDOMString&   localName) const;
00092 
00093     virtual XalanAttr*
00094     getAttributeNodeNS(
00095             const XalanDOMString&   namespaceURI,
00096             const XalanDOMString&   localName) const;
00097 
00098 
00099     // public interfaces not inherited from XalanElement...
00100 
00101     XalanSourceTreeElementNA*
00102     clone(bool  deep) const
00103     {
00104         return new XalanSourceTreeElementNA(*this, deep);
00105     }
00106 
00107 protected:
00108 
00109     XalanSourceTreeElementNA(
00110             const XalanSourceTreeElementNA&     theSource,
00111             bool                                deep = false);
00112 
00113     static const XalanEmptyNamedNodeMap     s_emptyAttributes;
00114 
00115 private:
00116 
00117     // Not implemented...
00118     XalanSourceTreeElementNA&
00119     operator=(const XalanSourceTreeElementNA&   theSource);
00120 
00121     bool
00122     operator==(const XalanSourceTreeElementNA&  theRHS) const;
00123 };
00124 
00125 
00126 
00127 XALAN_CPP_NAMESPACE_END
00128 
00129 
00130 
00131 #endif  // !defined(XALANSOURCETREEELEMENTNA_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.