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  

XercesDOMWrapperParsedSource.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(XERCESDOMWRAPPERPARSEDSOURCE_HEADER_GUARD)
00017 #define XERCESDOMWRAPPERPARSEDSOURCE_HEADER_GUARD
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/XalanTransformer/XalanTransformerDefinitions.hpp>
00023 
00024 
00025 
00026 #include <xalanc/XalanDOM/XalanDOMString.hpp>
00027 
00028 
00029 
00030 #include <xalanc/XalanTransformer/XalanParsedSource.hpp>
00031 
00032 
00033 
00034 XALAN_DECLARE_XERCES_CLASS(DOM_Document)
00035 XALAN_DECLARE_XERCES_CLASS(DOMDocument)
00036 
00037 
00038 
00039 XALAN_CPP_NAMESPACE_BEGIN
00040 
00041 
00042 
00043 typedef XERCES_CPP_NAMESPACE_QUALIFIER DOM_Document DOM_Document_Type;
00044 typedef XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument  DOMDocument_Type;
00045 
00046 
00047 
00048 class XercesParserLiaison;
00049 class XercesDOMSupport;
00050 
00051 
00052 
00057 class XALAN_TRANSFORMER_EXPORT XercesDOMWrapperParsedSource : public XalanParsedSource
00058 {
00059     
00060 public:
00061 
00062 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
00063 
00073     XercesDOMWrapperParsedSource(
00074             const DOM_Document_Type&    theDocument,
00075             XercesParserLiaison&        theParserLiaison,
00076             XercesDOMSupport&           theDOMSupport,
00077             const XalanDOMString&       theURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr())
00078             MemoryManagerType&          theManager XALAN_DEFAULT_MEMMGR);
00079 #endif
00080 
00089     XercesDOMWrapperParsedSource(
00090             const DOMDocument_Type*     theDocument,
00091             XercesParserLiaison&        theParserLiaison,
00092             XercesDOMSupport&           theDOMSupport,
00093             const XalanDOMString&       theURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr()),
00094             MemoryManagerType&          theManager XALAN_DEFAULT_MEMMGR);
00095 
00096     virtual
00097     ~XercesDOMWrapperParsedSource();
00098 
00099     virtual XalanDocument*
00100     getDocument() const;
00101 
00102     virtual XalanParsedSourceHelper*
00103     createHelper(MemoryManagerType& theManager XALAN_DEFAULT_MEMMGR) const;
00104 
00105     virtual const XalanDOMString&
00106     getURI() const;
00107 
00108 private:
00109     //Not implemented
00110     XercesDOMWrapperParsedSource();
00111     XercesDOMWrapperParsedSource(const XercesDOMWrapperParsedSource&);
00112 
00113     XercesParserLiaison&    m_parserLiaison;
00114 
00115     XercesDOMSupport&       m_domSupport;
00116 
00117     XalanDocument* const    m_parsedSource;
00118 
00119     const XalanDOMString    m_uri;
00120 };
00121 
00122 
00123 
00124 XALAN_CPP_NAMESPACE_END
00125 
00126 
00127 
00128 #endif  // XERCESDOMWRAPPERPARSEDSOURCE_HEADER_GUARD

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