Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesCDATASectionWrapper.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(XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680)
17 #define XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
25 
26 
28 
29 
30 
32 
33 
34 
35 XALAN_CPP_NAMESPACE_BEGIN
36 
37 
38 
40 
41 
42 
44 {
45 public:
46 
48  const DOMCDATASectionType* theXercesCDATASection,
49  const XercesWrapperNavigator& theNavigator);
50 
52  create( MemoryManagerType& theManager,
53  const DOMCDATASectionType* theXercesCDATASection,
54  const XercesWrapperNavigator& theNavigator);
55 
56  virtual
58 
59 
63  virtual const XalanDOMString&
64  getNodeName() const;
65 
69  virtual const XalanDOMString&
70  getNodeValue() const;
71 
75  virtual NodeType
76  getNodeType() const;
77 
87  virtual XalanNode*
88  getParentNode() const;
89 
103  virtual const XalanNodeList*
104  getChildNodes() const;
105 
111  virtual XalanNode*
112  getFirstChild() const;
113 
119  virtual XalanNode*
120  getLastChild() const;
121 
127  virtual XalanNode*
128  getPreviousSibling() const;
129 
135  virtual XalanNode*
136  getNextSibling() const;
137 
142  virtual const XalanNamedNodeMap*
143  getAttributes() const;
144 
154  virtual XalanDocument*
155  getOwnerDocument() const;
156 
158 
160 
179 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
180  virtual XalanNode*
181 #else
183 #endif
184  cloneNode(bool deep) const;
185 
187 
189 
206  virtual XalanNode*
207  insertBefore(
208  XalanNode* newChild,
209  XalanNode* refChild);
210 
224  virtual XalanNode*
225  replaceChild(
226  XalanNode* newChild,
227  XalanNode* oldChild);
228 
236  virtual XalanNode*
237  removeChild(XalanNode* oldChild);
238 
250  virtual XalanNode*
251  appendChild(XalanNode* newChild);
252 
254 
256 
264  virtual bool
265  hasChildNodes() const;
266 
267 
269 
271 
272 
286  virtual void
287  setNodeValue(const XalanDOMString& nodeValue);
288 
290 
292 
309  virtual void
310  normalize();
311 
325  virtual bool
326  isSupported(
327  const XalanDOMString& feature,
328  const XalanDOMString& version) const;
329 
343  virtual const XalanDOMString&
344  getNamespaceURI() const;
345 
350  virtual const XalanDOMString&
351  getPrefix() const;
352 
360  virtual const XalanDOMString&
361  getLocalName() const;
362 
392  virtual void
393  setPrefix(const XalanDOMString& prefix);
394 
395  virtual bool
396  isIndexed() const;
397 
398  virtual IndexType
399  getIndex() const;
400 
402 
403  // These interfaces are inherited from XalanCDATASection...
404 
423  virtual const XalanDOMString&
424  getData() const;
425 
433  virtual unsigned int
434  getLength() const;
435 
451  virtual XalanDOMString&
453  unsigned int offset,
454  unsigned int count,
455  XalanDOMString& theResult) const;
456 
458 
469  virtual void
470  appendData(const XalanDOMString& arg);
471 
482  virtual void
483  insertData(
484  unsigned int offset,
485  const XalanDOMString& arg);
486 
503  virtual void
504  deleteData(
505  unsigned int offset,
506  unsigned int count);
507 
526  virtual void
527  replaceData(
528  unsigned int offset,
529  unsigned int count,
530  const XalanDOMString& arg);
531 
533 
535 
537 
555  virtual XalanText*
556  splitText(unsigned int offset);
557 
559 
560  virtual bool
561  isIgnorableWhitespace() const;
562 
568  const DOMCDATASectionType*
569  getXercesNode() const
570  {
571  return m_xercesNode;
572  }
573 
574 private:
575 
576  // Not implemented...
578 
580  operator=(const XercesCDATASectionWrapper& theSource);
581 
582  bool
583  operator==(const XercesCDATASectionWrapper& theRHS) const;
584 
585  // Data members...
586  const DOMCDATASectionType* m_xercesNode;
587 
588  const XercesWrapperNavigator& m_navigator;
589 };
590 
591 
592 
593 XALAN_CPP_NAMESPACE_END
594 
595 
596 
597 #endif // !defined(XERCESCDATASECTIONWRAPPER_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