## 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

# XalanProcessingInstruction.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(XALANPROCESSINGINSTRUCTION_HEADER_GUARD_1357924680)
    00017 #define XALANPROCESSINGINSTRUCTION_HEADER_GUARD_1357924680
    00018
    00019
    00020
    00021 #include <xalanc/XalanDOM/XalanDOMDefinitions.hpp>
    00022 #include <xalanc/XalanDOM/XalanNode.hpp>
    00023
    00024
    00025
    00026 XALAN_CPP_NAMESPACE_BEGIN
    00027
    00028
    00029
    00030 /*
    00031  * <meta name="usage" content="experimental"/>
    00032  *
    00033  * Base class for the DOM ProcessingInstruction interface.
    00034  *
    00035  * This class is experimental and subject to change!!
    00036  */
    00037
    00038 class XALAN_DOM_EXPORT XalanProcessingInstruction : public XalanNode
    00039 {
    00040 public:
    00041
    00042     XalanProcessingInstruction();
    00043
    00044     virtual
    00045     ~XalanProcessingInstruction();
    00046
    00047
    00048     // These interfaces are inherited from XalanNode...
    00049     virtual const XalanDOMString&
    00050     getNodeName() const = 0;
    00051
    00055     virtual const XalanDOMString&
    00056     getNodeValue() const = 0;
    00057
    00061     virtual NodeType
    00062     getNodeType() const = 0;
    00063
    00073     virtual XalanNode*
    00074     getParentNode() const = 0;
    00075
    00089     virtual const XalanNodeList*
    00090     getChildNodes() const = 0;
    00091
    00097     virtual XalanNode*
    00098     getFirstChild() const = 0;
    00099
    00105     virtual XalanNode*
    00106     getLastChild() const = 0;
    00107
    00113     virtual XalanNode*
    00114     getPreviousSibling() const = 0;
    00115
    00121     virtual XalanNode*
    00122     getNextSibling() const = 0;
    00123
    00128     virtual const XalanNamedNodeMap*
    00129     getAttributes() const = 0;
    00130
    00140     virtual XalanDocument*
    00141     getOwnerDocument() const = 0;
    00142
    00144
    00146
    00165     virtual XalanNode*
    00166     cloneNode(bool deep) const = 0;
    00167
    00169
    00171
    00188     virtual XalanNode*
    00189     insertBefore(
    00190             XalanNode*  newChild,
    00191             XalanNode*  refChild) = 0;
    00192
    00206     virtual XalanNode*
    00207     replaceChild(
    00208             XalanNode*  newChild,
    00209             XalanNode*  oldChild) = 0;
    00210
    00218     virtual XalanNode*
    00219     removeChild(XalanNode*  oldChild) = 0;
    00220
    00232     virtual XalanNode*
    00233     appendChild(XalanNode*  newChild) = 0;
    00234
    00236
    00238
    00246     virtual bool
    00247     hasChildNodes() const = 0;
    00248
    00249
    00251
    00253
    00254
    00268     virtual void
    00269     setNodeValue(const XalanDOMString&  nodeValue) = 0;
    00270
    00272
    00274
    00291     virtual void
    00292     normalize() = 0;
    00293
    00307     virtual bool
    00308     isSupported(
    00309             const XalanDOMString&   feature,
    00310             const XalanDOMString&   version) const = 0;
    00311
    00325     virtual const XalanDOMString&
    00326     getNamespaceURI() const = 0;
    00327
    00332     virtual const XalanDOMString&
    00333     getPrefix() const = 0;
    00334
    00342     virtual const XalanDOMString&
    00343     getLocalName() const = 0;
    00344
    00374     virtual void
    00375     setPrefix(const XalanDOMString& prefix) = 0;
    00376
    00382     virtual bool
    00383     isIndexed() const = 0;
    00384
    00391     virtual IndexType
    00392     getIndex() const = 0;
    00393
    00395
    00396     // These interfaces are new to XalanProcessingInstruction...
    00397
    00399
    00401
    00407     virtual const XalanDOMString&
    00408     getTarget() const = 0;
    00409
    00419     virtual const XalanDOMString&
    00420     getData() const = 0;
    00421
    00423
    00425
    00433     virtual void
    00434     setData(const XalanDOMString&   data) = 0;
    00436
    00437 protected:
    00438
    00439     XalanProcessingInstruction(const XalanProcessingInstruction&    theSource);
    00440
    00441     XalanProcessingInstruction&
    00442     operator=(const XalanProcessingInstruction& theSource);
    00443
    00444     bool
    00445     operator==(const XalanProcessingInstruction&    theRHS) const;
    00446
    00447 private:
    00448 };
    00449
    00450
    00451
    00452 XALAN_CPP_NAMESPACE_END
    00453
    00454
    00455
    00456 #endif  // !defined(XALANPROCESSINGINSTRUCTION_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.10 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.