00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #if !defined(XALANDOCUMENTBUILDER_HEADER_GUARD) 00019 #define XALANDOCUMENTBUILDER_HEADER_GUARD 00020 00021 00022 00023 // Base include file. Must be first. 00024 #include <xalanc/XalanTransformer/XalanTransformerDefinitions.hpp> 00025 00026 00027 #include <xalanc/Include/XalanMemoryManagement.hpp> 00028 00029 00030 // Base class include file. 00031 #include <xalanc/XalanTransformer/XalanParsedSource.hpp> 00032 00033 00034 00035 XALAN_DECLARE_XERCES_CLASS(ContentHandler) 00036 XALAN_DECLARE_XERCES_CLASS(DTDHandler) 00037 XALAN_DECLARE_XERCES_CLASS(LexicalHandler) 00038 00039 00040 00041 XALAN_CPP_NAMESPACE_BEGIN 00042 00043 00044 00045 typedef XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType; 00046 typedef XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType; 00047 typedef XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType; 00048 00049 00050 00051 class DOMSupport; 00052 class XalanDocument; 00053 00054 00055 00056 /** 00057 * This is abstract base class designed to allow a XalanTranfomer 00058 * object to use a document that is build dynamically by a user. 00059 */ 00060 class XALAN_TRANSFORMER_EXPORT XalanDocumentBuilder : public XalanParsedSource 00061 { 00062 public: 00063 00064 virtual 00065 ~XalanDocumentBuilder() 00066 { 00067 } 00068 00069 // These are inherited from XalanParsedSource... 00070 virtual XalanDocument* 00071 getDocument() const = 0; 00072 00073 virtual XalanParsedSourceHelper* 00074 createHelper(MemoryManager& theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR) const = 0; 00075 00076 virtual const XalanDOMString& 00077 getURI() const = 0; 00078 00079 // These are new to XalanDocumentBuilder... 00080 virtual ContentHandlerType* 00081 getContentHandler() = 0; 00082 00083 virtual DTDHandlerType* 00084 getDTDHandler() = 0; 00085 00086 virtual LexicalHandlerType* 00087 getLexicalHandler() = 0; 00088 00089 private: 00090 }; 00091 00092 00093 00094 XALAN_CPP_NAMESPACE_END 00095 00096 00097 00098 #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.11 |
|