## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.9

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

# XercesProcessingInstructionBridge.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(XERCESPROCESSINGINSTRUCTIONBRIDGE_HEADER_GUARD_1357924680)
    00017 #define XERCESPROCESSINGINSTRUCTIONBRIDGE_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_ProcessingInstruction.hpp>
    00027 #else
    00028 #include <xercesc/dom/DOM_ProcessingInstruction.hpp>
    00029 #endif
    00030
    00031
    00032
    00033 #include <xalanc/XalanDOM/XalanProcessingInstruction.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 XercesProcessingInstructionBridge : public XalanProcessingInstruction
    00054 {
    00055 public:
    00056
    00057     XercesProcessingInstructionBridge(
    00058             const DOM_ProcessingInstructionType&    theXercesDOMProcessingInstruction,
    00059             const XercesBridgeNavigator&            theNavigator);
    00060
    00061     virtual
    00062     ~XercesProcessingInstructionBridge();
    00063
    00064
    00065     // These interfaces are inherited from XalanNode...
    00066
    00067     virtual const XalanDOMString&
    00068     getNodeName() const;
    00069
    00073     virtual const XalanDOMString&
    00074     getNodeValue() const;
    00075
    00079     virtual NodeType
    00080     getNodeType() const;
    00081
    00091     virtual XalanNode*
    00092     getParentNode() const;
    00093
    00107     virtual const XalanNodeList*
    00108     getChildNodes() const;
    00109
    00115     virtual XalanNode*
    00116     getFirstChild() const;
    00117
    00123     virtual XalanNode*
    00124     getLastChild() const;
    00125
    00131     virtual XalanNode*
    00132     getPreviousSibling() const;
    00133
    00139     virtual XalanNode*
    00140     getNextSibling() const;
    00141
    00146     virtual const XalanNamedNodeMap*
    00147     getAttributes() const;
    00148
    00158     virtual XalanDocument*
    00159     getOwnerDocument() const;
    00160
    00162
    00164
    00183 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
    00184     virtual XalanNode*
    00185 #else
    00186     virtual XercesProcessingInstructionBridge*
    00187 #endif
    00188     cloneNode(bool deep) const;
    00189
    00191
    00193
    00210     virtual XalanNode*
    00211     insertBefore(
    00212             XalanNode*  newChild,
    00213             XalanNode*  refChild);
    00214
    00228     virtual XalanNode*
    00229     replaceChild(
    00230             XalanNode*  newChild,
    00231             XalanNode*  oldChild);
    00232
    00240     virtual XalanNode*
    00241     removeChild(XalanNode*  oldChild);
    00242
    00254     virtual XalanNode*
    00255     appendChild(XalanNode*  newChild);
    00256
    00258
    00260
    00268     virtual bool
    00269     hasChildNodes() const;
    00270
    00271
    00273
    00275
    00276
    00290     virtual void
    00291     setNodeValue(const XalanDOMString&  nodeValue);
    00292
    00294
    00296
    00313     virtual void
    00314     normalize();
    00315
    00329     virtual bool
    00330     isSupported(
    00331             const XalanDOMString&   feature,
    00332             const XalanDOMString&   version) const;
    00333
    00347     virtual const XalanDOMString&
    00348     getNamespaceURI() const;
    00349
    00354     virtual const XalanDOMString&
    00355     getPrefix() const;
    00356
    00364     virtual const XalanDOMString&
    00365     getLocalName() const;
    00366
    00396     virtual void
    00397     setPrefix(const XalanDOMString& prefix);
    00398
    00399     virtual bool
    00400     isIndexed() const;
    00401
    00402     virtual IndexType
    00403     getIndex() const;
    00404
    00406
    00407     // These interfaces are inherited from XalanProcessingInstruction...
    00408
    00410
    00418     virtual const XalanDOMString&
    00419     getTarget() const;
    00420
    00430     virtual const XalanDOMString&
    00431     getData() const;
    00432
    00434
    00444     virtual void
    00445     setData(const XalanDOMString&   data);
    00447
    00453     DOM_ProcessingInstructionType
    00454     getXercesNode() const
    00455     {
    00456         return m_xercesNode;
    00457     }
    00458
    00459 private:
    00460
    00461     // Not implemented...
    00462     XercesProcessingInstructionBridge(const XercesProcessingInstructionBridge&  theSource);
    00463
    00464     XercesProcessingInstructionBridge&
    00465     operator=(const XercesProcessingInstructionBridge&  theSource);
    00466
    00467     bool
    00468     operator==(const XercesProcessingInstructionBridge&     theRHS) const;
    00469
    00470     // Data members...
    00471     DOM_ProcessingInstructionType   m_xercesNode;
    00472
    00473     const XercesBridgeNavigator&    m_navigator;
    00474 };
    00475
    00476
    00477
    00478 XALAN_CPP_NAMESPACE_END
    00479
    00480
    00481
    00482 #endif  // !defined(XERCESPROCESSINGINSTRUCTIONBRIDGE_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.9 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.