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(XALANDOCUMENTBUILDER_HEADER_GUARD) 00017 #define XALANDOCUMENTBUILDER_HEADER_GUARD 00018 00019 00020 00021 // Base include file. Must be first. 00022 #include <xalanc/XalanTransformer/XalanTransformerDefinitions.hpp> 00023 00024 00025 #include <xalanc/Include/XalanMemoryManagement.hpp> 00026 00027 00028 // Base class include file. 00029 #include <xalanc/XalanTransformer/XalanParsedSource.hpp> 00030 00031 00032 00033 XALAN_DECLARE_XERCES_CLASS(ContentHandler) 00034 XALAN_DECLARE_XERCES_CLASS(DTDHandler) 00035 XALAN_DECLARE_XERCES_CLASS(LexicalHandler) 00036 00037 00038 00039 XALAN_CPP_NAMESPACE_BEGIN 00040 00041 00042 00043 typedef XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType; 00044 typedef XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType; 00045 typedef XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType; 00046 00047 00048 00049 class DOMSupport; 00050 class XalanDocument; 00051 00052 00053 00058 class XALAN_TRANSFORMER_EXPORT XalanDocumentBuilder : public XalanParsedSource 00059 { 00060 public: 00061 00062 virtual 00063 ~XalanDocumentBuilder() 00064 { 00065 } 00066 00067 // These are inherited from XalanParsedSource... 00068 virtual XalanDocument* 00069 getDocument() const = 0; 00070 00071 virtual XalanParsedSourceHelper* 00072 createHelper(MemoryManagerType& theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR) const = 0; 00073 00074 virtual const XalanDOMString& 00075 getURI() const = 0; 00076 00077 // These are new to XalanDocumentBuilder... 00078 virtual ContentHandlerType* 00079 getContentHandler() = 0; 00080 00081 virtual DTDHandlerType* 00082 getDTDHandler() = 0; 00083 00084 virtual LexicalHandlerType* 00085 getLexicalHandler() = 0; 00086 00087 private: 00088 }; 00089 00090 00091 00092 XALAN_CPP_NAMESPACE_END 00093 00094 00095 00096 #endif // XALANDOCUMENTBUILDER_HEADER_GUARD
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.10 |
|