Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesAttrBridge.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(XERCESATTRBRIDGE_HEADER_GUARD_1357924680)
17 #define XERCESATTRBRIDGE_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 #if XERCES_VERSION_MAJOR >= 2
26 #include <xercesc/dom/deprecated/DOM_Attr.hpp>
27 #else
28 #include <xercesc/dom/DOM_Attr.hpp>
29 #endif
30 
31 
32 
34 
35 
36 
39 
40 
41 
42 XALAN_CPP_NAMESPACE_BEGIN
43 
44 
45 
47 class XalanElement;
48 
49 
56 {
57 public:
58 
60  const DOM_AttrType& theXercesAttr,
61  const XercesBridgeNavigator& theNavigator);
62 
63  virtual
65 
66 
67  // These interfaces are inherited from XalanNode...
68  virtual const XalanDOMString&
69  getNodeName() const;
70 
74  virtual const XalanDOMString&
75  getNodeValue() const;
76 
80  virtual NodeType
81  getNodeType() const;
82 
92  virtual XalanNode*
93  getParentNode() const;
94 
108  virtual const XalanNodeList*
109  getChildNodes() const;
110 
116  virtual XalanNode*
117  getFirstChild() const;
118 
124  virtual XalanNode*
125  getLastChild() const;
126 
132  virtual XalanNode*
133  getPreviousSibling() const;
134 
140  virtual XalanNode*
141  getNextSibling() const;
142 
147  virtual const XalanNamedNodeMap*
148  getAttributes() const;
149 
159  virtual XalanDocument*
160  getOwnerDocument() const;
161 
163 
165 
184 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
185  virtual XalanNode*
186 #else
187  virtual XercesAttrBridge*
188 #endif
189  cloneNode(bool deep) const;
190 
192 
194 
211  virtual XalanNode*
212  insertBefore(
213  XalanNode* newChild,
214  XalanNode* refChild);
215 
229  virtual XalanNode*
230  replaceChild(
231  XalanNode* newChild,
232  XalanNode* oldChild);
233 
241  virtual XalanNode*
242  removeChild(XalanNode* oldChild);
243 
255  virtual XalanNode*
256  appendChild(XalanNode* newChild);
257 
259 
261 
269  virtual bool
270  hasChildNodes() const;
271 
272 
274 
276 
277 
291  virtual void
292  setNodeValue(const XalanDOMString& nodeValue);
293 
295 
297 
314  virtual void
315  normalize();
316 
330  virtual bool
331  isSupported(
332  const XalanDOMString& feature,
333  const XalanDOMString& version) const;
334 
348  virtual const XalanDOMString&
349  getNamespaceURI() const;
350 
355  virtual const XalanDOMString&
356  getPrefix() const;
357 
365  virtual const XalanDOMString&
366  getLocalName() const;
367 
397  virtual void
398  setPrefix(const XalanDOMString& prefix);
399 
400  virtual bool
401  isIndexed() const;
402 
403  virtual IndexType
404  getIndex() const;
405 
407 
408  // These interfaces are inherited from XalanAttr...
409 
416  virtual const XalanDOMString&
417  getName() const;
418 
426  virtual bool
427  getSpecified() const;
428 
435  virtual const XalanDOMString&
436  getValue() const;
437 
439 
441 
448  virtual void
449  setValue(const XalanDOMString& value);
450 
452 
459  virtual XalanElement*
460  getOwnerElement() const;
462 
470  {
471  return m_xercesNode;
472  }
473 
474 private:
475 
476  // Not implemented...
477  XercesAttrBridge(const XercesAttrBridge& theSource);
478 
480  operator=(const XercesAttrBridge& theSource);
481 
482  bool
483  operator==(const XercesAttrBridge& theRHS) const;
484 
485  // Data members...
486  DOM_AttrType m_xercesNode;
487 
488  XercesNodeListBridge m_children;
489 
490  const XercesBridgeNavigator& m_navigator;
491 };
492 
493 
494 
495 XALAN_CPP_NAMESPACE_END
496 
497 
498 
499 #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