Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanSourceTreeAttrNS.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(XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680)
17 #define XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
26 
27 
28 
29 XALAN_CPP_NAMESPACE_BEGIN
30 
31 
32 
33 /*
34  * <meta name="usage" content="experimental"/>
35  *
36  * Base class for the Xalan source tree Attr interface.
37  *
38  * This class is experimental and subject to change!!
39  */
40 
42 {
43 public:
44 
57  const XalanDOMString& theName,
58  const XalanDOMString& theLocalName,
59  const XalanDOMString& theNamespaceURI,
60  const XalanDOMString& thePrefix,
61  const XalanDOMString& theValue,
62  XalanSourceTreeElement* theOwnerElement = 0,
63  IndexType theIndex = 0);
64 
65  virtual
67 
68 
69 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
70  virtual XalanNode*
71 #else
72  virtual XalanSourceTreeAttrNS*
73 #endif
74  cloneNode(bool deep) const;
75 
76  virtual const XalanDOMString&
77  getNamespaceURI() const;
78 
79  virtual const XalanDOMString&
80  getPrefix() const;
81 
82  virtual const XalanDOMString&
83  getLocalName() const;
84 
85 protected:
86 
88  const XalanSourceTreeAttrNS& theSource,
89  bool deep = false);
90 
92  const XalanSourceTreeAttr& theSource,
93  bool deep = false);
94 
95 private:
96 
97  // Not defined...
99  operator=(const XalanSourceTreeAttrNS& theSource);
100 
101  bool
102  operator==(const XalanSourceTreeAttrNS& theRHS) const;
103 
104  // Data members...
105  const XalanDOMString& m_localName;
106 
107  const XalanDOMString& m_prefix;
108 
109  const XalanDOMString& m_namespaceURI;
110 };
111 
112 
113 
114 XALAN_CPP_NAMESPACE_END
115 
116 
117 
118 #endif // !defined(XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
Definition: XalanNode.hpp:44
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix 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.
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:33
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
Definition: XalanSourceTreeAttr.hpp:50
Definition: XalanDOMString.hpp:42
Definition: XalanSourceTreeAttrNS.hpp:41
unsigned long IndexType
Definition: XalanNode.hpp:70
virtual XalanSourceTreeAttr * cloneNode(bool deep) const
Returns a duplicate of this node.
Definition: XalanSourceTreeElement.hpp:44

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