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

# XalanDocumentFragment.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(XALANDOCUMENTFRAGMENT_HEADER_GUARD_1357924680)
    00017 #define XALANDOCUMENTFRAGMENT_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 DocumentFragment interface.
    00034  *
    00035  * This class is experimental and subject to change!!
    00036  */
    00037
    00038 class XALAN_DOM_EXPORT XalanDocumentFragment : public XalanNode
    00039 {
    00040 public:
    00041
    00042     XalanDocumentFragment();
    00043
    00044     virtual
    00045     ~XalanDocumentFragment();
    00046
    00047     // These interfaces are inherited from XalanNode...
    00048
    00049     virtual const XalanDOMString&
    00050     getNodeName() const = 0;
    00051
    00052     virtual const XalanDOMString&
    00053     getNodeValue() const = 0;
    00054
    00055     virtual NodeType
    00056     getNodeType() const = 0;
    00057
    00058     virtual XalanNode*
    00059     getParentNode() const = 0;
    00060
    00061     virtual const XalanNodeList*
    00062     getChildNodes() const = 0;
    00063
    00064     virtual XalanNode*
    00065     getFirstChild() const = 0;
    00066
    00067     virtual XalanNode*
    00068     getLastChild() const = 0;
    00069
    00070     virtual XalanNode*
    00071     getPreviousSibling() const = 0;
    00072
    00073     virtual XalanNode*
    00074     getNextSibling() const = 0;
    00075
    00076     virtual const XalanNamedNodeMap*
    00077     getAttributes() const = 0;
    00078
    00079     virtual XalanDocument*
    00080     getOwnerDocument() const = 0;
    00081
    00082 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
    00083     virtual XalanNode*
    00084 #else
    00085     virtual XalanDocumentFragment*
    00086 #endif
    00087     cloneNode(bool deep) const = 0;
    00088
    00089     virtual XalanNode*
    00090     insertBefore(
    00091             XalanNode*  newChild,
    00092             XalanNode*  refChild) = 0;
    00093
    00094     virtual XalanNode*
    00095     replaceChild(
    00096             XalanNode*  newChild,
    00097             XalanNode*  oldChild) = 0;
    00098
    00099     virtual XalanNode*
    00100     removeChild(XalanNode*  oldChild) = 0;
    00101
    00102     virtual XalanNode*
    00103     appendChild(XalanNode*  newChild) = 0;
    00104
    00105     virtual bool
    00106     hasChildNodes() const = 0;
    00107
    00108     virtual void
    00109     setNodeValue(const XalanDOMString&  nodeValue) = 0;
    00110
    00111     virtual void
    00112     normalize() = 0;
    00113
    00114     virtual bool
    00115     isSupported(
    00116             const XalanDOMString&   feature,
    00117             const XalanDOMString&   version) const = 0;
    00118
    00119     virtual const XalanDOMString&
    00120     getNamespaceURI() const = 0;
    00121
    00122     virtual const XalanDOMString&
    00123     getPrefix() const = 0;
    00124
    00125     virtual const XalanDOMString&
    00126     getLocalName() const = 0;
    00127
    00128     virtual void
    00129     setPrefix(const XalanDOMString&     prefix) = 0;
    00130
    00131     virtual bool
    00132     isIndexed() const = 0;
    00133
    00134     virtual IndexType
    00135     getIndex() const = 0;
    00136
    00137 protected:
    00138
    00139     XalanDocumentFragment(const XalanDocumentFragment&  theSource);
    00140
    00141     XalanDocumentFragment&
    00142     operator=(const XalanDocumentFragment&  theSource);
    00143
    00144     bool
    00145     operator==(const XalanDocumentFragment&     theRHS) const;
    00146
    00147 private:
    00148 };
    00149
    00150
    00151
    00152 XALAN_CPP_NAMESPACE_END
    00153
    00154
    00155
    00156 #endif  // !defined(XALANDOCUMENTFRAGMENT_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.