Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesCommentBridge.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(XERCESCOMMENTBRIDGE_HEADER_GUARD_1357924680)
17 #define XERCESCOMMENTBRIDGE_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 #if XERCES_VERSION_MAJOR >= 2
26 #include <xercesc/dom/deprecated/DOM_Comment.hpp>
27 #else
28 #include <xercesc/dom/DOM_Comment.hpp>
29 #endif
30 
31 
32 
34 
35 
36 
38 
39 
40 
41 XALAN_CPP_NAMESPACE_BEGIN
42 
43 
44 
46 
47 
54 {
55 public:
56 
58  const DOM_CommentType& theXercesComment,
59  const XercesBridgeNavigator& theNavigator);
60 
61  virtual
63 
64 
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 XercesCommentBridge*
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 
290  virtual void
291  setNodeValue(const XalanDOMString& nodeValue);
292 
294 
296 
313  virtual void
314  normalize();
315 
329  virtual bool
330  isSupported(
331  const XalanDOMString& feature,
332  const XalanDOMString& version) const;
333 
347  virtual const XalanDOMString&
348  getNamespaceURI() const;
349 
354  virtual const XalanDOMString&
355  getPrefix() const;
356 
364  virtual const XalanDOMString&
365  getLocalName() const;
366 
396  virtual void
397  setPrefix(const XalanDOMString& prefix);
398 
399  virtual bool
400  isIndexed() const;
401 
402  virtual IndexType
403  getIndex() const;
404 
406 
407  // These interfaces are inherited from XalanCDATASection...
408 
427  virtual const XalanDOMString&
428  getData() const;
429 
437  virtual unsigned int
438  getLength() const;
439 
455  virtual XalanDOMString
457  unsigned int offset,
458  unsigned int count) const;
459 
461 
472  virtual void
473  appendData(const XalanDOMString& arg);
474 
485  virtual void
486  insertData(
487  unsigned int offset,
488  const XalanDOMString& arg);
489 
506  virtual void
507  deleteData(
508  unsigned int offset,
509  unsigned int count);
510 
529  virtual void
530  replaceData(
531  unsigned int offset,
532  unsigned int count,
533  const XalanDOMString& arg);
534 
541  getXercesNode() const
542  {
543  return m_xercesNode;
544  }
545 
547 
548 private:
549 
550  // Not implemented...
551  XercesCommentBridge(const XercesCommentBridge& theSource);
552 
554  operator=(const XercesCommentBridge& theSource);
555 
556  bool
557  operator==(const XercesCommentBridge& theRHS) const;
558 
559  // Data members...
560  DOM_CommentType m_xercesNode;
561 
562  const XercesBridgeNavigator& m_navigator;
563 };
564 
565 
566 
567 XALAN_CPP_NAMESPACE_END
568 
569 
570 
571 #endif // !defined(XERCESCOMMENTBRIDGE_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