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

# XalanNotation.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(XALANNOTATION_HEADER_GUARD_1357924680)
    00017 #define XALANNOTATION_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 Notation interface.
    00034  *
    00035  * This class is experimental and subject to change!!
    00036  */
    00037
    00038 class XALAN_DOM_EXPORT XalanNotation : public XalanNode
    00039 {
    00040 public:
    00041
    00042     XalanNotation();
    00043
    00044     virtual
    00045     ~XalanNotation();
    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 XalanNotation...
    00397
    00405     virtual const XalanDOMString&
    00406     getPublicId() const = 0;
    00407
    00415     virtual const XalanDOMString&
    00416     getSystemId() const = 0;
    00417
    00418 protected:
    00419
    00420     XalanNotation(const XalanNotation&  theSource);
    00421
    00422     XalanNotation&
    00423     operator=(const XalanNotation&  theSource);
    00424
    00425     bool
    00426     operator==(const XalanNotation&     theRHS) const;
    00427
    00428 private:
    00429 };
    00430
    00431
    00432
    00433 XALAN_CPP_NAMESPACE_END
    00434
    00435
    00436
    00437 #endif  // !defined(XALANNOTATION_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.