Xalan-C++ API Reference
1.12.0
xalanc
XSLT
AVTPartSimple.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_AVTPARTSIMPLE_HEADER_GUARD)
19
#define XALAN_AVTPARTSIMPLE_HEADER_GUARD
20
21
22
23
// Base include file. Must be first.
24
#include "
XSLTDefinitions.hpp
"
25
26
27
28
#include <
xalanc/XalanDOM/XalanDOMString.hpp
>
29
30
31
32
#include "
AVTPart.hpp
"
33
34
35
36
namespace
XALAN_CPP_NAMESPACE
{
37
38
39
40
class
StylesheetConstructionContext;
41
42
43
44
/**
45
* Simple string part of a complex AVT.
46
*/
47
class
AVTPartSimple
:
public
AVTPart
48
{
49
public
:
50
51
/**
52
* Construct a simple Attribute Value Template (AVT) part.
53
*
54
* @param constructionContext context when object constructed
55
* @param val A pure string section of an AVT
56
* @param len The length of val
57
*/
58
AVTPartSimple
(
59
StylesheetConstructionContext
& constructionContext,
60
const
XalanDOMChar* val,
61
XalanDOMString::size_type
len);
62
63
64
// These methods are inherited from AVTPart ...
65
66
virtual
void
67
evaluate(
68
XalanDOMString
& buf,
69
XalanNode
* contextNode,
70
const
PrefixResolver
& prefixResolver,
71
XPathExecutionContext
& executionContext)
const
;
72
73
virtual
void
74
evaluate(
75
XalanDOMString
& buf,
76
const
PrefixResolver
& prefixResolver,
77
XPathExecutionContext
& executionContext)
const
;
78
79
private
:
80
81
/**
82
* Simple string value;
83
*/
84
const
XalanDOMChar*
const
m_val;
85
86
const
XalanDOMString::size_type
m_len;
87
};
88
89
90
91
}
92
93
94
95
#endif //XALAN_AVTPARTSIMPLE_HEADER_GUARD
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
XalanDOMString.hpp
AVTPart.hpp
xalanc::StylesheetConstructionContext
Definition:
StylesheetConstructionContext.hpp:83
xalanc::PrefixResolver
This class defines an interface for classes that resolve namespace prefixes to their URIs.
Definition:
PrefixResolver.hpp:39
xalanc::AVTPartSimple
Simple string part of a complex AVT.
Definition:
AVTPartSimple.hpp:47
xalanc::AVTPart
Class to hold a part, either a string or XPath, of an Attribute Value Template.
Definition:
AVTPart.hpp:43
XSLTDefinitions.hpp
xalanc::XPathExecutionContext
Definition:
XPathExecutionContext.hpp:82
xalanc::XalanDOMString::size_type
XalanSize_t size_type
Definition:
XalanDOMString.hpp:57
xalanc::XalanDOMString
Definition:
XalanDOMString.hpp:45
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:21 for Xalan-C++ API Reference by
1.8.17