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 public: 00057 00058 XMLParserLiaison(); 00059 00060 virtual 00061 ~XMLParserLiaison(); 00062 00063 // These interfaces are inherited from Resettable... 00064 00065 virtual void 00066 reset() = 0; 00067 00068 // These interfaces are new to XMLParserLiaison 00069 00070 virtual ExecutionContext* 00071 getExecutionContext() const = 0; 00072 00073 virtual void 00074 setExecutionContext(ExecutionContext& theContext) = 0; 00075 00092 virtual XalanDocument* 00093 parseXMLStream( 00094 const InputSourceType& inputSource, 00095 const XalanDOMString& identifier = XalanDOMString()) = 0; 00096 00108 virtual void 00109 parseXMLStream( 00110 const InputSourceType& inputSource, 00111 DocumentHandlerType& handler, 00112 const XalanDOMString& identifier = XalanDOMString()) = 0; 00113 00120 virtual void 00121 destroyDocument(XalanDocument* theDocument) = 0; 00122 00130 virtual int 00131 getIndent() const = 0; 00132 00140 virtual void 00141 setIndent(int i) = 0; 00142 00149 virtual bool 00150 getUseValidation() const = 0; 00151 00158 virtual void 00159 setUseValidation(bool b) = 0; 00160 00166 virtual const XalanDOMString 00167 getParserDescription() const = 0; 00168 00174 virtual EntityResolverType* 00175 getEntityResolver() const = 0; 00176 00186 virtual void 00187 setEntityResolver(EntityResolverType* resolver) = 0; 00188 00194 virtual ErrorHandlerType* 00195 getErrorHandler() const = 0; 00196 00202 virtual void 00203 setErrorHandler(ErrorHandlerType* handler) = 0; 00204 00205 private: 00206 00207 // Not implemented 00208 XMLParserLiaison(const XMLParserLiaison&); 00209 00210 XMLParserLiaison& 00211 operator=(const XMLParserLiaison&); 00212 }; 00213 00214 00215 00216 XALAN_CPP_NAMESPACE_END 00217 00218 00219 00220 #endif // XMLPARSERLIAISON_HEADER_GUARD_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.8 |
|