Xalan-C++ API Reference
1.12.0
xalanc
XSLT
ElemDecimalFormat.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_ELEMDECIMALFORMAT_HEADER_GUARD)
19
#define XALAN_ELEMDECIMALFORMAT_HEADER_GUARD
20
21
22
23
// Base include file. Must be first.
24
#include "
XSLTDefinitions.hpp
"
25
26
27
28
// Base class header file.
29
#include "
ElemTemplateElement.hpp
"
30
31
32
33
#include <
xalanc/PlatformSupport/XalanDecimalFormatSymbols.hpp
>
34
35
36
37
namespace
XALAN_CPP_NAMESPACE
{
38
39
40
41
class
XPath;
42
43
44
45
class
ElemDecimalFormat
:
public
ElemTemplateElement
46
{
47
public
:
48
49
/**
50
* Construct an object corresponding to a decimal-format element
51
*
52
* @param constructionContext context for construction of object
53
* @param stylesheetTree stylesheet containing element
54
* @param atts list of attributes for element
55
* @param lineNumber line number in document
56
* @param columnNumber column number in document
57
*/
58
ElemDecimalFormat
(
59
StylesheetConstructionContext
& constructionContext,
60
Stylesheet
& stylesheetTree,
61
const
AttributeListType
& atts,
62
XalanFileLoc lineNumber,
63
XalanFileLoc columnNumber);
64
65
66
~
ElemDecimalFormat
();
67
68
// These methods are inherited from ElemTemplateElement ...
69
70
virtual
const
XalanDOMString
&
71
getElementName()
const
;
72
73
const
XalanDecimalFormatSymbols
&
74
getDecimalFormatSymbols
()
const
75
{
76
return
m_decimalFormatSymbols;
77
}
78
79
const
XalanQName
&
80
getQName
()
const
81
{
82
assert(m_qname != 0);
83
84
return
*m_qname;
85
}
86
87
virtual
const
XPath
*
88
getXPath(XalanSize_t index)
const
;
89
90
private
:
91
92
const
XPath
* m_countMatchPattern;
93
const
XPath
* m_fromMatchPattern;
94
const
XPath
* m_valueExpr;
95
96
const
XalanQName
* m_qname;
97
98
XalanDecimalFormatSymbols
m_decimalFormatSymbols;
99
};
100
101
102
103
}
104
105
106
107
#endif // XALAN_ELEMEMPTY_HEADER_GUARD
xalanc::ElemDecimalFormat::getDecimalFormatSymbols
const XalanDecimalFormatSymbols & getDecimalFormatSymbols() const
Definition:
ElemDecimalFormat.hpp:74
xalanc::ElemDecimalFormat::getQName
const XalanQName & getQName() const
Definition:
ElemDecimalFormat.hpp:80
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition:
XalanVersion.hpp:76
xalanc::AttributeListType
xercesc::AttributeList AttributeListType
Definition:
AttributeListImpl.hpp:41
xalanc::ElemDecimalFormat
Definition:
ElemDecimalFormat.hpp:45
xalanc::XalanDecimalFormatSymbols
Definition:
XalanDecimalFormatSymbols.hpp:40
xalanc::XPath
Definition:
XPath.hpp:67
xalanc::ElemTemplateElement
Definition:
ElemTemplateElement.hpp:79
XalanDecimalFormatSymbols.hpp
xalanc::StylesheetConstructionContext
Definition:
StylesheetConstructionContext.hpp:83
ElemTemplateElement.hpp
XSLTDefinitions.hpp
xalanc::Stylesheet
This class represents the base stylesheet or an "import" stylesheet.
Definition:
Stylesheet.hpp:86
xalanc::XalanQName
Class to represent a qualified name.
Definition:
XalanQName.hpp:70
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