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(XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680) 00019 #define XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680 00020 00021 00022 00023 // Base include file. Must be first. 00024 #include <xalanc/XSLT/XSLTDefinitions.hpp> 00025 00026 00027 00028 // Base class header file... 00029 #include <xalanc/XPath/XPathEnvSupport.hpp> 00030 00031 00032 00033 XALAN_CPP_NAMESPACE_BEGIN 00034 00035 00036 00037 class ElemTemplateElement; 00038 class XSLTProcessor; 00039 00040 00041 00042 class XALAN_XSLT_EXPORT XSLTProcessorEnvSupport : public XPathEnvSupport 00043 { 00044 public: 00045 00046 XSLTProcessorEnvSupport(); 00047 00048 virtual 00049 ~XSLTProcessorEnvSupport(); 00050 00051 00052 // These interfaces are inherited from XPathEnvSupport... 00053 00054 virtual void 00055 problem( 00056 eSource source, 00057 eClassification classification, 00058 const XalanDOMString& msg, 00059 const Locator* locator, 00060 const XalanNode* sourceNode) = 0; 00061 00062 virtual void 00063 problem( 00064 eSource source, 00065 eClassification classification, 00066 const XalanDOMString& msg, 00067 const XalanNode* sourceNode) = 0; 00068 00069 virtual XalanDocument* 00070 parseXML( 00071 MemoryManager& theManager, 00072 const XalanDOMString& urlString, 00073 const XalanDOMString& base, 00074 ErrorHandler* theErrorHandler = 0) = 0; 00075 00076 virtual XalanDocument* 00077 getSourceDocument(const XalanDOMString& theURI) const = 0; 00078 00079 virtual void 00080 setSourceDocument( 00081 const XalanDOMString& theURI, 00082 XalanDocument* theDocument) = 0; 00083 00084 virtual const XalanDOMString& 00085 findURIFromDoc(const XalanDocument* owner) const = 0; 00086 00087 virtual bool 00088 elementAvailable( 00089 const XalanDOMString& theNamespace, 00090 const XalanDOMString& elementName) const = 0; 00091 00092 virtual bool 00093 functionAvailable( 00094 const XalanDOMString& theNamespace, 00095 const XalanDOMString& functionName) const = 0; 00096 00097 virtual XObjectPtr 00098 extFunction( 00099 XPathExecutionContext& executionContext, 00100 const XalanDOMString& theNamespace, 00101 const XalanDOMString& functionName, 00102 XalanNode* context, 00103 const XObjectArgVectorType& argVec, 00104 const Locator* locator) const = 0; 00105 00106 virtual void 00107 reset() = 0; 00108 00109 private: 00110 00111 // These are not implemented... 00112 XSLTProcessorEnvSupport(const XSLTProcessorEnvSupport&); 00113 00114 XSLTProcessorEnvSupport& 00115 operator=(const XSLTProcessorEnvSupport&); 00116 00117 bool 00118 operator==(const XSLTProcessorEnvSupport&) const; 00119 }; 00120 00121 00122 00123 XALAN_CPP_NAMESPACE_END 00124 00125 00126 00127 #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.11 |
|