Xalan-C++ API Reference
1.12.0
xalanc
XSLT
AVTPartXPath.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(XALAN_AVTPARTXPATH_HEADER_GUARD)
19
#define XALAN_AVTPARTXPATH_HEADER_GUARD
20
21
22
23
// Base include file. Must be first.
24
#include <
xalanc/XSLT/XSLTDefinitions.hpp
>
25
26
27
28
#include <
xalanc/XPath/XObject.hpp
>
29
30
31
32
#include <
xalanc/XSLT/AVTPart.hpp
>
33
34
35
36
namespace
XALAN_CPP_NAMESPACE
{
37
38
39
40
class
PrefixResolver;
41
class
XPath;
42
class
XPathEnvSupport;
43
class
XPathFactory;
44
class
XPathProcessor;
45
46
47
48
/**
49
* Simple string part of a complex AVT.
50
*/
51
class
AVTPartXPath
:
public
AVTPart
52
{
53
public
:
54
55
/**
56
* Construct an XPath Attribute Value Template (AVT) part from an XPath.
57
*
58
* @param xpath XPath to evaluate
59
*/
60
AVTPartXPath
(
const
XPath
* xpath);
61
62
63
// These methods are inherited from AVTPart ...
64
65
virtual
void
66
evaluate
(
67
XalanDOMString
& buf,
68
XalanNode
* contextNode,
69
const
PrefixResolver
& prefixResolver,
70
XPathExecutionContext
& executionContext)
const
;
71
72
virtual
void
73
evaluate
(
74
XalanDOMString
& buf,
75
const
PrefixResolver
& prefixResolver,
76
XPathExecutionContext
& executionContext)
const
;
77
78
private
:
79
80
/**
81
* XPath for evaluation;
82
*/
83
const
XPath
*
const
m_pXPath;
84
};
85
86
87
88
}
89
90
91
92
#endif
//XALAN_AVTPARTXPATH_HEADER_GUARD
AVTPart.hpp
XObject.hpp
XSLTDefinitions.hpp
xalanc::AVTPartXPath::AVTPartXPath
AVTPartXPath(const XPath *xpath)
Construct an XPath Attribute Value Template (AVT) part from an XPath.
xalanc::AVTPartXPath::evaluate
virtual void evaluate(XalanDOMString &buf, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const
Append the value to the buffer.
xalanc::AVTPartXPath::evaluate
virtual void evaluate(XalanDOMString &buf, XalanNode *contextNode, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const
Append the value to the buffer.
xalanc::AVTPart::AVTPart
AVTPart()
xalanc::PrefixResolver
This class defines an interface for classes that resolve namespace prefixes to their URIs.
Definition
PrefixResolver.hpp:40
xalanc::XPathExecutionContext
Definition
XPathExecutionContext.hpp:83
xalanc::XPath
Definition
XPath.hpp:68
xalanc::XalanDOMString
Definition
XalanDOMString.hpp:46
xalanc::XalanNode
Definition
XalanNode.hpp:39
XALAN_CPP_NAMESPACE
Definition
DOMServices.hpp:44
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sat May 17 2025 11:34:24 for Xalan-C++ API Reference by
1.13.2