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

# 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(MemoryManagerType& theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR);
    00044
    00045     ~XercesDOMParsedSourceHelper();
    00046
    00047     static XercesDOMParsedSourceHelper*
    00048     create(MemoryManagerType& theManager);
    00049
    00050     virtual DOMSupport&
    00051     getDOMSupport();
    00052
    00053     virtual XMLParserLiaison&
    00054     getParserLiaison();
    00055
    00056 private:
    00057
    00058     XercesDOMSupport        m_domSupport;
    00059
    00060     XercesParserLiaison     m_parserLiaison;
    00061 };
    00062
    00063
    00064
    00069 class XALAN_TRANSFORMER_EXPORT XercesDOMParsedSource : public XalanParsedSource
    00070 {
    00071 public:
    00072
    00073     XercesDOMParsedSource(
    00074             const InputSourceType&  theInputSource,
    00075             bool                    fValidate = false,
    00076             ErrorHandlerType*       theErrorHandler = 0,
    00077             EntityResolverType*     theEntityResolver = 0,
    00078             const XalanDOMChar*     theExternalSchemaLocation = 0,
    00079             const XalanDOMChar*     theExternalNoNamespaceSchemaLocation = 0,
    00080             MemoryManagerType&      theManager XALAN_DEFAULT_MEMMGR);
    00081
    00082     static XercesDOMParsedSource*
    00083     create(
    00084             MemoryManagerType&      theManager,
    00085             const InputSourceType&  theInputSource,
    00086             bool                    fValidate = false,
    00087             ErrorHandlerType*       theErrorHandler = 0,
    00088             EntityResolverType*     theEntityResolver = 0,
    00089             const XalanDOMChar*     theExternalSchemaLocation = 0,
    00090             const XalanDOMChar*     theExternalNoNamespaceSchemaLocation = 0);
    00091
    00092     virtual
    00093     ~XercesDOMParsedSource();
    00094
    00095     virtual XalanDocument*
    00096     getDocument() const;
    00097
    00098     virtual XalanParsedSourceHelper*
    00099     createHelper(MemoryManagerType& theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR) const;
    00100
    00101     virtual const XalanDOMString&
    00102     getURI() const;
    00103
    00104 private:
    00105
    00106     XercesParserLiaison     m_parserLiaison;
    00107
    00108     XalanDocument*          m_parsedSource;
    00109
    00110     XalanDOMString          m_uri;
    00111 };
    00112
    00113
    00114
    00115 XALAN_CPP_NAMESPACE_END
    00116
    00117
    00118
    00119 #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.10 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.