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

# XalanDocumentType.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(XALANDOCUMENTTYPE_HEADER_GUARD_1357924680)
    00017 #define XALANDOCUMENTTYPE_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 DocumentType interface.
    00034  *
    00035  * This class is experimental and subject to change!!
    00036  */
    00037
    00038 class XALAN_DOM_EXPORT XalanDocumentType : public XalanNode
    00039 {
    00040 public:
    00041
    00042     XalanDocumentType();
    00043
    00044     virtual
    00045     ~XalanDocumentType();
    00046
    00047
    00048     // These interfaces are inherited from XalanNode...
    00049
    00053     virtual const XalanDOMString&
    00054     getNodeName() const = 0;
    00055
    00059     virtual const XalanDOMString&
    00060     getNodeValue() const = 0;
    00061
    00065     virtual NodeType
    00066     getNodeType() const = 0;
    00067
    00077     virtual XalanNode*
    00078     getParentNode() const = 0;
    00079
    00093     virtual const XalanNodeList*
    00094     getChildNodes() const = 0;
    00095
    00101     virtual XalanNode*
    00102     getFirstChild() const = 0;
    00103
    00109     virtual XalanNode*
    00110     getLastChild() const = 0;
    00111
    00117     virtual XalanNode*
    00118     getPreviousSibling() const = 0;
    00119
    00125     virtual XalanNode*
    00126     getNextSibling() const = 0;
    00127
    00132     virtual const XalanNamedNodeMap*
    00133     getAttributes() const = 0;
    00134
    00144     virtual XalanDocument*
    00145     getOwnerDocument() const = 0;
    00146
    00148
    00150
    00169     virtual XalanNode*
    00170     cloneNode(bool  deep) const = 0;
    00171
    00173
    00175
    00192     virtual XalanNode*
    00193     insertBefore(
    00194             XalanNode*  newChild,
    00195             XalanNode*  refChild) = 0;
    00196
    00210     virtual XalanNode*
    00211     replaceChild(
    00212             XalanNode*  newChild,
    00213             XalanNode*  oldChild) = 0;
    00214
    00222     virtual XalanNode*
    00223     removeChild(XalanNode*  oldChild) = 0;
    00224
    00236     virtual XalanNode*
    00237     appendChild(XalanNode*  newChild) = 0;
    00238
    00240
    00242
    00250     virtual bool
    00251     hasChildNodes() const = 0;
    00252
    00253
    00255
    00257
    00258
    00272     virtual void
    00273     setNodeValue(const XalanDOMString&      nodeValue) = 0;
    00274
    00276
    00278
    00295     virtual void
    00296     normalize() = 0;
    00297
    00311     virtual bool
    00312     isSupported(
    00313             const XalanDOMString&   feature,
    00314             const XalanDOMString&   version) const = 0;
    00315
    00329     virtual const XalanDOMString&
    00330     getNamespaceURI() const = 0;
    00331
    00336     virtual const XalanDOMString&
    00337     getPrefix() const = 0;
    00338
    00346     virtual const XalanDOMString&
    00347     getLocalName() const = 0;
    00348
    00378     virtual void
    00379     setPrefix(const XalanDOMString&     prefix) = 0;
    00380
    00386     virtual bool
    00387     isIndexed() const = 0;
    00388
    00395     virtual IndexType
    00396     getIndex() const = 0;
    00397
    00399
    00400     // These interfaces are new to XalanDocumentType...
    00401
    00404
    00409     virtual const XalanDOMString&
    00410     getName() const = 0;
    00411
    00417     virtual const XalanNamedNodeMap*
    00418     getEntities() const = 0;
    00419
    00424     virtual const XalanNamedNodeMap*
    00425     getNotations() const = 0;
    00427
    00434     virtual const XalanDOMString&
    00435     getPublicId() const = 0;
    00436
    00441     virtual const XalanDOMString&
    00442     getSystemId() const = 0;
    00443
    00448     virtual const XalanDOMString&
    00449     getInternalSubset() const = 0;
    00451
    00452 protected:
    00453
    00454     XalanDocumentType(const XalanDocumentType&  theSource);
    00455
    00456     XalanDocumentType&
    00457     operator=(const XalanDocumentType&  theSource);
    00458
    00459     bool
    00460     operator==(const XalanDocumentType&     theRHS) const;
    00461
    00462 private:
    00463 };
    00464
    00465
    00466
    00467 XALAN_CPP_NAMESPACE_END
    00468
    00469
    00470
    00471 #endif  // !defined(XALANDOCUMENTTYPE_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.