Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesTextWrapper.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(XERCESTEXTWRAPPER_HEADER_GUARD_1357924680)
17 #define XERCESTEXTWRAPPER_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
26 
27 
28 
30 
31 
32 
33 XALAN_CPP_NAMESPACE_BEGIN
34 
35 
36 
38 
39 
40 
42 {
43 public:
44 
46  const DOMTextType* theXercesText,
47  const XercesWrapperNavigator& theNavigator);
48 
49  virtual
51 
52 
56  virtual const XalanDOMString&
57  getNodeName() const;
58 
62  virtual const XalanDOMString&
63  getNodeValue() const;
64 
68  virtual NodeType
69  getNodeType() const;
70 
80  virtual XalanNode*
81  getParentNode() const;
82 
96  virtual const XalanNodeList*
97  getChildNodes() const;
98 
104  virtual XalanNode*
105  getFirstChild() const;
106 
112  virtual XalanNode*
113  getLastChild() const;
114 
120  virtual XalanNode*
121  getPreviousSibling() const;
122 
128  virtual XalanNode*
129  getNextSibling() const;
130 
135  virtual const XalanNamedNodeMap*
136  getAttributes() const;
137 
147  virtual XalanDocument*
148  getOwnerDocument() const;
149 
151 
153 
172 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
173  virtual XalanNode*
174 #else
175  virtual XercesTextWrapper*
176 #endif
177  cloneNode(bool deep) const;
178 
180 
182 
199  virtual XalanNode*
200  insertBefore(
201  XalanNode* newChild,
202  XalanNode* refChild);
203 
217  virtual XalanNode*
218  replaceChild(
219  XalanNode* newChild,
220  XalanNode* oldChild);
221 
229  virtual XalanNode*
230  removeChild(XalanNode* oldChild);
231 
243  virtual XalanNode*
244  appendChild(XalanNode* newChild);
245 
247 
249 
257  virtual bool
258  hasChildNodes() const;
259 
260 
262 
264 
265 
279  virtual void
280  setNodeValue(const XalanDOMString& nodeValue);
281 
283 
285 
302  virtual void
303  normalize();
304 
318  virtual bool
319  isSupported(
320  const XalanDOMString& feature,
321  const XalanDOMString& version) const;
322 
336  virtual const XalanDOMString&
337  getNamespaceURI() const;
338 
343  virtual const XalanDOMString&
344  getPrefix() const;
345 
353  virtual const XalanDOMString&
354  getLocalName() const;
355 
385  virtual void
386  setPrefix(const XalanDOMString& prefix);
387 
388  virtual bool
389  isIndexed() const;
390 
391  virtual IndexType
392  getIndex() const;
393 
395 
396  // These interfaces are inherited from XalanText...
397 
416  virtual const XalanDOMString&
417  getData() const;
418 
426  virtual unsigned int
427  getLength() const;
428 
444  virtual XalanDOMString&
446  unsigned int offset,
447  unsigned int count,
448  XalanDOMString& theResult) const;
449 
451 
462  virtual void
463  appendData(const XalanDOMString& arg);
464 
475  virtual void
476  insertData(
477  unsigned int offset,
478  const XalanDOMString& arg);
479 
496  virtual void
497  deleteData(
498  unsigned int offset,
499  unsigned int count);
500 
519  virtual void
520  replaceData(
521  unsigned int offset,
522  unsigned int count,
523  const XalanDOMString& arg);
524 
526 
528 
530 
548  virtual XalanText*
549  splitText(unsigned int offset);
550 
552 
553  virtual bool
554  isIgnorableWhitespace() const;
555 
561  const DOMTextType*
562  getXercesNode() const
563  {
564  return m_xercesNode;
565  }
566 
567 private:
568 
569  // Not implemented...
570  XercesTextWrapper(const XercesTextWrapper& theSource);
571 
573  operator=(const XercesTextWrapper& theSource);
574 
575  bool
576  operator==(const XercesTextWrapper& theRHS) const;
577 
578  // Data members...
579  const DOMTextType* const m_xercesNode;
580 
581  const XercesWrapperNavigator& m_navigator;
582 };
583 
584 
585 
586 XALAN_CPP_NAMESPACE_END
587 
588 
589 
590 #endif // !defined(XERCESTEXTWRAPPER_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