Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


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 XALAN_CPP_NAMESPACE_BEGIN
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 XALAN_CPP_NAMESPACE_END
102 
103 
104 
105 #endif // !defined(XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680)
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node.
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node.
#define XALAN_XALANSOURCETREE_EXPORT
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
unsigned long IndexType
Definition: XalanNode.hpp:64

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.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo