Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanSourceTreeElementNANS.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XALANSOURCETREEELEMENTNANS_HEADER_GUARD_1357924680)
17 #define XALANSOURCETREEELEMENTNANS_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
26 
27 
28 
29 XALAN_CPP_NAMESPACE_BEGIN
30 
31 
32 
34 {
35 public:
36 
51  MemoryManagerType& theManager,
52  const XalanDOMString& theTagName,
53  const XalanDOMString& theLocalName,
54  const XalanDOMString& theNamespaceURI,
55  const XalanDOMString& thePrefix,
56  XalanSourceTreeDocument* theOwnerDocument,
57  XalanNode* theParentNode = 0,
58  XalanNode* thePreviousSibling = 0,
59  XalanNode* theNextSibling = 0,
60  IndexType theIndex = 0);
61 
62  virtual
64 
65 
66 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
67  virtual XalanNode*
68 #else
70 #endif
71  cloneNode(bool deep) const;
72 
73  virtual const XalanDOMString&
74  getNamespaceURI() const;
75 
76  virtual const XalanDOMString&
77  getPrefix() const;
78 
79  virtual const XalanDOMString&
80  getLocalName() const;
81 
82  // public interfaces not inherited from XalanElement...
83 
85  clone(bool deep) const
86  {
87  MemoryManagerType& theManager = const_cast<XalanSourceTreeElementNANS*>(this)->getMemoryManager();
88 
89  return XalanSourceTreeElementNANS::create(theManager, *this, deep);
90  }
91 
92 protected:
93 
95  MemoryManagerType& theManager,
96  const XalanSourceTreeElementNANS& theSource,
97  bool deep = false);
98 
100  create(
101  MemoryManagerType& theManager,
102  const XalanSourceTreeElementNANS& theSource,
103  bool deep = false);
104 
105 private:
106 
107  // Not implemented...
109  operator=(const XalanSourceTreeElementNANS& theSource);
110 
111  bool
112  operator==(const XalanSourceTreeElementNANS& theRHS) const;
113 
114 
115  // Data members...
116  const XalanDOMString& m_localName;
117 
118  const XalanDOMString& m_prefix;
119 
120  const XalanDOMString& m_namespaceURI;
121 };
122 
123 
124 
125 XALAN_CPP_NAMESPACE_END
126 
127 
128 
129 #endif // !defined(XALANSOURCETREEELEMENTNANS_HEADER_GUARD_1357924680)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
Definition: XalanNode.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
XalanSourceTreeElementNANS * clone(bool deep) const
Definition: XalanSourceTreeElementNANS.hpp:85
static XalanSourceTreeElementNA * create(MemoryManagerType &theManager, const XalanSourceTreeElementNA &theSource, bool deep=false)
MemoryManagerType & getMemoryManager()
Definition: XalanSourceTreeElement.hpp:73
Definition: XalanSourceTreeElementNANS.hpp:33
static XalanSourceTreeElementNANS * create(MemoryManagerType &theManager, const XalanSourceTreeElementNANS &theSource, bool deep=false)
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:33
Definition: XalanSourceTreeElementNA.hpp:37
Definition: XalanDOMString.hpp:42
unsigned long IndexType
Definition: XalanNode.hpp:70
Definition: XalanSourceTreeDocument.hpp:73
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
virtual XalanSourceTreeElementNA * cloneNode(bool deep) const
Returns a duplicate of this node.
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo