Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanAttr.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(XALANATTR_HEADER_GUARD_1357924680)
17 #define XALANATTR_HEADER_GUARD_1357924680
18 
19 
20 
23 
24 
25 
26 XALAN_CPP_NAMESPACE_BEGIN
27 
28 
29 
30 class XalanElement;
31 
32 
33 
34 /*
35  * Base class for the DOM Attr interface.
36  */
37 
39 {
40 public:
41 
42  XalanAttr();
43 
44  virtual
45  ~XalanAttr();
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 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
166  virtual XalanNode*
167 #else
168  virtual XalanAttr*
169 #endif
170  cloneNode(bool deep) const = 0;
171 
173 
175 
192  virtual XalanNode*
193  insertBefore(
194  XalanNode* newChild,
195  XalanNode* refChild) = 0;
196 
210  virtual XalanNode*
211  replaceChild(
212  XalanNode* newChild,
213  XalanNode* oldChild) = 0;
214 
222  virtual XalanNode*
223  removeChild(XalanNode* oldChild) = 0;
224 
236  virtual XalanNode*
237  appendChild(XalanNode* newChild) = 0;
238 
240 
242 
250  virtual bool
251  hasChildNodes() const = 0;
252 
253 
255 
257 
258 
272  virtual void
273  setNodeValue(const XalanDOMString& nodeValue) = 0;
274 
276 
278 
295  virtual void
296  normalize() = 0;
297 
311  virtual bool
312  isSupported(
313  const XalanDOMString& feature,
314  const XalanDOMString& version) const = 0;
315 
329  virtual const XalanDOMString&
330  getNamespaceURI() const = 0;
331 
336  virtual const XalanDOMString&
337  getPrefix() const = 0;
338 
346  virtual const XalanDOMString&
347  getLocalName() const = 0;
348 
378  virtual void
379  setPrefix(const XalanDOMString& prefix) = 0;
380 
386  virtual bool
387  isIndexed() const = 0;
388 
395  virtual IndexType
396  getIndex() const = 0;
397 
399 
400  // These interfaces are new to XalanAttr...
401 
408  virtual const XalanDOMString&
409  getName() const = 0;
410 
418  virtual bool
419  getSpecified() const = 0;
420 
427  virtual const XalanDOMString&
428  getValue() const = 0;
429 
431 
433 
440  virtual void
441  setValue(const XalanDOMString& value) = 0;
442 
444 
451  virtual XalanElement*
452  getOwnerElement() const = 0;
454 
455 protected:
456 
457  XalanAttr(const XalanAttr& theSource);
458 
459  XalanAttr&
460  operator=(const XalanAttr& theSource);
461 
462  bool
463  operator==(const XalanAttr& theRHS) const;
464 
465 private:
466 };
467 
468 
469 
470 XALAN_CPP_NAMESPACE_END
471 
472 
473 
474 #endif // !defined(XALANATTR_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