Xalan-C++ API Reference  1.12.0
XObjectResultTreeFragProxyBase.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(XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680)
19 #define XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
27 
28 
31 
32 
33 
34 namespace XALAN_CPP_NAMESPACE {
35 
36 
37 
39 {
40 public:
41 
43 
44  virtual
46 
47 
48  // These interfaces are inherited from XalanDocumentFragment...
49 
50  virtual const XalanDOMString&
51  getNodeName() const;
52 
53  virtual const XalanDOMString&
54  getNodeValue() const;
55 
56  virtual NodeType
57  getNodeType() const;
58 
59  virtual XalanNode*
60  getParentNode() const;
61 
62  virtual const XalanNodeList*
63  getChildNodes() const;
64 
65  virtual XalanNode*
66  getFirstChild() const = 0;
67 
68  virtual XalanNode*
69  getLastChild() const = 0;
70 
71  virtual XalanNode*
73 
74  virtual XalanNode*
75  getNextSibling() const;
76 
77  virtual const XalanNamedNodeMap*
78  getAttributes() const;
79 
80  virtual XalanDocument*
82 
83  virtual const XalanDOMString&
84  getNamespaceURI() const;
85 
86  virtual const XalanDOMString&
87  getPrefix() const;
88 
89  virtual const XalanDOMString&
90  getLocalName() const;
91 
92  virtual bool
93  isIndexed() const;
94 
95  virtual IndexType
96  getIndex() const;
97 
98 protected:
99 
101 
102 private:
103 
104  // Not implemented...
106  operator=(const XObjectResultTreeFragProxyBase& theRHS);
107 
108  bool
110 
111 
112  // Data members...
113  static const XalanDOMString s_emptyString;
114 };
115 
116 
117 
118 }
119 
120 
121 
122 #endif // XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680
xalanc::XObjectResultTreeFragProxyBase::getPrefix
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node.
xalanc::XObjectResultTreeFragProxyBase::getNodeType
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanNode
Definition: XalanNode.hpp:39
xalanc::XObjectResultTreeFragProxyBase::getAttributes
virtual const XalanNamedNodeMap * getAttributes() const
Gets a XalanNamedNodeMap containing the attributes of this node (if it is an XalanElement) or a null ...
xalanc::XObjectResultTreeFragProxyBase::getNextSibling
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
xalanc::XalanNode::NodeType
NodeType
Definition: XalanNode.hpp:48
xalanc::XObjectResultTreeFragProxyBase::getOwnerDocument
virtual XalanDocument * getOwnerDocument() const
Gets the XalanDocument object associated with this node.
xalanc::XalanDocument
Definition: XalanDocument.hpp:37
xalanc::XObjectResultTreeFragProxyBase::XObjectResultTreeFragProxyBase
XObjectResultTreeFragProxyBase(const XObjectResultTreeFragProxyBase &theRHS)
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
XALAN_XPATH_EXPORT
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:35
xalanc::XObjectResultTreeFragProxyBase::getLastChild
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
xalanc::XObjectResultTreeFragProxyBase
Definition: XObjectResultTreeFragProxyBase.hpp:39
xalanc::XObjectResultTreeFragProxyBase::getLocalName
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
xalanc::XalanNode::IndexType
unsigned long IndexType
Definition: XalanNode.hpp:64
xalanc::XObjectResultTreeFragProxyBase::getIndex
virtual IndexType getIndex() const
Get the node's index.
xalanc::XObjectResultTreeFragProxyBase::getPreviousSibling
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
XalanMemoryManagement.hpp
xalanc::XalanNodeList
Definition: XalanNodeList.hpp:37
xalanc::XObjectResultTreeFragProxyBase::getParentNode
virtual XalanNode * getParentNode() const
Gets the parent of this node.
xalanc::XObjectResultTreeFragProxyBase::getNamespaceURI
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node.
xalanc::XObjectResultTreeFragProxyBase::getChildNodes
virtual const XalanNodeList * getChildNodes() const
Gets a XalanNodeList that contains all children of this node.
xalanc::XObjectResultTreeFragProxyBase::XObjectResultTreeFragProxyBase
XObjectResultTreeFragProxyBase()
xalanc::XObjectResultTreeFragProxyBase::getFirstChild
virtual XalanNode * getFirstChild() const =0
Gets the first child of this node.
xalanc::XalanNamedNodeMap
Definition: XalanNamedNodeMap.hpp:37
xalanc::XObjectResultTreeFragProxyBase::isIndexed
virtual bool isIndexed() const
Determine if the document is node-order indexed.
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:46
xalanc::XObjectResultTreeFragProxyBase::~XObjectResultTreeFragProxyBase
virtual ~XObjectResultTreeFragProxyBase()
XalanDocumentFragment.hpp
xalanc::XalanDocumentFragment
Definition: XalanDocumentFragment.hpp:33
xalanc::XObjectResultTreeFragProxyBase::getNodeValue
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
XalanNodeList.hpp
XPathDefinitions.hpp
xalanc::XObjectResultTreeFragProxyBase::getNodeName
virtual const XalanDOMString & getNodeName() const
Gets the name of this node, depending on its type.