Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

XercesCDATASectionWrapper.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #if !defined(XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680)
00017 #define XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp>
00022 
00023 
00024 
00025 #include <xalanc/XalanDOM/XalanCDATASection.hpp>
00026 
00027 
00028 
00029 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp>
00030 
00031 
00032 
00033 XALAN_CPP_NAMESPACE_BEGIN
00034 
00035 
00036 
00037 class XercesWrapperNavigator;
00038 
00039 
00040 
00041 class XALAN_XERCESPARSERLIAISON_EXPORT XercesCDATASectionWrapper : public XalanCDATASection
00042 {
00043 public:
00044 
00045     XercesCDATASectionWrapper(
00046             const DOMCDATASectionType*      theXercesCDATASection,
00047             const XercesWrapperNavigator&   theNavigator);
00048 
00049     virtual
00050     ~XercesCDATASectionWrapper();
00051 
00052 
00056     virtual const XalanDOMString&
00057     getNodeName() const;
00058 
00062     virtual const XalanDOMString&
00063     getNodeValue() const;
00064 
00068     virtual NodeType
00069     getNodeType() const;
00070 
00080     virtual XalanNode*
00081     getParentNode() const;
00082 
00096     virtual const XalanNodeList*
00097     getChildNodes() const;
00098 
00104     virtual XalanNode*
00105     getFirstChild() const;
00106 
00112     virtual XalanNode*
00113     getLastChild() const;
00114 
00120     virtual XalanNode*
00121     getPreviousSibling() const;
00122 
00128     virtual XalanNode*
00129     getNextSibling() const;
00130 
00135     virtual const XalanNamedNodeMap*
00136     getAttributes() const;
00137 
00147     virtual XalanDocument*
00148     getOwnerDocument() const;
00149 
00151 
00153 
00172 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
00173     virtual XalanNode*
00174 #else
00175     virtual XercesCDATASectionWrapper*
00176 #endif
00177     cloneNode(bool deep) const;
00178 
00180 
00182 
00199     virtual XalanNode*
00200     insertBefore(
00201             XalanNode*  newChild,
00202             XalanNode*  refChild);
00203 
00217     virtual XalanNode*
00218     replaceChild(
00219             XalanNode*  newChild,
00220             XalanNode*  oldChild);
00221 
00229     virtual XalanNode*
00230     removeChild(XalanNode*  oldChild);
00231 
00243     virtual XalanNode*
00244     appendChild(XalanNode*  newChild);
00245 
00247 
00249 
00257     virtual bool
00258     hasChildNodes() const;
00259 
00260 
00262 
00264 
00265 
00279     virtual void
00280     setNodeValue(const XalanDOMString&      nodeValue);
00281 
00283 
00285 
00302     virtual void
00303     normalize();
00304 
00318     virtual bool
00319     isSupported(
00320             const XalanDOMString&   feature,
00321             const XalanDOMString&   version) const;
00322 
00336     virtual const XalanDOMString&
00337     getNamespaceURI() const;
00338 
00343     virtual const XalanDOMString&
00344     getPrefix() const;
00345 
00353     virtual const XalanDOMString&
00354     getLocalName() const;
00355 
00385     virtual void
00386     setPrefix(const XalanDOMString&     prefix);
00387 
00388     virtual bool
00389     isIndexed() const;
00390 
00391     virtual IndexType
00392     getIndex() const;
00393 
00395 
00396     // These interfaces are inherited from XalanCDATASection...
00397 
00416     virtual const XalanDOMString&
00417     getData() const;
00418 
00426     virtual unsigned int
00427     getLength() const;
00428 
00444     virtual XalanDOMString
00445     substringData(
00446             unsigned int    offset, 
00447             unsigned int    count) const;
00448 
00450 
00461     virtual void
00462     appendData(const XalanDOMString&    arg);
00463 
00474     virtual void
00475     insertData(
00476             unsigned int            offset,
00477             const  XalanDOMString&  arg);
00478 
00495     virtual void
00496     deleteData(
00497             unsigned int    offset, 
00498             unsigned int    count);
00499 
00518     virtual void
00519     replaceData(
00520             unsigned int            offset, 
00521             unsigned int            count, 
00522             const XalanDOMString&   arg);
00523 
00525 
00527 
00529 
00547     virtual XalanText*
00548     splitText(unsigned int  offset);
00549 
00551 
00552     virtual bool
00553     isIgnorableWhitespace() const;
00554 
00560     const DOMCDATASectionType*
00561     getXercesNode() const
00562     {
00563         return m_xercesNode;
00564     }
00565 
00566 private:
00567 
00568     // Not implemented...
00569     XercesCDATASectionWrapper(const XercesCDATASectionWrapper&  theSource);
00570 
00571     XercesCDATASectionWrapper&
00572     operator=(const XercesCDATASectionWrapper&  theSource);
00573 
00574     bool
00575     operator==(const XercesCDATASectionWrapper& theRHS) const;
00576 
00577     // Data members...
00578     const DOMCDATASectionType*      m_xercesNode;
00579 
00580     const XercesWrapperNavigator&   m_navigator;
00581 };
00582 
00583 
00584 
00585 XALAN_CPP_NAMESPACE_END
00586 
00587 
00588 
00589 #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.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.