Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanEntity.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(XALANENTITY_HEADER_GUARD_1357924680)
17 #define XALANENTITY_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 Entity interface.
34  *
35  * This class is experimental and subject to change!!
36  */
37 
39 {
40 public:
41 
42  XalanEntity();
43 
44  virtual
45  ~XalanEntity();
46 
47 
48  // These interfaces are inherited from XalanNode...
49 
50  virtual const XalanDOMString&
51  getNodeName() const = 0;
52 
56  virtual const XalanDOMString&
57  getNodeValue() const = 0;
58 
62  virtual NodeType
63  getNodeType() const = 0;
64 
74  virtual XalanNode*
75  getParentNode() const = 0;
76 
90  virtual const XalanNodeList*
91  getChildNodes() const = 0;
92 
98  virtual XalanNode*
99  getFirstChild() const = 0;
100 
106  virtual XalanNode*
107  getLastChild() const = 0;
108 
114  virtual XalanNode*
115  getPreviousSibling() const = 0;
116 
122  virtual XalanNode*
123  getNextSibling() const = 0;
124 
129  virtual const XalanNamedNodeMap*
130  getAttributes() const = 0;
131 
141  virtual XalanDocument*
142  getOwnerDocument() const = 0;
143 
145 
147 
166  virtual XalanNode*
167  cloneNode(bool deep) const = 0;
168 
170 
172 
189  virtual XalanNode*
190  insertBefore(
191  XalanNode* newChild,
192  XalanNode* refChild) = 0;
193 
207  virtual XalanNode*
208  replaceChild(
209  XalanNode* newChild,
210  XalanNode* oldChild) = 0;
211 
219  virtual XalanNode*
220  removeChild(XalanNode* oldChild) = 0;
221 
233  virtual XalanNode*
234  appendChild(XalanNode* newChild) = 0;
235 
237 
239 
247  virtual bool
248  hasChildNodes() const = 0;
249 
250 
252 
254 
255 
269  virtual void
270  setNodeValue(const XalanDOMString& nodeValue) = 0;
271 
273 
275 
292  virtual void
293  normalize() = 0;
294 
308  virtual bool
309  isSupported(
310  const XalanDOMString& feature,
311  const XalanDOMString& version) const = 0;
312 
326  virtual const XalanDOMString&
327  getNamespaceURI() const = 0;
328 
333  virtual const XalanDOMString&
334  getPrefix() const = 0;
335 
343  virtual const XalanDOMString&
344  getLocalName() const = 0;
345 
375  virtual void
376  setPrefix(const XalanDOMString& prefix) = 0;
377 
383  virtual bool
384  isIndexed() const = 0;
385 
392  virtual IndexType
393  getIndex() const = 0;
394 
396 
397  // These interfaces are new to XalanEntity...
398 
406  virtual const XalanDOMString&
407  getPublicId() const = 0;
408 
416  virtual const XalanDOMString&
417  getSystemId() const = 0;
418 
424  virtual const XalanDOMString&
425  getNotationName() const = 0;
426 
427 protected:
428 
429  XalanEntity(const XalanEntity& theSource);
430 
431  XalanEntity&
432  operator=(const XalanEntity& theSource);
433 
434  bool
435  operator==(const XalanEntity& theRHS) const;
436 
437 private:
438 };
439 
440 
441 
442 XALAN_CPP_NAMESPACE_END
443 
444 
445 
446 #endif // !defined(XALANENTITY_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