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  

XMLParserLiaison.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(XMLPARSERLIAISON_HEADER_GUARD_1357924680)
00017 #define XMLPARSERLIAISON_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/XMLSupport/XMLSupportDefinitions.hpp>
00023 
00024 
00025 
00026 #include <xalanc/XalanDOM/XalanDOMString.hpp>
00027 
00028 
00029 
00030 XALAN_DECLARE_XERCES_CLASS(DocumentHandler)
00031 XALAN_DECLARE_XERCES_CLASS(EntityResolver)
00032 XALAN_DECLARE_XERCES_CLASS(ErrorHandler)
00033 XALAN_DECLARE_XERCES_CLASS(InputSource)
00034 
00035 
00036 
00037 XALAN_CPP_NAMESPACE_BEGIN
00038 
00039 
00040 
00041 typedef XERCES_CPP_NAMESPACE_QUALIFIER DocumentHandler  DocumentHandlerType;
00042 typedef XERCES_CPP_NAMESPACE_QUALIFIER EntityResolver   EntityResolverType;
00043 typedef XERCES_CPP_NAMESPACE_QUALIFIER ErrorHandler     ErrorHandlerType;
00044 typedef XERCES_CPP_NAMESPACE_QUALIFIER InputSource      InputSourceType;
00045 
00046 class ExecutionContext;
00047 class FormatterListener;
00048 class XalanAttr;
00049 class XalanDocument;
00050 class XalanElement;
00051 
00052 
00053 
00054 class XALAN_XMLSUPPORT_EXPORT XMLParserLiaison
00055 {
00056     
00057 public:
00058 
00059     XMLParserLiaison();
00060 
00061     virtual
00062     ~XMLParserLiaison();
00063 
00064     // These interfaces are inherited from Resettable...
00065 
00066     virtual void
00067     reset() = 0;
00068 
00069     // These interfaces are new to XMLParserLiaison
00070 
00071     virtual ExecutionContext*
00072     getExecutionContext() const = 0;
00073 
00074     virtual MemoryManagerType&
00075     getMemoryManager() = 0;
00076 
00077     virtual void
00078     setExecutionContext(ExecutionContext&   theContext) = 0;
00079 
00096     virtual XalanDocument*
00097     parseXMLStream(
00098             const InputSourceType&  inputSource,
00099             const XalanDOMString&   identifier) = 0;
00100 
00112     virtual void
00113     parseXMLStream(
00114             const InputSourceType&  inputSource,
00115             DocumentHandlerType&    handler,
00116             const XalanDOMString&   identifier) = 0;
00117 
00124     virtual void
00125     destroyDocument(XalanDocument*  theDocument) = 0;
00126 
00134     virtual int
00135     getIndent() const = 0;
00136 
00144     virtual void
00145     setIndent(int   i) = 0;
00146 
00153     virtual bool
00154     getUseValidation() const = 0;
00155 
00162     virtual void
00163     setUseValidation(bool   b) = 0;
00164 
00170     virtual const XalanDOMString&
00171     getParserDescription(XalanDOMString& theResult) const = 0;
00172 
00178     virtual EntityResolverType*
00179     getEntityResolver() const = 0;
00180 
00190     virtual void
00191     setEntityResolver(EntityResolverType*   resolver) = 0;
00192 
00198     virtual ErrorHandlerType*
00199     getErrorHandler() const = 0;
00200 
00206     virtual void
00207     setErrorHandler(ErrorHandlerType*   handler) = 0;
00208 
00209 private:
00210 
00211     // Not implemented
00212     XMLParserLiaison(const XMLParserLiaison&);
00213 
00214     XMLParserLiaison&
00215     operator=(const XMLParserLiaison&);
00216 };
00217 
00218 
00219 
00220 XALAN_CPP_NAMESPACE_END
00221 
00222 
00223 
00224 #endif  // XMLPARSERLIAISON_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