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

# XercesNamedNodeMapBridge.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(XERCESNAMEDNODEMAPBRIDGE_HEADER_GUARD_1357924680)
    00017 #define XERCESNAMEDNODEMAPBRIDGE_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_NamedNodeMap.hpp>
    00027 #else
    00028 #include <xercesc/dom/DOM_NamedNodeMap.hpp>
    00029 #endif
    00030
    00031
    00032
    00033 #include <xalanc/XalanDOM/XalanNamedNodeMap.hpp>
    00034
    00035
    00036
    00037 XALAN_CPP_NAMESPACE_BEGIN
    00038
    00039
    00040
    00041 class XercesBridgeNavigator;
    00042 class XercesNodeBridge;
    00043
    00044
    00050 class XALAN_XERCESPARSERLIAISON_EXPORT XercesNamedNodeMapBridge : public XalanNamedNodeMap
    00051 {
    00052 public:
    00053
    00054     typedef XERCES_CPP_NAMESPACE_QUALIFIER DOM_NamedNodeMap     DOM_NamedNodeMapType;
    00055
    00056     XercesNamedNodeMapBridge(
    00057             const DOM_NamedNodeMapType&     theXercesNamedNodeMap,
    00058             const XercesBridgeNavigator&    theNavigator);
    00059
    00060     virtual
    00061     ~XercesNamedNodeMapBridge();
    00062
    00065
    00091     virtual XalanNode*
    00092     setNamedItem(XalanNode*     arg);
    00093
    00105     virtual XalanNode*
    00106     item(unsigned int   index) const;
    00107
    00109
    00111
    00120     virtual XalanNode*
    00121     getNamedItem(const XalanDOMString&  name) const;
    00122
    00129     virtual unsigned int
    00130     getLength() const;
    00131
    00133
    00135
    00151     virtual XalanNode*
    00152     removeNamedItem(const XalanDOMString&   name);
    00153
    00155
    00157
    00168     virtual XalanNode*
    00169     getNamedItemNS(
    00170             const XalanDOMString&   namespaceURI,
    00171             const XalanDOMString&   localName) const;
    00172
    00194     virtual XalanNode*
    00195     setNamedItemNS(XalanNode*   arg);
    00196
    00218     virtual XalanNode*
    00219     removeNamedItemNS(
    00220             const XalanDOMString&   namespaceURI,
    00221             const XalanDOMString&   localName);
    00222
    00224
    00225 private:
    00226
    00227     // Not implemented...
    00228     XercesNamedNodeMapBridge(const XercesNamedNodeMapBridge&    theSource);
    00229
    00230     XercesNamedNodeMapBridge&
    00231     operator=(const XercesNamedNodeMapBridge&   theRHS);
    00232
    00233     bool
    00234     operator==(const XercesNamedNodeMapBridge&  theRHS) const;
    00235
    00236
    00237     // $$$ ToDo:  Eventually, this will not need to be mutable.
    00238     mutable DOM_NamedNodeMapType    m_xercesNamedNodeMap;
    00239
    00240     const XercesBridgeNavigator&    m_navigator;
    00241 };
    00242
    00243
    00244
    00245 XALAN_CPP_NAMESPACE_END
    00246
    00247
    00248
    00249 #endif  // !defined(XERCESNAMEDNODEMAPBRIDGE_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.