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 const XalanDOMString& urlString, 00086 const XalanDOMString& base) = 0; 00087 00088 virtual XalanDocument* 00089 getSourceDocument(const XalanDOMString& theURI) const = 0; 00090 00091 virtual void 00092 setSourceDocument( 00093 const XalanDOMString& theURI, 00094 XalanDocument* theDocument) = 0; 00095 00096 virtual XalanDOMString 00097 findURIFromDoc(const XalanDocument* owner) const = 0; 00098 00099 virtual bool 00100 elementAvailable( 00101 const XalanDOMString& theNamespace, 00102 const XalanDOMString& elementName) const = 0; 00103 00104 virtual bool 00105 functionAvailable( 00106 const XalanDOMString& theNamespace, 00107 const XalanDOMString& functionName) const = 0; 00108 00109 virtual XObjectPtr 00110 extFunction( 00111 XPathExecutionContext& executionContext, 00112 const XalanDOMString& theNamespace, 00113 const XalanDOMString& functionName, 00114 XalanNode* context, 00115 const XObjectArgVectorType& argVec, 00116 const LocatorType* locator) const = 0; 00117 00118 virtual bool 00119 problem( 00120 eSource where, 00121 eClassification classification, 00122 const PrefixResolver* resolver, 00123 const XalanNode* sourceNode, 00124 const XalanDOMString& msg, 00125 const XalanDOMChar* uri, 00126 int lineNo, 00127 int charOffset) const = 0; 00128 00129 // These interfaces are inherited from Resettable... 00130 00131 virtual void 00132 reset() = 0; 00133 00134 private: 00135 00136 // These are not implemented... 00137 XSLTProcessorEnvSupport(const XSLTProcessorEnvSupport&); 00138 00139 XSLTProcessorEnvSupport& 00140 operator=(const XSLTProcessorEnvSupport&); 00141 00142 bool 00143 operator==(const XSLTProcessorEnvSupport&) const; 00144 }; 00145 00146 00147 00148 XALAN_CPP_NAMESPACE_END 00149 00150 00151 00152 #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.8 |
|