Xalan-C++ API Reference  1.12.0
XalanSourceTreeAttrNS.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(XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680)
19 #define XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
28 
29 
30 
31 namespace XALAN_CPP_NAMESPACE {
32 
33 
34 
35 /*
36  * <meta name="usage" content="experimental"/>
37  *
38  * Base class for the Xalan source tree Attr interface.
39  *
40  * This class is experimental and subject to change!!
41  */
42 
44 {
45 public:
46 
47  /**
48  * Constructor.
49  *
50  * @param theName The name of the attribute
51  * @param theLocalName The local name of the attribute
52  * @param theNamespaceURI The namespace URI of the attribute
53  * @param thePrefix The namespace prefix of the attribute
54  * @param theValue The value of the attribute
55  * @param theOwnerElement The element that owns the instance
56  * @param theIndex The document-order index of the node.
57  */
59  const XalanDOMString& theName,
60  const XalanDOMString& theLocalName,
61  const XalanDOMString& theNamespaceURI,
62  const XalanDOMString& thePrefix,
63  const XalanDOMString& theValue,
64  XalanSourceTreeElement* theOwnerElement = 0,
65  IndexType theIndex = 0);
66 
67  virtual
69 
70 
71  virtual const XalanDOMString&
72  getNamespaceURI() const;
73 
74  virtual const XalanDOMString&
75  getPrefix() const;
76 
77  virtual const XalanDOMString&
78  getLocalName() const;
79 
80 private:
81 
82  // Not defined...
84 
86  operator=(const XalanSourceTreeAttrNS& theSource);
87 
88  bool
89  operator==(const XalanSourceTreeAttrNS& theRHS) const;
90 
91  // Data members...
92  const XalanDOMString& m_localName;
93 
94  const XalanDOMString& m_prefix;
95 
96  const XalanDOMString& m_namespaceURI;
97 };
98 
99 
100 
101 }
102 
103 
104 
105 #endif // !defined(XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680)
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanSourceTreeAttrNS
Definition: XalanSourceTreeAttrNS.hpp:43
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
XalanSourceTreeDefinitions.hpp
XALAN_XALANSOURCETREE_EXPORT
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:35
xalanc::XalanSourceTreeElement
Definition: XalanSourceTreeElement.hpp:46
XalanSourceTreeAttr.hpp
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45