Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesAttrWrapper.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(XERCESATTRWRAPPER_HEADER_GUARD_1357924680)
17 #define XERCESATTRWRAPPER_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 #include <xercesc/dom/DOMAttr.hpp>
26 
27 
28 
30 
31 
32 
35 
36 
37 
38 XALAN_CPP_NAMESPACE_BEGIN
39 
40 
41 
43 class XalanElement;
44 
45 
46 
48 {
49 public:
50 
52  const DOMAttrType* theXercesAttr,
53  const XercesWrapperNavigator& theNavigator);
54 
55  virtual
57 
58 
59  // These interfaces are inherited from XalanNode...
60  virtual const XalanDOMString&
61  getNodeName() const;
62 
66  virtual const XalanDOMString&
67  getNodeValue() const;
68 
72  virtual NodeType
73  getNodeType() const;
74 
84  virtual XalanNode*
85  getParentNode() const;
86 
100  virtual const XalanNodeList*
101  getChildNodes() const;
102 
108  virtual XalanNode*
109  getFirstChild() const;
110 
116  virtual XalanNode*
117  getLastChild() const;
118 
124  virtual XalanNode*
125  getPreviousSibling() const;
126 
132  virtual XalanNode*
133  getNextSibling() const;
134 
139  virtual const XalanNamedNodeMap*
140  getAttributes() const;
141 
151  virtual XalanDocument*
152  getOwnerDocument() const;
153 
155 
157 
176 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
177  virtual XalanNode*
178 #else
179  virtual XercesAttrWrapper*
180 #endif
181  cloneNode(bool deep) const;
182 
184 
186 
203  virtual XalanNode*
204  insertBefore(
205  XalanNode* newChild,
206  XalanNode* refChild);
207 
221  virtual XalanNode*
222  replaceChild(
223  XalanNode* newChild,
224  XalanNode* oldChild);
225 
233  virtual XalanNode*
234  removeChild(XalanNode* oldChild);
235 
247  virtual XalanNode*
248  appendChild(XalanNode* newChild);
249 
251 
253 
261  virtual bool
262  hasChildNodes() const;
263 
264 
266 
268 
269 
283  virtual void
284  setNodeValue(const XalanDOMString& nodeValue);
285 
287 
289 
306  virtual void
307  normalize();
308 
322  virtual bool
323  isSupported(
324  const XalanDOMString& feature,
325  const XalanDOMString& version) const;
326 
340  virtual const XalanDOMString&
341  getNamespaceURI() const;
342 
347  virtual const XalanDOMString&
348  getPrefix() const;
349 
357  virtual const XalanDOMString&
358  getLocalName() const;
359 
389  virtual void
390  setPrefix(const XalanDOMString& prefix);
391 
392  virtual bool
393  isIndexed() const;
394 
395  virtual IndexType
396  getIndex() const;
397 
399 
400  // These interfaces are inherited from XalanAttr...
401 
408  virtual const XalanDOMString&
409  getName() const;
410 
418  virtual bool
419  getSpecified() const;
420 
427  virtual const XalanDOMString&
428  getValue() const;
429 
431 
433 
440  virtual void
441  setValue(const XalanDOMString& value);
442 
444 
451  virtual XalanElement*
452  getOwnerElement() const;
454 
460  const DOMAttrType*
462  {
463  return m_xercesNode;
464  }
465 
466 private:
467 
468  // Not implemented...
469  XercesAttrWrapper(const XercesAttrWrapper& theSource);
470 
472  operator=(const XercesAttrWrapper& theSource);
473 
474  bool
475  operator==(const XercesAttrWrapper& theRHS) const;
476 
477  // Data members...
478  const DOMAttrType* const m_xercesNode;
479 
480  XercesNodeListWrapper m_children;
481 
482  const XercesWrapperNavigator& m_navigator;
483 };
484 
485 
486 
487 XALAN_CPP_NAMESPACE_END
488 
489 
490 
491 #endif // !defined(XERCESATTRBRIDGE_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