Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanDocumentFragment.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(XALANDOCUMENTFRAGMENT_HEADER_GUARD_1357924680)
17 #define XALANDOCUMENTFRAGMENT_HEADER_GUARD_1357924680
18 
19 
20 
23 
24 
25 
26 XALAN_CPP_NAMESPACE_BEGIN
27 
28 
29 
30 /*
31  * <meta name="usage" content="experimental"/>
32  *
33  * Base class for the DOM DocumentFragment interface.
34  *
35  * This class is experimental and subject to change!!
36  */
37 
39 {
40 public:
41 
43 
44  virtual
46 
47  // These interfaces are inherited from XalanNode...
48 
49  virtual const XalanDOMString&
50  getNodeName() const = 0;
51 
52  virtual const XalanDOMString&
53  getNodeValue() const = 0;
54 
55  virtual NodeType
56  getNodeType() const = 0;
57 
58  virtual XalanNode*
59  getParentNode() const = 0;
60 
61  virtual const XalanNodeList*
62  getChildNodes() const = 0;
63 
64  virtual XalanNode*
65  getFirstChild() const = 0;
66 
67  virtual XalanNode*
68  getLastChild() const = 0;
69 
70  virtual XalanNode*
71  getPreviousSibling() const = 0;
72 
73  virtual XalanNode*
74  getNextSibling() const = 0;
75 
76  virtual const XalanNamedNodeMap*
77  getAttributes() const = 0;
78 
79  virtual XalanDocument*
80  getOwnerDocument() const = 0;
81 
82 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
83  virtual XalanNode*
84 #else
85  virtual XalanDocumentFragment*
86 #endif
87  cloneNode(bool deep) const = 0;
88 
89  virtual XalanNode*
91  XalanNode* newChild,
92  XalanNode* refChild) = 0;
93 
94  virtual XalanNode*
96  XalanNode* newChild,
97  XalanNode* oldChild) = 0;
98 
99  virtual XalanNode*
100  removeChild(XalanNode* oldChild) = 0;
101 
102  virtual XalanNode*
103  appendChild(XalanNode* newChild) = 0;
104 
105  virtual bool
106  hasChildNodes() const = 0;
107 
108  virtual void
109  setNodeValue(const XalanDOMString& nodeValue) = 0;
110 
111  virtual void
112  normalize() = 0;
113 
114  virtual bool
115  isSupported(
116  const XalanDOMString& feature,
117  const XalanDOMString& version) const = 0;
118 
119  virtual const XalanDOMString&
120  getNamespaceURI() const = 0;
121 
122  virtual const XalanDOMString&
123  getPrefix() const = 0;
124 
125  virtual const XalanDOMString&
126  getLocalName() const = 0;
127 
128  virtual void
129  setPrefix(const XalanDOMString& prefix) = 0;
130 
131  virtual bool
132  isIndexed() const = 0;
133 
134  virtual IndexType
135  getIndex() const = 0;
136 
137 protected:
138 
140 
142  operator=(const XalanDocumentFragment& theSource);
143 
144  bool
145  operator==(const XalanDocumentFragment& theRHS) const;
146 
147 private:
148 };
149 
150 
151 
152 XALAN_CPP_NAMESPACE_END
153 
154 
155 
156 #endif // !defined(XALANDOCUMENTFRAGMENT_HEADER_GUARD_1357924680)

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