Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

XercesDOMParsedSource.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(XERCESDOMPARSEDSOURCE_HEADER_GUARD)
00017 #define XERCESDOMPARSEDSOURCE_HEADER_GUARD
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/XalanTransformer/XalanTransformerDefinitions.hpp>
00023 
00024 
00025 
00026 #include <xalanc/XercesParserLiaison/XercesParserLiaison.hpp>
00027 #include <xalanc/XercesParserLiaison/XercesDOMSupport.hpp>
00028 
00029 
00030 
00031 #include <xalanc/XalanTransformer/XalanParsedSource.hpp>
00032 
00033 
00034 
00035 XALAN_CPP_NAMESPACE_BEGIN
00036 
00037 
00038 
00039 class XALAN_TRANSFORMER_EXPORT XercesDOMParsedSourceHelper : public XalanParsedSourceHelper
00040 {
00041 public:
00042 
00043     XercesDOMParsedSourceHelper();
00044 
00045     ~XercesDOMParsedSourceHelper();
00046 
00047     virtual DOMSupport&
00048     getDOMSupport();
00049 
00050     virtual XMLParserLiaison&
00051     getParserLiaison();
00052 
00053 private:
00054 
00055     XercesDOMSupport        m_domSupport;
00056 
00057     XercesParserLiaison     m_parserLiaison;
00058 };
00059 
00060 
00061 
00066 class XALAN_TRANSFORMER_EXPORT XercesDOMParsedSource : public XalanParsedSource
00067 {
00068 public:
00069     
00070     XercesDOMParsedSource(
00071             const InputSourceType&  theInputSource,
00072             bool                    fValidate = false,
00073             ErrorHandlerType*       theErrorHandler = 0,
00074             EntityResolverType*     theEntityResolver = 0,
00075             const XalanDOMChar*     theExternalSchemaLocation = 0,
00076             const XalanDOMChar*     theExternalNoNamespaceSchemaLocation = 0);
00077 
00078     virtual
00079     ~XercesDOMParsedSource();
00080 
00081     virtual XalanDocument*
00082     getDocument() const;
00083 
00084     virtual XalanParsedSourceHelper*
00085     createHelper() const;
00086 
00087     virtual const XalanDOMString&
00088     getURI() const;
00089 
00090 private:
00091 
00092     XercesParserLiaison     m_parserLiaison;
00093 
00094     XalanDocument*          m_parsedSource;
00095 
00096     XalanDOMString          m_uri;
00097 };
00098 
00099 
00100 
00101 XALAN_CPP_NAMESPACE_END
00102 
00103 
00104 
00105 #endif  // XERCESDOMPARSEDSOURCE_HEADER_GUARD

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.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.