Xalan-C++ API Reference  1.12.0
Constants.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_CONSTANTS_HEADER_GUARD)
19 #define XALAN_CONSTANTS_HEADER_GUARD
20 
21 
22 
23 // Base include file. Must be first.
24 #include "XSLTDefinitions.hpp"
25 
26 
27 
29 
30 
31 
32 namespace XALAN_CPP_NAMESPACE {
33 
34 
35 
36 /**
37  * Primary constants used in the XSLTProcessor classes.
38  */
40 {
41 public:
42 
43  /**
44  * Perform initialization of statics -- must be called before any
45  * processing occurs. See class XSLTInit.
46  */
47  static void
48  initialize(MemoryManager& theManager);
49 
50  /**
51  * Perform termination of statics. See class XSLTInit.
52  */
53  static void
54  terminate();
55 
56  /**
57  * Literals for XSL element names. Note that there are more
58  * names than IDs, because some names map to the same ID.
59  */
60  // Result tree counting
94 
95  /*---------------------------------------------
96  * Literals for XSL attribute names.
97  */
149 
151 
152  // For space-att
155 
156  // For indent-result
158  static const XalanDOMString& ATTRVAL_NO;
159 
160  // Output stuff
172 
176 
178 
179  // Stuff for sorting
186 
187  // Stuff for xsl:decimal-format...
190 
192 
193  // Default whitespace separator string for StringTokenizer.
195 
196  // Value for default text rule
198 
200 
201  // For Stylesheet-prefix and result-prefix in xsl:namespace-alias
203 
204  // This is used for trace reporting.
206 };
207 
208 
209 
210 }
211 
212 
213 
214 #endif // XALAN_CONSTANTS_HEADER_GUARD
xalanc::Constants::ELEMNAME_STRIPSPACE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_STRIPSPACE_WITH_PREFIX_STRING
Definition: Constants.hpp:84
xalanc::Constants::ATTRNAME_DECIMALSEPARATOR
static const XalanDOMString & ATTRNAME_DECIMALSEPARATOR
Definition: Constants.hpp:101
xalanc::Constants::ATTRNAME_NAN
static const XalanDOMString & ATTRNAME_NAN
Definition: Constants.hpp:126
xalanc::Constants::ELEMNAME_APPLY_TEMPLATES_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_APPLY_TEMPLATES_WITH_PREFIX_STRING
Definition: Constants.hpp:63
xalanc::Constants::ATTRVAL_STRIP
static const XalanDOMString & ATTRVAL_STRIP
Definition: Constants.hpp:154
xalanc::Constants::ATTRVAL_DEFAULT_TEXT_RULE
static const XalanDOMString & ATTRVAL_DEFAULT_TEXT_RULE
Definition: Constants.hpp:197
xalanc::Constants::ATTRVAL_OUTPUT_METHOD_HTML
static const XalanDOMString & ATTRVAL_OUTPUT_METHOD_HTML
Definition: Constants.hpp:173
xalanc::Constants::ATTRNAME_OUTPUT_DOCTYPE_SYSTEM
static const XalanDOMString & ATTRNAME_OUTPUT_DOCTYPE_SYSTEM
Definition: Constants.hpp:165
xalanc::Constants::ATTRVAL_ORDER_ASCENDING
static const XalanDOMString & ATTRVAL_ORDER_ASCENDING
Definition: Constants.hpp:182
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::Constants::ATTRNAME_INFINITY
static const XalanDOMString & ATTRNAME_INFINITY
Definition: Constants.hpp:118
xalanc::Constants::ELEMNAME_IMPORT_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_IMPORT_WITH_PREFIX_STRING
Definition: Constants.hpp:77
xalanc::Constants::ATTRNAME_MATCH
static const XalanDOMString & ATTRNAME_MATCH
Definition: Constants.hpp:121
xalanc::Constants::ATTRNAME_ELEMENTS
static const XalanDOMString & ATTRNAME_ELEMENTS
Definition: Constants.hpp:106
xalanc::Constants::ATTRNAME_PREFIX
static const XalanDOMString & ATTRNAME_PREFIX
Definition: Constants.hpp:133
xalanc::Constants::ATTRNAME_GROUPINGSEPARATOR
static const XalanDOMString & ATTRNAME_GROUPINGSEPARATOR
Definition: Constants.hpp:112
xalanc::Constants::ATTRNAME_ID
static const XalanDOMString & ATTRNAME_ID
Definition: Constants.hpp:115
XalanDOMString.hpp
xalanc::Constants::ELEMNAME_TEMPLATE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_TEMPLATE_WITH_PREFIX_STRING
Definition: Constants.hpp:85
xalanc::Constants::ATTRNAME_TEST
static const XalanDOMString & ATTRNAME_TEST
Definition: Constants.hpp:140
xalanc::Constants::ATTRVAL_YES
static const XalanDOMString & ATTRVAL_YES
Definition: Constants.hpp:157
xalanc::Constants::ATTRNAME_EXTENSIONELEMENTPREFIXES
static const XalanDOMString & ATTRNAME_EXTENSIONELEMENTPREFIXES
Definition: Constants.hpp:109
xalanc::Constants::ATTRNAME_GROUPINGSIZE
static const XalanDOMString & ATTRNAME_GROUPINGSIZE
Definition: Constants.hpp:113
xalanc::Constants::ATTRNAME_ZERODIGIT
static const XalanDOMString & ATTRNAME_ZERODIGIT
Definition: Constants.hpp:148
xalanc::Constants::ELEMNAME_PRESERVESPACE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_PRESERVESPACE_WITH_PREFIX_STRING
Definition: Constants.hpp:88
XALAN_XSLT_EXPORT
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:27
xalanc::Constants::ELEMNAME_ATTRIBUTE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_ATTRIBUTE_WITH_PREFIX_STRING
Definition: Constants.hpp:65
xalanc::Constants::ATTRNAME_NAME
static const XalanDOMString & ATTRNAME_NAME
Definition: Constants.hpp:124
xalanc::Constants::ATTRNAME_PERMILLE
static const XalanDOMString & ATTRNAME_PERMILLE
Definition: Constants.hpp:132
xalanc::Constants::ELEMNAME_DECIMALFORMAT_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_DECIMALFORMAT_WITH_PREFIX_STRING
Definition: Constants.hpp:71
xalanc::Constants::ATTRNAME_OUTPUT_STANDALONE
static const XalanDOMString & ATTRNAME_OUTPUT_STANDALONE
Definition: Constants.hpp:169
xalanc::Constants::ATTRNAME_INDENTRESULT
static const XalanDOMString & ATTRNAME_INDENTRESULT
Definition: Constants.hpp:117
xalanc::Constants::ELEMNAME_COPY_OF_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_COPY_OF_WITH_PREFIX_STRING
Definition: Constants.hpp:69
xalanc::Constants::ELEMNAME_WITHPARAM_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_WITHPARAM_WITH_PREFIX_STRING
Definition: Constants.hpp:93
xalanc::Constants::ATTRNAME_NAMESPACE
static const XalanDOMString & ATTRNAME_NAMESPACE
Definition: Constants.hpp:125
xalanc::Constants::ATTRVAL_DEFAULT
static const XalanDOMString & ATTRVAL_DEFAULT
Definition: Constants.hpp:199
xalanc::Constants::ATTRNAME_SPACE
static const XalanDOMString & ATTRNAME_SPACE
Definition: Constants.hpp:146
xalanc::Constants::ATTRNAME_STYLESHEET_PREFIX
static const XalanDOMString & ATTRNAME_STYLESHEET_PREFIX
Definition: Constants.hpp:138
xalanc::Constants::PSEUDONAME_NODE
static const XalanDOMString & PSEUDONAME_NODE
Definition: Constants.hpp:205
xalanc::Constants::ELEMNAME_MESSAGE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_MESSAGE_WITH_PREFIX_STRING
Definition: Constants.hpp:80
xalanc::Constants::ATTRVAL_DATATYPE_TEXT
static const XalanDOMString & ATTRVAL_DATATYPE_TEXT
Definition: Constants.hpp:180
xalanc::Constants::ELEMNAME_OTHERWISE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_OTHERWISE_WITH_PREFIX_STRING
Definition: Constants.hpp:82
xalanc::Constants::ATTRNAME_USE
static const XalanDOMString & ATTRNAME_USE
Definition: Constants.hpp:142
xalanc::Constants::ATTRVAL_CASEORDER_LOWER
static const XalanDOMString & ATTRVAL_CASEORDER_LOWER
Definition: Constants.hpp:185
xalanc::Constants::ATTRNAME_HREF
static const XalanDOMString & ATTRNAME_HREF
Definition: Constants.hpp:114
xalanc::Constants::ATTRNAME_RESULTNS
static const XalanDOMString & ATTRNAME_RESULTNS
Definition: Constants.hpp:135
xalanc::Constants::ATTRNAME_EXCLUDE_RESULT_PREFIXES
static const XalanDOMString & ATTRNAME_EXCLUDE_RESULT_PREFIXES
Definition: Constants.hpp:108
xalanc::Constants::ATTRNAME_DEFAULTSPACE
static const XalanDOMString & ATTRNAME_DEFAULTSPACE
Definition: Constants.hpp:103
xalanc::Constants::ATTRNAME_DEFAULT
static const XalanDOMString & ATTRNAME_DEFAULT
Definition: Constants.hpp:102
xalanc::Constants::ATTRNAME_PERCENT
static const XalanDOMString & ATTRNAME_PERCENT
Definition: Constants.hpp:131
xalanc::Constants::ATTRVAL_SIMPLE
static const XalanDOMString & ATTRVAL_SIMPLE
Definition: Constants.hpp:191
xalanc::Constants::ELEMNAME_APPLY_IMPORTS_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_APPLY_IMPORTS_WITH_PREFIX_STRING
Definition: Constants.hpp:62
xalanc::Constants::ELEMNAME_VALUEOF_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_VALUEOF_WITH_PREFIX_STRING
Definition: Constants.hpp:90
xalanc::Constants::ELEMNAME_ATTRIBUTESET_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_ATTRIBUTESET_WITH_PREFIX_STRING
Definition: Constants.hpp:64
xalanc::Constants::ELEMNAME_COPY_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_COPY_WITH_PREFIX_STRING
Definition: Constants.hpp:70
xalanc::Constants::ATTRNAME_OUTPUT_DOCTYPE_PUBLIC
static const XalanDOMString & ATTRNAME_OUTPUT_DOCTYPE_PUBLIC
Definition: Constants.hpp:164
xalanc::Constants::ATTRNAME_PRIORITY
static const XalanDOMString & ATTRNAME_PRIORITY
Definition: Constants.hpp:134
xalanc::Constants::ATTRNAME_OUTPUT_MEDIATYPE
static const XalanDOMString & ATTRNAME_OUTPUT_MEDIATYPE
Definition: Constants.hpp:168
xalanc::Constants::ELEMNAME_ELEMENT_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_ELEMENT_WITH_PREFIX_STRING
Definition: Constants.hpp:72
xalanc::Constants::ATTRNAME_DIGITGROUPSEP
static const XalanDOMString & ATTRNAME_DIGITGROUPSEP
Definition: Constants.hpp:105
xalanc::Constants::ATTRVAL_CASEORDER_UPPER
static const XalanDOMString & ATTRVAL_CASEORDER_UPPER
Definition: Constants.hpp:184
xalanc::Constants::ATTRTYPE_CDATA
static const XalanDOMString & ATTRTYPE_CDATA
Definition: Constants.hpp:150
xalanc::Constants::ATTRNAME_FORMAT
static const XalanDOMString & ATTRNAME_FORMAT
Definition: Constants.hpp:110
xalanc::Constants::ATTRNAME_CASEORDER
static const XalanDOMString & ATTRNAME_CASEORDER
Definition: Constants.hpp:98
xalanc::Constants::ATTRNAME_OUTPUT_INDENT
static const XalanDOMString & ATTRNAME_OUTPUT_INDENT
Definition: Constants.hpp:167
xalanc::Constants::ATTRNAME_NDIGITSPERGROUP
static const XalanDOMString & ATTRNAME_NDIGITSPERGROUP
Definition: Constants.hpp:127
xalanc::Constants::ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS
static const XalanDOMString & ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS
Definition: Constants.hpp:163
xalanc::Constants::ATTRNAME_OUTPUT_OMITXMLDECL
static const XalanDOMString & ATTRNAME_OUTPUT_OMITXMLDECL
Definition: Constants.hpp:171
xalanc::Constants::ATTRNAME_OUTPUT_VERSION
static const XalanDOMString & ATTRNAME_OUTPUT_VERSION
Definition: Constants.hpp:170
xalanc::Constants::DEFAULT_WHITESPACE_SEPARATOR_STRING
static const XalanDOMString & DEFAULT_WHITESPACE_SEPARATOR_STRING
Definition: Constants.hpp:194
xalanc::Constants::ELEMNAME_SORT_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_SORT_WITH_PREFIX_STRING
Definition: Constants.hpp:83
xalanc::Constants::ATTRVAL_DATATYPE_NUMBER
static const XalanDOMString & ATTRVAL_DATATYPE_NUMBER
Definition: Constants.hpp:181
xalanc::Constants::ATTRNAME_VERSION
static const XalanDOMString & ATTRNAME_VERSION
Definition: Constants.hpp:145
xalanc::Constants::ATTRNAME_RESULT_PREFIX
static const XalanDOMString & ATTRNAME_RESULT_PREFIX
Definition: Constants.hpp:136
xalanc::Constants::ATTRNAME_DISABLE_OUTPUT_ESCAPING
static const XalanDOMString & ATTRNAME_DISABLE_OUTPUT_ESCAPING
Definition: Constants.hpp:162
xalanc::Constants::ATTRNAME_USEATTRIBUTESETS
static const XalanDOMString & ATTRNAME_USEATTRIBUTESETS
Definition: Constants.hpp:143
xalanc::Constants::ATTRNAME_TYPE
static const XalanDOMString & ATTRNAME_TYPE
Definition: Constants.hpp:141
xalanc::Constants::ELEMNAME_VARIABLE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_VARIABLE_WITH_PREFIX_STRING
Definition: Constants.hpp:91
xalanc::Constants::ATTRNAME_OUTPUT_ENCODING
static const XalanDOMString & ATTRNAME_OUTPUT_ENCODING
Definition: Constants.hpp:166
xalanc::Constants::ATTRNAME_TERMINATE
static const XalanDOMString & ATTRNAME_TERMINATE
Definition: Constants.hpp:139
xalanc::Constants::ATTRNAME_OMIT_META_TAG
static const XalanDOMString & ATTRNAME_OMIT_META_TAG
Definition: Constants.hpp:128
xalanc::Constants::ELEMNAME_TEXT_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_TEXT_WITH_PREFIX_STRING
Definition: Constants.hpp:86
xalanc::Constants::ATTRNAME_ESCAPE_URLS
static const XalanDOMString & ATTRNAME_ESCAPE_URLS
Definition: Constants.hpp:107
xalanc::Constants::ATTRVAL_NAN
static const XalanDOMString & ATTRVAL_NAN
Definition: Constants.hpp:189
xalanc::Constants::ATTRNAME_INDENTAMOUNT
static const XalanDOMString & ATTRNAME_INDENTAMOUNT
Definition: Constants.hpp:116
xalanc::Constants::ELEMNAME_ANY_STRING
static const XalanDOMString & ELEMNAME_ANY_STRING
Literals for XSL element names.
Definition: Constants.hpp:61
xalanc::Constants::ATTRNAME_XMLSPACE
static const XalanDOMString & ATTRNAME_XMLSPACE
Definition: Constants.hpp:147
xalanc::Constants::ELEMNAME_KEY_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_KEY_WITH_PREFIX_STRING
Definition: Constants.hpp:79
XSLTDefinitions.hpp
xalanc::Constants::ATTRNAME_FROM
static const XalanDOMString & ATTRNAME_FROM
Definition: Constants.hpp:111
xalanc::Constants::ATTRNAME_OUTPUT_METHOD
static const XalanDOMString & ATTRNAME_OUTPUT_METHOD
Definition: Constants.hpp:161
xalanc::Constants::ATTRNAME_MODE
static const XalanDOMString & ATTRNAME_MODE
Definition: Constants.hpp:123
xalanc::Constants::ATTRNAME_LETTERVALUE
static const XalanDOMString & ATTRNAME_LETTERVALUE
Definition: Constants.hpp:120
xalanc::Constants::ATTRNAME_DATATYPE
static const XalanDOMString & ATTRNAME_DATATYPE
Definition: Constants.hpp:100
xalanc::Constants::ELEMNAME_CHOOSE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_CHOOSE_WITH_PREFIX_STRING
Definition: Constants.hpp:67
xalanc::Constants::ATTRNAME_SELECT
static const XalanDOMString & ATTRNAME_SELECT
Definition: Constants.hpp:137
xalanc::Constants::ATTRVAL_NO
static const XalanDOMString & ATTRVAL_NO
Definition: Constants.hpp:158
xalanc::Constants::ATTRVAL_INFINITY
static const XalanDOMString & ATTRVAL_INFINITY
Definition: Constants.hpp:188
xalanc::Constants::ELEMNAME_CALLTEMPLATE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_CALLTEMPLATE_WITH_PREFIX_STRING
Definition: Constants.hpp:66
xalanc::Constants::ATTRNAME_PATTERNSEPARATOR
static const XalanDOMString & ATTRNAME_PATTERNSEPARATOR
Definition: Constants.hpp:130
xalanc::Constants::ATTRVAL_DEFAULT_PREFIX
static const XalanDOMString & ATTRVAL_DEFAULT_PREFIX
Definition: Constants.hpp:202
xalanc::Constants::ELEMNAME_IF_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_IF_WITH_PREFIX_STRING
Definition: Constants.hpp:76
xalanc::Constants::ATTRVAL_OUTPUT_METHOD_TEXT
static const XalanDOMString & ATTRVAL_OUTPUT_METHOD_TEXT
Definition: Constants.hpp:175
xalanc::Constants::ELEMNAME_COMMENT_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_COMMENT_WITH_PREFIX_STRING
Definition: Constants.hpp:68
xalanc::Constants::ELEMNAME_NUMBER_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_NUMBER_WITH_PREFIX_STRING
Definition: Constants.hpp:81
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45
xalanc::Constants::ATTRVAL_THIS
static const XalanDOMString & ATTRVAL_THIS
Definition: Constants.hpp:177
xalanc::Constants::ELEMNAME_INCLUDE_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_INCLUDE_WITH_PREFIX_STRING
Definition: Constants.hpp:78
xalanc::Constants::ATTRNAME_DIGIT
static const XalanDOMString & ATTRNAME_DIGIT
Definition: Constants.hpp:104
xalanc::Constants::ATTRNAME_LANG
static const XalanDOMString & ATTRNAME_LANG
Definition: Constants.hpp:119
xalanc::Constants::ATTRNAME_COUNT
static const XalanDOMString & ATTRNAME_COUNT
Definition: Constants.hpp:99
xalanc::Constants::ELEMNAME_PI_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_PI_WITH_PREFIX_STRING
Definition: Constants.hpp:89
xalanc::Constants::ELEMNAME_FALLBACK_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_FALLBACK_WITH_PREFIX_STRING
Definition: Constants.hpp:73
xalanc::Constants::ATTRNAME_VALUE
static const XalanDOMString & ATTRNAME_VALUE
Definition: Constants.hpp:144
xalanc::Constants::ELEMNAME_HTML_STRING
static const XalanDOMString & ELEMNAME_HTML_STRING
Definition: Constants.hpp:75
xalanc::Constants::ATTRVAL_ORDER_DESCENDING
static const XalanDOMString & ATTRVAL_ORDER_DESCENDING
Definition: Constants.hpp:183
xalanc::Constants::ELEMNAME_FOREACH_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_FOREACH_WITH_PREFIX_STRING
Definition: Constants.hpp:74
xalanc::Constants::ELEMNAME_PARAM_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_PARAM_WITH_PREFIX_STRING
Definition: Constants.hpp:87
xalanc::Constants::ATTRNAME_ORDER
static const XalanDOMString & ATTRNAME_ORDER
Definition: Constants.hpp:129
xalanc::Constants::ATTRVAL_PRESERVE
static const XalanDOMString & ATTRVAL_PRESERVE
Definition: Constants.hpp:153
xalanc::Constants::ATTRNAME_MINUSSIGN
static const XalanDOMString & ATTRNAME_MINUSSIGN
Definition: Constants.hpp:122
xalanc::Constants::ATTRVAL_OUTPUT_METHOD_XML
static const XalanDOMString & ATTRVAL_OUTPUT_METHOD_XML
Definition: Constants.hpp:174
xalanc::Constants::ELEMNAME_WHEN_WITH_PREFIX_STRING
static const XalanDOMString & ELEMNAME_WHEN_WITH_PREFIX_STRING
Definition: Constants.hpp:92
xalanc::Constants
Primary constants used in the XSLTProcessor classes.
Definition: Constants.hpp:39