Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XercesCDATASectionBridge.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(XERCESCDATASECTIONBRIDGE_HEADER_GUARD_1357924680)
00017 #define XERCESCDATASECTIONBRIDGE_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp>
00022 
00023 
00024 
00025 #if XERCES_VERSION_MAJOR >= 2
00026 #include <xercesc/dom/deprecated/DOM_CDATASection.hpp>
00027 #else
00028 #include <xercesc/dom/DOM_CDATASection.hpp>
00029 #endif
00030 
00031 
00032 
00033 #include <xalanc/XalanDOM/XalanCDATASection.hpp>
00034 
00035 
00036 
00037 #include <xalanc/XercesParserLiaison/Deprecated/XercesBridgeTypes.hpp>
00038 
00039 
00040 
00041 XALAN_CPP_NAMESPACE_BEGIN
00042 
00043 
00044 
00045 class XercesBridgeNavigator;
00046 
00047 
00053 class XALAN_XERCESPARSERLIAISON_EXPORT XercesCDATASectionBridge : public XalanCDATASection
00054 {
00055 public:
00056 
00057     XercesCDATASectionBridge(
00058             const DOM_CDATASectionType&     theXercesCDATASection,
00059             const XercesBridgeNavigator&    theNavigator);
00060 
00061     virtual
00062     ~XercesCDATASectionBridge();
00063 
00064 
00068     virtual const XalanDOMString&
00069     getNodeName() const;
00070 
00074     virtual const XalanDOMString&
00075     getNodeValue() const;
00076 
00080     virtual NodeType
00081     getNodeType() const;
00082 
00092     virtual XalanNode*
00093     getParentNode() const;
00094 
00108     virtual const XalanNodeList*
00109     getChildNodes() const;
00110 
00116     virtual XalanNode*
00117     getFirstChild() const;
00118 
00124     virtual XalanNode*
00125     getLastChild() const;
00126 
00132     virtual XalanNode*
00133     getPreviousSibling() const;
00134 
00140     virtual XalanNode*
00141     getNextSibling() const;
00142 
00147     virtual const XalanNamedNodeMap*
00148     getAttributes() const;
00149 
00159     virtual XalanDocument*
00160     getOwnerDocument() const;
00161 
00163 
00165 
00184 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
00185     virtual XalanNode*
00186 #else
00187     virtual XercesCDATASectionBridge*
00188 #endif
00189     cloneNode(bool deep) const;
00190 
00192 
00194 
00211     virtual XalanNode*
00212     insertBefore(
00213             XalanNode*  newChild,
00214             XalanNode*  refChild);
00215 
00229     virtual XalanNode*
00230     replaceChild(
00231             XalanNode*  newChild,
00232             XalanNode*  oldChild);
00233 
00241     virtual XalanNode*
00242     removeChild(XalanNode*  oldChild);
00243 
00255     virtual XalanNode*
00256     appendChild(XalanNode*  newChild);
00257 
00259 
00261 
00269     virtual bool
00270     hasChildNodes() const;
00271 
00272 
00274 
00276 
00277 
00291     virtual void
00292     setNodeValue(const XalanDOMString&      nodeValue);
00293 
00295 
00297 
00314     virtual void
00315     normalize();
00316 
00330     virtual bool
00331     isSupported(
00332             const XalanDOMString&   feature,
00333             const XalanDOMString&   version) const;
00334 
00348     virtual const XalanDOMString&
00349     getNamespaceURI() const;
00350 
00355     virtual const XalanDOMString&
00356     getPrefix() const;
00357 
00365     virtual const XalanDOMString&
00366     getLocalName() const;
00367 
00397     virtual void
00398     setPrefix(const XalanDOMString&     prefix);
00399 
00400     virtual bool
00401     isIndexed() const;
00402 
00403     virtual IndexType
00404     getIndex() const;
00405 
00407 
00408     // These interfaces are inherited from XalanCDATASection...
00409 
00412 
00428     virtual const XalanDOMString&
00429     getData() const;
00430 
00438     virtual unsigned int
00439     getLength() const;
00440 
00456     virtual XalanDOMString
00457     substringData(
00458             unsigned int    offset, 
00459             unsigned int    count) const;
00460 
00462 
00464 
00473     virtual void
00474     appendData(const XalanDOMString&    arg);
00475 
00486     virtual void
00487     insertData(
00488             unsigned int            offset,
00489             const  XalanDOMString&  arg);
00490 
00507     virtual void
00508     deleteData(
00509             unsigned int    offset, 
00510             unsigned int    count);
00511 
00530     virtual void
00531     replaceData(
00532             unsigned int            offset, 
00533             unsigned int            count, 
00534             const XalanDOMString&   arg);
00535 
00537 
00539 
00541 
00559     virtual XalanText*
00560     splitText(unsigned int  offset);
00561 
00563 
00564     virtual bool
00565     isIgnorableWhitespace() const;
00566 
00572     DOM_CDATASectionType
00573     getXercesNode() const
00574     {
00575         return m_xercesNode;
00576     }
00577 
00578 private:
00579 
00580     // Not implemented...
00581     XercesCDATASectionBridge(const XercesCDATASectionBridge&    theSource);
00582 
00583     XercesCDATASectionBridge&
00584     operator=(const XercesCDATASectionBridge&   theSource);
00585 
00586     bool
00587     operator==(const XercesCDATASectionBridge&  theRHS) const;
00588 
00589     // Data members...
00590     DOM_CDATASectionType            m_xercesNode;
00591 
00592     const XercesBridgeNavigator&    m_navigator;
00593 };
00594 
00595 
00596 
00597 XALAN_CPP_NAMESPACE_END
00598 
00599 
00600 
00601 #endif  // !defined(XERCESCDATASECTIONBRIDGE_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