Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanSourceTreeDocumentFragment.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(XALANSOURCETREEDOCUMENTFRAGMENT_HEADER_GUARD_1357924680)
17 #define XALANSOURCETREEDOCUMENTFRAGMENT_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
25 
26 
28 
29 
30 
31 #if !defined(XALAN_NO_COVARIANT_RETURN_TYPE)
33 #endif
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
46 
47 
48 
50 {
51 public:
52 
54  XalanSourceTreeDocument& theOwnerDocument);
55 
57  MemoryManagerType& theManager,
58  const XalanSourceTreeDocumentFragment& theSource,
59  bool deep = false);
60 
61  virtual
63 
64  // These interfaces are inherited from XalanNode...
65 
66  virtual const XalanDOMString&
67  getNodeName() const;
68 
69  virtual const XalanDOMString&
70  getNodeValue() const;
71 
72  virtual NodeType
73  getNodeType() const;
74 
75  virtual XalanNode*
76  getParentNode() const;
77 
78  virtual const XalanNodeList*
79  getChildNodes() const;
80 
81  virtual XalanNode*
82  getFirstChild() const;
83 
84  virtual XalanNode*
85  getLastChild() const;
86 
87  virtual XalanNode*
88  getPreviousSibling() const;
89 
90  virtual XalanNode*
91  getNextSibling() const;
92 
93  virtual const XalanNamedNodeMap*
94  getAttributes() const;
95 
96 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
97  virtual XalanDocument*
98 #else
100 #endif
101  getOwnerDocument() const;
102 
103 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
104  virtual XalanNode*
105 #else
107 #endif
108  cloneNode(bool deep) const;
109 
110  virtual XalanNode*
111  insertBefore(
112  XalanNode* newChild,
113  XalanNode* refChild);
114 
115  virtual XalanNode*
116  replaceChild(
117  XalanNode* newChild,
118  XalanNode* oldChild);
119 
120  virtual XalanNode*
121  removeChild(XalanNode* oldChild);
122 
123  virtual XalanNode*
124  appendChild(XalanNode* newChild);
125 
126  virtual bool
127  hasChildNodes() const;
128 
129  virtual void
130  setNodeValue(const XalanDOMString& nodeValue);
131 
132  virtual void
133  normalize();
134 
135  virtual bool
136  isSupported(
137  const XalanDOMString& feature,
138  const XalanDOMString& version) const;
139 
140  virtual const XalanDOMString&
141  getNamespaceURI() const;
142 
143  virtual const XalanDOMString&
144  getPrefix() const;
145 
146  virtual const XalanDOMString&
147  getLocalName() const;
148 
149  virtual void
150  setPrefix(const XalanDOMString& prefix);
151 
152  virtual bool
153  isIndexed() const;
154 
155  virtual IndexType
156  getIndex() const;
157 
158  // These interfaces are new...
159 
160  void
161  appendChildNode(XalanSourceTreeComment* theChild);
162 
163  void
164  appendChildNode(XalanSourceTreeElement* theChild);
165 
166  void
167  appendChildNode(XalanSourceTreeProcessingInstruction* theChild);
168 
169  void
170  appendChildNode(XalanSourceTreeText* theChild);
171 
172  void
173  clearChildren();
174 
176  clone(bool deep) const;
177 
178 
179 protected:
180 
182  operator=(const XalanSourceTreeDocumentFragment& theSource);
183 
184  bool
185  operator==(const XalanSourceTreeDocumentFragment& theRHS) const;
186 
187 private:
188  MemoryManagerType& m_manager;
189 
190  XalanSourceTreeDocument* const m_ownerDocument;
191 
192  XalanNode* m_firstChild;
193 };
194 
195 
196 
197 XALAN_CPP_NAMESPACE_END
198 
199 
200 
201 #endif // !defined(XALANSOURCETREEDOCUMENTFRAGMENT_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