Xalan-C++ API Reference
1.12.0
xalanc
XSLT
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.
24
#include <
xalanc/XSLT/XSLTDefinitions.hpp
>
25
26
27
28
// Base class header file...
29
#include <
xalanc/XPath/XPathEnvSupport.hpp
>
30
31
32
33
namespace
XALAN_CPP_NAMESPACE
{
34
35
36
37
class
ElemTemplateElement;
38
class
XSLTProcessor;
39
40
41
42
class
XALAN_XSLT_EXPORT
XSLTProcessorEnvSupport
:
public
XPathEnvSupport
43
{
44
public
:
45
46
XSLTProcessorEnvSupport
();
47
48
virtual
49
~
XSLTProcessorEnvSupport
();
50
51
52
// These interfaces are inherited from XPathEnvSupport...
53
54
virtual
void
55
problem(
56
eSource
source,
57
eClassification
classification,
58
const
XalanDOMString
& msg,
59
const
Locator* locator,
60
const
XalanNode
* sourceNode) = 0;
61
62
virtual
void
63
problem(
64
eSource
source,
65
eClassification
classification,
66
const
XalanDOMString
& msg,
67
const
XalanNode
* sourceNode) = 0;
68
69
virtual
XalanDocument
*
70
parseXML(
71
MemoryManager& theManager,
72
const
XalanDOMString
& urlString,
73
const
XalanDOMString
& base,
74
ErrorHandler* theErrorHandler = 0) = 0;
75
76
virtual
XalanDocument
*
77
getSourceDocument(
const
XalanDOMString
& theURI)
const
= 0;
78
79
virtual
void
80
setSourceDocument(
81
const
XalanDOMString
& theURI,
82
XalanDocument
* theDocument) = 0;
83
84
virtual
const
XalanDOMString
&
85
findURIFromDoc(
const
XalanDocument
* owner)
const
= 0;
86
87
virtual
bool
88
elementAvailable(
89
const
XalanDOMString
& theNamespace,
90
const
XalanDOMString
& elementName)
const
= 0;
91
92
virtual
bool
93
functionAvailable(
94
const
XalanDOMString
& theNamespace,
95
const
XalanDOMString
& functionName)
const
= 0;
96
97
virtual
XObjectPtr
98
extFunction(
99
XPathExecutionContext
& executionContext,
100
const
XalanDOMString
& theNamespace,
101
const
XalanDOMString
& functionName,
102
XalanNode
* context,
103
const
XObjectArgVectorType
& argVec,
104
const
Locator* locator)
const
= 0;
105
106
virtual
void
107
reset() = 0;
108
109
private
:
110
111
// These are not implemented...
112
XSLTProcessorEnvSupport
(
const
XSLTProcessorEnvSupport
&);
113
114
XSLTProcessorEnvSupport
&
115
operator=(
const
XSLTProcessorEnvSupport
&);
116
117
bool
118
operator==
(
const
XSLTProcessorEnvSupport
&)
const
;
119
};
120
121
122
123
}
124
125
126
127
#endif // XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680
xalanc::XSLTProcessorEnvSupport
Definition:
XSLTProcessorEnvSupport.hpp:42
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition:
XalanVersion.hpp:76
xalanc::XalanNode
Definition:
XalanNode.hpp:38
xalanc::XalanVector< XObjectPtr >
XPathEnvSupport.hpp
XALAN_XSLT_EXPORT
#define XALAN_XSLT_EXPORT
Definition:
XSLTDefinitions.hpp:27
xalanc::XalanDocument
Definition:
XalanDocument.hpp:36
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition:
XalanVector.hpp:1118
xalanc::XObjectPtr
Class to hold XObjectPtr return types.
Definition:
XObject.hpp:883
xalanc::ProblemListenerBase::eSource
eSource
Definition:
ProblemListenerBase.hpp:62
xalanc::ProblemListenerBase::eClassification
eClassification
Definition:
ProblemListenerBase.hpp:75
XSLTDefinitions.hpp
xalanc::XPathEnvSupport
Definition:
XPathEnvSupport.hpp:60
xalanc::XPathExecutionContext
Definition:
XPathExecutionContext.hpp:82
xalanc::XalanDOMString
Definition:
XalanDOMString.hpp:45
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:22 for Xalan-C++ API Reference by
1.8.17