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
31namespace 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{
45public:
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 */
66
67 virtual
69
70
71 virtual const XalanDOMString&
73
74 virtual const XalanDOMString&
75 getPrefix() const;
76
77 virtual const XalanDOMString&
78 getLocalName() const;
79
80private:
81
82 // Not defined...
84
86 operator=(const XalanSourceTreeAttrNS& theSource);
87
88 bool
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)
#define XALAN_XALANSOURCETREE_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node.
XalanSourceTreeAttrNS(const XalanDOMString &theName, const XalanDOMString &theLocalName, const XalanDOMString &theNamespaceURI, const XalanDOMString &thePrefix, const XalanDOMString &theValue, XalanSourceTreeElement *theOwnerElement=0, IndexType theIndex=0)
Constructor.
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node.
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)