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  

XercesNodeListBridge.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(XERCESNODELISTBRIDGE_HEADER_GUARD_1357924680)
00017 #define XERCESNODELISTBRIDGE_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_NodeList.hpp>
00027 #else
00028 #include <xercesc/dom/DOM_NodeList.hpp>
00029 #endif
00030 
00031 
00032 
00033 #include <xalanc/XalanDOM/XalanNodeList.hpp>
00034 
00035 
00036 
00037 #include <xalanc/XercesParserLiaison/Deprecated/XercesBridgeTypes.hpp>
00038 
00039 
00040 
00041 XALAN_CPP_NAMESPACE_BEGIN
00042 
00043 
00044 
00045 class XercesBridgeNavigator;
00046 
00047 
00053 class XALAN_XERCESPARSERLIAISON_EXPORT XercesNodeListBridge : public XalanNodeList
00054 {
00055 public:
00056 
00057     XercesNodeListBridge(
00058             const DOM_NodeListType&         theXercesNodeList,
00059             const XercesBridgeNavigator&    theNavigator);
00060 
00061     XercesNodeListBridge(const XercesNodeListBridge&    theSource);
00062 
00063     virtual
00064     ~XercesNodeListBridge();
00065 
00066     bool
00067     operator==(const XercesNodeListBridge&  theRHS) const
00068     {
00069         return m_xercesNodeList == theRHS.m_xercesNodeList ? true : false;
00070     }
00071 
00074 
00085     virtual XalanNode*
00086     item(unsigned int   index) const;
00087 
00093     virtual unsigned int
00094     getLength() const;
00095 
00096 private:
00097 
00098     // Not implemented...
00099     XercesNodeListBridge&
00100     operator=(const XercesNodeListBridge&   theRHS);
00101 
00102 
00103     // Data members...
00104     DOM_NodeListType                m_xercesNodeList;
00105 
00106     const XercesBridgeNavigator&    m_navigator;
00107 };
00108 
00109 
00110 
00111 XALAN_CPP_NAMESPACE_END
00112 
00113 
00114 
00115 #endif  // !defined(XERCESNODELISTBRIDGE_HEADER_GUARD_1357924680)

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo