Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XObjectResultTreeFragProxyBase.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(XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680)
17 #define XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
25 
26 
29 
30 
31 
33 
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
42 {
43 public:
44 
46 
47  virtual
49 
50 
51  // These interfaces are inherited from XalanDocumentFragment...
52 
53  virtual const XalanDOMString&
54  getNodeName() const;
55 
56  virtual const XalanDOMString&
57  getNodeValue() const;
58 
59  virtual NodeType
60  getNodeType() const;
61 
62  virtual XalanNode*
63  getParentNode() const;
64 
65  virtual const XalanNodeList*
66  getChildNodes() const;
67 
68  virtual XalanNode*
69  getFirstChild() const = 0;
70 
71  virtual XalanNode*
72  getLastChild() const = 0;
73 
74  virtual XalanNode*
75  getPreviousSibling() const;
76 
77  virtual XalanNode*
78  getNextSibling() const;
79 
80  virtual const XalanNamedNodeMap*
81  getAttributes() const;
82 
83  virtual XalanDocument*
84  getOwnerDocument() const;
85 
86 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
87  virtual XalanNode*
88 #else
90 #endif
91  cloneNode(bool deep) const;
92 
93  virtual XalanNode*
95  XalanNode* newChild,
96  XalanNode* refChild);
97 
98  virtual XalanNode*
100  XalanNode* newChild,
101  XalanNode* oldChild);
102 
103  virtual XalanNode*
104  removeChild(XalanNode* oldChild);
105 
106  virtual XalanNode*
107  appendChild(XalanNode* newChild);
108 
109  virtual bool
110  hasChildNodes() const = 0;
111 
112  virtual void
113  setNodeValue(const XalanDOMString& nodeValue);
114 
115  virtual void
116  normalize();
117 
118  virtual bool
119  isSupported(
120  const XalanDOMString& feature,
121  const XalanDOMString& version) const;
122 
123  virtual const XalanDOMString&
124  getNamespaceURI() const;
125 
126  virtual const XalanDOMString&
127  getPrefix() const;
128 
129  virtual const XalanDOMString&
130  getLocalName() const;
131 
132  virtual void
133  setPrefix(const XalanDOMString& prefix);
134 
135  virtual bool
136  isIndexed() const;
137 
138  virtual IndexType
139  getIndex() const;
140 
141 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
142  virtual XalanDocumentFragment*
143 #else
145 #endif
146  clone(bool deep) const;
147 
148 protected:
149 
151 
152 private:
153 
154  // Not implemented...
157 
158  bool
160 
161 
162  // Data members...
163  static const XalanDOMString s_emptyString;
164 };
165 
166 
167 
168 XALAN_CPP_NAMESPACE_END
169 
170 
171 
172 #endif // XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680
Definition: XalanNode.hpp:44
Definition: XalanNodeList.hpp:42
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
virtual void normalize()=0
Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes...
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
virtual XalanNode * getFirstChild() const =0
Gets the first child of this node.
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
virtual XalanNode * appendChild(XalanNode *newChild)=0
Adds the node newChild to the end of the list of children of this node.
virtual IndexType getIndex() const =0
Get the node's index.
virtual XalanDocumentFragment * cloneNode(bool deep) const =0
Returns a duplicate of this node.
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
Definition: XalanDocumentFragment.hpp:38
virtual void setNodeValue(const XalanDOMString &nodeValue)=0
Sets the value of the node.
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
virtual XalanDocument * getOwnerDocument() const =0
Gets the Document object associated with this node.
NodeType
Definition: XalanNode.hpp:53
virtual bool hasChildNodes() const =0
This is a convenience method to allow easy determination of whether a node has any children...
virtual XalanNode * removeChild(XalanNode *oldChild)=0
Removes the child node indicated by oldChild from the list of children, and returns it...
virtual const XalanDOMString & getNodeName() const =0
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)=0
Inserts the node newChild before the existing child node refChild.
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
XalanDocumentFragment & operator=(const XalanDocumentFragment &theSource)
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const =0
Tests whether the DOM implementation implements a specific feature and that feature is supported by t...
virtual void setPrefix(const XalanDOMString &prefix)=0
Set the namespace prefix of this node.
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
Definition: XObjectResultTreeFragProxyBase.hpp:41
Definition: XalanNamedNodeMap.hpp:42
virtual const XalanNodeList * getChildNodes() const =0
Gets a NodeList that contains all children of this node.
bool operator==(const XalanDocumentFragment &theRHS) const
Definition: XalanDocument.hpp:51
virtual bool isIndexed() const =0
Determine if the document is node-order indexed.
Definition: XalanDOMString.hpp:42
unsigned long IndexType
Definition: XalanNode.hpp:70
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)=0
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node...
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise...
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
virtual XalanNode * getNextSibling() const =0
Gets the node immediately following this node.

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