Xalan-C++ API Reference  1.12.0
XalanSourceTreeElementANS.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XALANSOURCETREEELEMENTANS_HEADER_GUARD_1357924680)
19 #define XALANSOURCETREEELEMENTANS_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
28 
29 
30 
31 namespace XALAN_CPP_NAMESPACE {
32 
33 
34 
36 {
37 public:
38 
39  /**
40  * Constructor.
41  *
42  * @param theTagName The tag name of the element
43  * @param theLocalName The local name of the attribute
44  * @param theNamespaceURI The namespace URI of the attribute
45  * @param thePrefix The namespace prefix of the attribute
46  * @param theOwnerDocument The document that owns the instance
47  * @param theAttributes An array of pointers to the attribute instances for the element
48  * @param theAttributeCount The number of attributes.
49  * @param theParentNode The parent node, if any.
50  * @param thePreviousSibling The previous sibling, if any.
51  * @param theNextSibling The next sibling, if any.
52  * @param theIndex The document-order index of the node.
53  */
55  MemoryManager& theManager,
56  const XalanDOMString& theTagName,
57  const XalanDOMString& theLocalName,
58  const XalanDOMString& theNamespaceURI,
59  const XalanDOMString& thePrefix,
60  XalanSourceTreeDocument* theOwnerDocument,
61  XalanSourceTreeAttr** theAttributes,
62  XalanSize_t theAttributeCount,
63  XalanNode* theParentNode = 0,
64  XalanNode* thePreviousSibling = 0,
65  XalanNode* theNextSibling = 0,
66  IndexType theIndex = 0);
67 
68  virtual
70 
71 
72  virtual const XalanDOMString&
73  getNamespaceURI() const;
74 
75  virtual const XalanDOMString&
76  getPrefix() const;
77 
78  virtual const XalanDOMString&
79  getLocalName() const;
80 
81 private:
82 
83  // Not implemented...
85 
87  operator=(const XalanSourceTreeElementANS& theSource);
88 
89  bool
90  operator==(const XalanSourceTreeElementANS& theRHS) const;
91 
92 
93  // Data members...
94  const XalanDOMString& m_localName;
95 
96  const XalanDOMString& m_prefix;
97 
98  const XalanDOMString& m_namespaceURI;
99 };
100 
101 
102 
103 }
104 
105 
106 
107 #endif // !defined(XALANSOURCETREEELEMENTANS_HEADER_GUARD_1357924680)
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanNode
Definition: XalanNode.hpp:38
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
xalanc::XalanSourceTreeAttr
Definition: XalanSourceTreeAttr.hpp:52
xalanc::XalanNode::IndexType
unsigned long IndexType
Definition: XalanNode.hpp:64
xalanc::XalanSourceTreeElementANS
Definition: XalanSourceTreeElementANS.hpp:35
XalanSourceTreeDefinitions.hpp
xalanc::XalanSourceTreeElementA
Definition: XalanSourceTreeElementA.hpp:39
XalanSourceTreeElementA.hpp
XALAN_XALANSOURCETREE_EXPORT
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:35
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45
xalanc::XalanSourceTreeDocument
Definition: XalanSourceTreeDocument.hpp:78