Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanNotation.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(XALANNOTATION_HEADER_GUARD_1357924680)
17 #define XALANNOTATION_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 Notation interface.
34  *
35  * This class is experimental and subject to change!!
36  */
37 
39 {
40 public:
41 
42  XalanNotation();
43 
44  virtual
45  ~XalanNotation();
46 
47 
48  // These interfaces are inherited from XalanNode...
49  virtual const XalanDOMString&
50  getNodeName() const = 0;
51 
55  virtual const XalanDOMString&
56  getNodeValue() const = 0;
57 
61  virtual NodeType
62  getNodeType() const = 0;
63 
73  virtual XalanNode*
74  getParentNode() const = 0;
75 
89  virtual const XalanNodeList*
90  getChildNodes() const = 0;
91 
97  virtual XalanNode*
98  getFirstChild() const = 0;
99 
105  virtual XalanNode*
106  getLastChild() const = 0;
107 
113  virtual XalanNode*
114  getPreviousSibling() const = 0;
115 
121  virtual XalanNode*
122  getNextSibling() const = 0;
123 
128  virtual const XalanNamedNodeMap*
129  getAttributes() const = 0;
130 
140  virtual XalanDocument*
141  getOwnerDocument() const = 0;
142 
144 
146 
165  virtual XalanNode*
166  cloneNode(bool deep) const = 0;
167 
169 
171 
188  virtual XalanNode*
189  insertBefore(
190  XalanNode* newChild,
191  XalanNode* refChild) = 0;
192 
206  virtual XalanNode*
207  replaceChild(
208  XalanNode* newChild,
209  XalanNode* oldChild) = 0;
210 
218  virtual XalanNode*
219  removeChild(XalanNode* oldChild) = 0;
220 
232  virtual XalanNode*
233  appendChild(XalanNode* newChild) = 0;
234 
236 
238 
246  virtual bool
247  hasChildNodes() const = 0;
248 
249 
251 
253 
254 
268  virtual void
269  setNodeValue(const XalanDOMString& nodeValue) = 0;
270 
272 
274 
291  virtual void
292  normalize() = 0;
293 
307  virtual bool
308  isSupported(
309  const XalanDOMString& feature,
310  const XalanDOMString& version) const = 0;
311 
325  virtual const XalanDOMString&
326  getNamespaceURI() const = 0;
327 
332  virtual const XalanDOMString&
333  getPrefix() const = 0;
334 
342  virtual const XalanDOMString&
343  getLocalName() const = 0;
344 
374  virtual void
375  setPrefix(const XalanDOMString& prefix) = 0;
376 
382  virtual bool
383  isIndexed() const = 0;
384 
391  virtual IndexType
392  getIndex() const = 0;
393 
395 
396  // These interfaces are new to XalanNotation...
397 
405  virtual const XalanDOMString&
406  getPublicId() const = 0;
407 
415  virtual const XalanDOMString&
416  getSystemId() const = 0;
417 
418 protected:
419 
420  XalanNotation(const XalanNotation& theSource);
421 
423  operator=(const XalanNotation& theSource);
424 
425  bool
426  operator==(const XalanNotation& theRHS) const;
427 
428 private:
429 };
430 
431 
432 
433 XALAN_CPP_NAMESPACE_END
434 
435 
436 
437 #endif // !defined(XALANNOTATION_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