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(XALANXMLSERIALIZERFACTORY_HEADER_GUARD_1357924680) 00017 #define XALANXMLSERIALIZERFACTORY_HEADER_GUARD_1357924680 00018 00019 00020 00021 00022 // Base include file. Must be first. 00023 #include "xalanc/XMLSupport/XMLSupportDefinitions.hpp" 00024 00025 00026 00027 #include <xercesc/framework/MemoryManager.hpp> 00028 00029 00030 00031 00032 XALAN_CPP_NAMESPACE_BEGIN 00033 00034 00035 00036 class FormatterListener; 00037 class Writer; 00038 class XalanDOMString; 00039 00040 00041 00042 XALAN_USING_XERCES(MemoryManager) 00043 00044 00045 00049 class XALAN_XMLSUPPORT_EXPORT XalanXMLSerializerFactory 00050 { 00051 public: 00052 00056 static FormatterListener* 00057 create( 00058 MemoryManager& theManager, 00059 Writer& theWriter, 00060 const XalanDOMString& theVersion, 00061 bool doIndent, 00062 int theIndentAmount, 00063 const XalanDOMString& theEncoding, 00064 const XalanDOMString& theMediaType, 00065 const XalanDOMString& theDoctypeSystem, 00066 const XalanDOMString& theDoctypePublic, 00067 bool generateXMLDeclaration, 00068 const XalanDOMString& theStandaloneString); 00069 00070 private: 00071 00072 static void 00073 setEncoding( 00074 MemoryManager& theManager, 00075 Writer& theWriter, 00076 XalanDOMString& theEncoding); 00077 00078 // These are not implemented. 00079 XalanXMLSerializerFactory(const XalanXMLSerializerFactory&); 00080 00081 XalanXMLSerializerFactory& 00082 operator=(const XalanXMLSerializerFactory&); 00083 00084 bool 00085 operator==(const XalanXMLSerializerFactory&) const; 00086 }; 00087 00088 00089 00090 XALAN_CPP_NAMESPACE_END 00091 00092 00093 00094 #endif // XALANXMLSERIALIZERFACTORY_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.10 |
|