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(XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680) 00017 #define XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680 00018 00019 00020 00021 // Base include file. Must be first. 00022 #include <xalanc/XSLT/XSLTDefinitions.hpp> 00023 00024 00025 00026 // Base class header file... 00027 #include <xalanc/XPath/XPathEnvSupport.hpp> 00028 00029 00030 00031 XALAN_CPP_NAMESPACE_BEGIN 00032 00033 00034 00035 class ElemTemplateElement; 00036 class XSLTProcessor; 00037 00038 00039 00040 class XALAN_XSLT_EXPORT XSLTProcessorEnvSupport : public XPathEnvSupport 00041 { 00042 public: 00043 00044 XSLTProcessorEnvSupport(); 00045 00046 virtual 00047 ~XSLTProcessorEnvSupport(); 00048 00049 00050 // These interfaces are new... 00051 00070 virtual bool 00071 problem( 00072 eSource where, 00073 eClassification classification, 00074 const XalanNode* sourceNode, 00075 const ElemTemplateElement* styleNode, 00076 const XalanDOMString& msg, 00077 const XalanDOMChar* uri, 00078 int lineNo, 00079 int charOffset) const = 0; 00080 00081 // These interfaces are inherited from XPathEnvSupport... 00082 00083 virtual XalanDocument* 00084 parseXML( 00085 MemoryManagerType& theManager, 00086 const XalanDOMString& urlString, 00087 const XalanDOMString& base) = 0; 00088 00089 virtual XalanDocument* 00090 getSourceDocument(const XalanDOMString& theURI) const = 0; 00091 00092 virtual void 00093 setSourceDocument( 00094 const XalanDOMString& theURI, 00095 XalanDocument* theDocument) = 0; 00096 00097 virtual const XalanDOMString& 00098 findURIFromDoc(const XalanDocument* owner) const = 0; 00099 00100 virtual bool 00101 elementAvailable( 00102 const XalanDOMString& theNamespace, 00103 const XalanDOMString& elementName) const = 0; 00104 00105 virtual bool 00106 functionAvailable( 00107 const XalanDOMString& theNamespace, 00108 const XalanDOMString& functionName) const = 0; 00109 00110 virtual XObjectPtr 00111 extFunction( 00112 XPathExecutionContext& executionContext, 00113 const XalanDOMString& theNamespace, 00114 const XalanDOMString& functionName, 00115 XalanNode* context, 00116 const XObjectArgVectorType& argVec, 00117 const LocatorType* locator) const = 0; 00118 00119 virtual bool 00120 problem( 00121 eSource where, 00122 eClassification classification, 00123 const PrefixResolver* resolver, 00124 const XalanNode* sourceNode, 00125 const XalanDOMString& msg, 00126 const XalanDOMChar* uri, 00127 int lineNo, 00128 int charOffset) const = 0; 00129 00130 // These interfaces are inherited from Resettable... 00131 00132 virtual void 00133 reset() = 0; 00134 00135 private: 00136 00137 // These are not implemented... 00138 XSLTProcessorEnvSupport(const XSLTProcessorEnvSupport&); 00139 00140 XSLTProcessorEnvSupport& 00141 operator=(const XSLTProcessorEnvSupport&); 00142 00143 bool 00144 operator==(const XSLTProcessorEnvSupport&) const; 00145 }; 00146 00147 00148 00149 XALAN_CPP_NAMESPACE_END 00150 00151 00152 00153 #endif // XSLTPROCESSORENVSUPPORT_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 |
|