Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

XalanDefaultParsedSource.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(XALANDEFAULTPARSEDSOURCE_HEADER_GUARD) 00017 #define XALANDEFAULTPARSEDSOURCE_HEADER_GUARD 00018 00019 00020 00021 // Base include file. Must be first. 00022 #include <xalanc/XalanTransformer/XalanTransformerDefinitions.hpp> 00023 00024 00025 00026 #include <xalanc/XalanSourceTree/XalanSourceTreeDOMSupport.hpp> 00027 #include <xalanc/XalanSourceTree/XalanSourceTreeParserLiaison.hpp> 00028 00029 00030 00031 #include <xalanc/XalanTransformer/XalanParsedSource.hpp> 00032 00033 00034 00035 XALAN_CPP_NAMESPACE_BEGIN 00036 00037 00038 00039 class XSLTInputSource; 00040 class XalanSourceTreeDocument; 00041 00042 00043 00044 class XalanDefaultParsedSourceDOMSupport : public XalanSourceTreeDOMSupport 00045 { 00046 public: 00047 00048 XalanDefaultParsedSourceDOMSupport( 00049 const XalanSourceTreeParserLiaison& theParserLiaison, 00050 const XalanSourceTreeDOMSupport& theDOMSupport); 00051 00052 virtual 00053 ~XalanDefaultParsedSourceDOMSupport(); 00054 00055 virtual void 00056 reset(); 00057 00058 // These interfaces are inherited from DOMSupport... 00059 00060 virtual const XalanDOMString& 00061 getUnparsedEntityURI( 00062 const XalanDOMString& theName, 00063 const XalanDocument& theDocument) const; 00064 00065 virtual bool 00066 isNodeAfter( 00067 const XalanNode& node1, 00068 const XalanNode& node2) const; 00069 00070 private: 00071 00072 // Not implemented... 00073 XalanDefaultParsedSourceDOMSupport(const XalanDefaultParsedSourceDOMSupport&); 00074 00075 XalanDefaultParsedSourceDOMSupport& 00076 operator=(const XalanDefaultParsedSourceDOMSupport&); 00077 00078 00079 // Data members... 00080 const XalanSourceTreeDOMSupport& m_domSupport; 00081 }; 00082 00083 00084 00085 class XALAN_TRANSFORMER_EXPORT XalanDefaultParsedSourceHelper : public XalanParsedSourceHelper 00086 { 00087 public: 00088 00089 XalanDefaultParsedSourceHelper(const XalanSourceTreeDOMSupport& theSourceDOMSupport); 00090 00091 ~XalanDefaultParsedSourceHelper(); 00092 00093 virtual DOMSupport& 00094 getDOMSupport(); 00095 00096 virtual XMLParserLiaison& 00097 getParserLiaison(); 00098 00099 private: 00100 00101 // Not implemented... 00102 XalanDefaultParsedSourceHelper(const XalanDefaultParsedSourceHelper&); 00103 00104 XalanDefaultParsedSourceHelper& 00105 operator=(const XalanDefaultParsedSourceHelper&); 00106 00107 00108 // Data members... 00109 XalanSourceTreeParserLiaison m_parserLiaison; 00110 00111 XalanDefaultParsedSourceDOMSupport m_domSupport; 00112 }; 00113 00114 00115 00120 class XALAN_TRANSFORMER_EXPORT XalanDefaultParsedSource : public XalanParsedSource 00121 { 00122 public: 00123 00124 XalanDefaultParsedSource( 00125 const InputSourceType& theInputSource, 00126 bool fValidate = false, 00127 ErrorHandlerType* theErrorHandler = 0, 00128 EntityResolverType* theEntityResolver = 0, 00129 const XalanDOMChar* theExternalSchemaLocation = 0, 00130 const XalanDOMChar* theExternalNoNamespaceSchemaLocation = 0); 00131 00132 virtual 00133 ~XalanDefaultParsedSource(); 00134 00135 virtual XalanDocument* 00136 getDocument() const; 00137 00138 virtual XalanParsedSourceHelper* 00139 createHelper() const; 00140 00141 virtual const XalanDOMString& 00142 getURI() const; 00143 00144 private: 00145 00146 // Not implemented... 00147 XalanDefaultParsedSource(const XalanDefaultParsedSource&); 00148 00149 XalanDefaultParsedSource& 00150 operator=(const XalanDefaultParsedSource&); 00151 00152 00153 // Data members... 00154 XalanSourceTreeParserLiaison m_parserLiaison; 00155 00156 XalanSourceTreeDOMSupport m_domSupport; 00157 00158 XalanSourceTreeDocument* m_parsedSource; 00159 00160 XalanDOMString m_uri; 00161 }; 00162 00163 00164 00165 XALAN_CPP_NAMESPACE_END 00166 00167 00168 00169 #endif // XALANDEFAULTPARSEDSOURCE_HEADER_GUARD 00170 00171 00172

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.