Xalan-C++ API Reference 1.12.0
XSLTProcessorEnvSupport.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18#if !defined(XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680)
19#define XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680
20
21
22
23// Base include file. Must be first.
25
26
27
28// Base class header file...
30
31
32
33namespace XALAN_CPP_NAMESPACE {
34
35
36
37class ElemTemplateElement;
38class XSLTProcessor;
39
40
41
43{
44public:
45
47
48 virtual
50
51
52 // These interfaces are inherited from XPathEnvSupport...
53
54 virtual void
56 eSource source,
58 const XalanDOMString& msg,
59 const Locator* locator,
60 const XalanNode* sourceNode) = 0;
61
62 virtual void
64 eSource source,
66 const XalanDOMString& msg,
67 const XalanNode* sourceNode) = 0;
68
69 virtual XalanDocument*
71 MemoryManager& theManager,
73 const XalanDOMString& base,
74 ErrorHandler* theErrorHandler = 0) = 0;
75
76 virtual XalanDocument*
78
79 virtual void
83
84 virtual const XalanDOMString&
86
87 virtual bool
90 const XalanDOMString& elementName) const = 0;
91
92 virtual bool
95 const XalanDOMString& functionName) const = 0;
96
97 virtual XObjectPtr
101 const XalanDOMString& functionName,
104 const Locator* locator) const = 0;
105
106 virtual void
107 reset() = 0;
108
109private:
110
111 // These are not implemented...
113
115 operator=(const XSLTProcessorEnvSupport&);
116
117 bool
119};
120
121
122
123}
124
125
126
127#endif // XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680
#define XALAN_XSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Class to hold XObjectPtr return types.
Definition XObject.hpp:884
virtual void setSourceDocument(const XalanDOMString &theURI, XalanDocument *theDocument)=0
Associate a document with a given URI.
virtual XObjectPtr extFunction(XPathExecutionContext &executionContext, const XalanDOMString &theNamespace, const XalanDOMString &functionName, XalanNode *context, const XObjectArgVectorType &argVec, const Locator *locator) const =0
Handle an extension function.
virtual XalanDocument * getSourceDocument(const XalanDOMString &theURI) const =0
Get the source document for the given URI.
virtual bool functionAvailable(const XalanDOMString &theNamespace, const XalanDOMString &functionName) const =0
Determine if a function is available.
virtual XalanDocument * parseXML(MemoryManager &theManager, const XalanDOMString &urlString, const XalanDOMString &base, ErrorHandler *theErrorHandler=0)=0
Provides support for XML parsing service.
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
virtual const XalanDOMString & findURIFromDoc(const XalanDocument *owner) const =0
Given a DOM Document, tell what URI was used to parse it.
virtual void reset()=0
Reset the instance.
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
virtual bool elementAvailable(const XalanDOMString &theNamespace, const XalanDOMString &elementName) const =0
Determine if an external element is available.
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)