Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Constants.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #if !defined(XALAN_CONSTANTS_HEADER_GUARD)
00017 #define XALAN_CONSTANTS_HEADER_GUARD
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include "XSLTDefinitions.hpp"
00023 
00024 
00025 
00026 #include <xalanc/XalanDOM/XalanDOMString.hpp>
00027 
00028 
00029 
00030 XALAN_CPP_NAMESPACE_BEGIN
00031 
00032 
00033 
00037 class XALAN_XSLT_EXPORT Constants
00038 {
00039 public:
00040 
00045     static void
00046     initialize(MemoryManagerType&  theManager);
00047 
00051     static void
00052     terminate();
00053 
00058     // Result tree counting
00059     static const XalanDOMString&    ELEMNAME_ANY_STRING;
00060     static const XalanDOMString&    ELEMNAME_APPLY_IMPORTS_WITH_PREFIX_STRING;
00061     static const XalanDOMString&    ELEMNAME_APPLY_TEMPLATES_WITH_PREFIX_STRING;
00062     static const XalanDOMString&    ELEMNAME_ATTRIBUTESET_WITH_PREFIX_STRING;
00063     static const XalanDOMString&    ELEMNAME_ATTRIBUTE_WITH_PREFIX_STRING;
00064     static const XalanDOMString&    ELEMNAME_CALLTEMPLATE_WITH_PREFIX_STRING;
00065     static const XalanDOMString&    ELEMNAME_CHOOSE_WITH_PREFIX_STRING;
00066     static const XalanDOMString&    ELEMNAME_COMMENT_WITH_PREFIX_STRING;
00067     static const XalanDOMString&    ELEMNAME_COPY_OF_WITH_PREFIX_STRING;
00068     static const XalanDOMString&    ELEMNAME_COPY_WITH_PREFIX_STRING;
00069     static const XalanDOMString&    ELEMNAME_DECIMALFORMAT_WITH_PREFIX_STRING;
00070     static const XalanDOMString&    ELEMNAME_ELEMENT_WITH_PREFIX_STRING;
00071     static const XalanDOMString&    ELEMNAME_FALLBACK_WITH_PREFIX_STRING;
00072     static const XalanDOMString&    ELEMNAME_FOREACH_WITH_PREFIX_STRING;
00073     static const XalanDOMString&    ELEMNAME_HTML_STRING;
00074     static const XalanDOMString&    ELEMNAME_IF_WITH_PREFIX_STRING;
00075     static const XalanDOMString&    ELEMNAME_IMPORT_WITH_PREFIX_STRING;
00076     static const XalanDOMString&    ELEMNAME_INCLUDE_WITH_PREFIX_STRING;
00077     static const XalanDOMString&    ELEMNAME_KEY_WITH_PREFIX_STRING;
00078     static const XalanDOMString&    ELEMNAME_MESSAGE_WITH_PREFIX_STRING;
00079     static const XalanDOMString&    ELEMNAME_NUMBER_WITH_PREFIX_STRING;
00080     static const XalanDOMString&    ELEMNAME_OTHERWISE_WITH_PREFIX_STRING;
00081     static const XalanDOMString&    ELEMNAME_SORT_WITH_PREFIX_STRING;
00082     static const XalanDOMString&    ELEMNAME_STRIPSPACE_WITH_PREFIX_STRING;
00083     static const XalanDOMString&    ELEMNAME_TEMPLATE_WITH_PREFIX_STRING;
00084     static const XalanDOMString&    ELEMNAME_TEXT_WITH_PREFIX_STRING;
00085     static const XalanDOMString&    ELEMNAME_PARAM_WITH_PREFIX_STRING;
00086     static const XalanDOMString&    ELEMNAME_PRESERVESPACE_WITH_PREFIX_STRING;
00087     static const XalanDOMString&    ELEMNAME_PI_WITH_PREFIX_STRING;
00088     static const XalanDOMString&    ELEMNAME_VALUEOF_WITH_PREFIX_STRING;
00089     static const XalanDOMString&    ELEMNAME_VARIABLE_WITH_PREFIX_STRING;
00090     static const XalanDOMString&    ELEMNAME_WHEN_WITH_PREFIX_STRING;
00091     static const XalanDOMString&    ELEMNAME_WITHPARAM_WITH_PREFIX_STRING;
00092   
00093     /*---------------------------------------------
00094      * Literals for XSL attribute names.
00095      */
00096     static const XalanDOMString&    ATTRNAME_CASEORDER;
00097     static const XalanDOMString&    ATTRNAME_COUNT;
00098     static const XalanDOMString&    ATTRNAME_DATATYPE;
00099     static const XalanDOMString&    ATTRNAME_DECIMALSEPARATOR;
00100     static const XalanDOMString&    ATTRNAME_DEFAULT;
00101     static const XalanDOMString&    ATTRNAME_DEFAULTSPACE;
00102     static const XalanDOMString&    ATTRNAME_DIGIT;
00103     static const XalanDOMString&    ATTRNAME_DIGITGROUPSEP;
00104     static const XalanDOMString&    ATTRNAME_ELEMENTS;
00105     static const XalanDOMString&    ATTRNAME_ESCAPE_URLS;
00106     static const XalanDOMString&    ATTRNAME_EXCLUDE_RESULT_PREFIXES;
00107     static const XalanDOMString&    ATTRNAME_EXTENSIONELEMENTPREFIXES;
00108     static const XalanDOMString&    ATTRNAME_FORMAT;
00109     static const XalanDOMString&    ATTRNAME_FROM;
00110     static const XalanDOMString&    ATTRNAME_GROUPINGSEPARATOR;
00111     static const XalanDOMString&    ATTRNAME_GROUPINGSIZE;
00112     static const XalanDOMString&    ATTRNAME_HREF;
00113     static const XalanDOMString&    ATTRNAME_ID;
00114     static const XalanDOMString&    ATTRNAME_INDENTAMOUNT;
00115     static const XalanDOMString&    ATTRNAME_INDENTRESULT;
00116     static const XalanDOMString&    ATTRNAME_INFINITY;
00117     static const XalanDOMString&    ATTRNAME_LANG;
00118     static const XalanDOMString&    ATTRNAME_LETTERVALUE;
00119     static const XalanDOMString&    ATTRNAME_MATCH;
00120     static const XalanDOMString&    ATTRNAME_MINUSSIGN;
00121     static const XalanDOMString&    ATTRNAME_MODE;
00122     static const XalanDOMString&    ATTRNAME_NAME;
00123     static const XalanDOMString&    ATTRNAME_NAMESPACE;
00124     static const XalanDOMString&    ATTRNAME_NAN;
00125     static const XalanDOMString&    ATTRNAME_NDIGITSPERGROUP;
00126     static const XalanDOMString&    ATTRNAME_OMIT_META_TAG;
00127     static const XalanDOMString&    ATTRNAME_ORDER;
00128     static const XalanDOMString&    ATTRNAME_PATTERNSEPARATOR;
00129     static const XalanDOMString&    ATTRNAME_PERCENT;
00130     static const XalanDOMString&    ATTRNAME_PERMILLE;
00131     static const XalanDOMString&    ATTRNAME_PREFIX;
00132     static const XalanDOMString&    ATTRNAME_PRIORITY;
00133     static const XalanDOMString&    ATTRNAME_RESULTNS;
00134     static const XalanDOMString&    ATTRNAME_RESULT_PREFIX;
00135     static const XalanDOMString&    ATTRNAME_SELECT;
00136     static const XalanDOMString&    ATTRNAME_STYLESHEET_PREFIX;
00137     static const XalanDOMString&    ATTRNAME_TERMINATE;
00138     static const XalanDOMString&    ATTRNAME_TEST;
00139     static const XalanDOMString&    ATTRNAME_TYPE;
00140     static const XalanDOMString&    ATTRNAME_USE;
00141     static const XalanDOMString&    ATTRNAME_USEATTRIBUTESETS;
00142     static const XalanDOMString&    ATTRNAME_VALUE;
00143     static const XalanDOMString&    ATTRNAME_VERSION;
00144     static const XalanDOMString&    ATTRNAME_SPACE;
00145     static const XalanDOMString&    ATTRNAME_XMLSPACE;
00146     static const XalanDOMString&    ATTRNAME_ZERODIGIT;
00147  
00148     static const XalanDOMString&    ATTRTYPE_CDATA;
00149 
00150       // For space-att
00151     static const XalanDOMString&    ATTRVAL_PRESERVE;
00152     static const XalanDOMString&    ATTRVAL_STRIP;
00153   
00154       // For indent-result
00155     static const XalanDOMString&    ATTRVAL_YES;
00156     static const XalanDOMString&    ATTRVAL_NO;
00157   
00158     // Output stuff
00159     static const XalanDOMString&    ATTRNAME_OUTPUT_METHOD;
00160     static const XalanDOMString&    ATTRNAME_DISABLE_OUTPUT_ESCAPING;
00161     static const XalanDOMString&    ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS;
00162     static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_PUBLIC;
00163     static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_SYSTEM;
00164     static const XalanDOMString&    ATTRNAME_OUTPUT_ENCODING;
00165     static const XalanDOMString&    ATTRNAME_OUTPUT_INDENT;
00166     static const XalanDOMString&    ATTRNAME_OUTPUT_MEDIATYPE;
00167     static const XalanDOMString&    ATTRNAME_OUTPUT_STANDALONE;
00168     static const XalanDOMString&    ATTRNAME_OUTPUT_VERSION;
00169     static const XalanDOMString&    ATTRNAME_OUTPUT_OMITXMLDECL;
00170 
00171     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_HTML;
00172     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_XML;
00173     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_TEXT;
00174 
00175     static const XalanDOMString&    ATTRVAL_THIS;
00176 
00177   // Stuff for sorting
00178     static const XalanDOMString&    ATTRVAL_DATATYPE_TEXT;
00179     static const XalanDOMString&    ATTRVAL_DATATYPE_NUMBER;
00180     static const XalanDOMString&    ATTRVAL_ORDER_ASCENDING;
00181     static const XalanDOMString&    ATTRVAL_ORDER_DESCENDING;
00182     static const XalanDOMString&    ATTRVAL_CASEORDER_UPPER;
00183     static const XalanDOMString&    ATTRVAL_CASEORDER_LOWER;
00184 
00185     // Stuff for xsl:decimal-format...
00186     static const XalanDOMString&    ATTRVAL_INFINITY;
00187     static const XalanDOMString&    ATTRVAL_NAN;
00188 
00189     static const XalanDOMString&    ATTRVAL_SIMPLE;
00190 
00191     // Default whitespace separator string for StringTokenizer.
00192     static const XalanDOMString&    DEFAULT_WHITESPACE_SEPARATOR_STRING;
00193 
00194     // Value for default text rule
00195     static const XalanDOMString&    ATTRVAL_DEFAULT_TEXT_RULE;
00196 
00197     static const XalanDOMString&    ATTRVAL_DEFAULT;
00198 
00199     // For Stylesheet-prefix and result-prefix in xsl:namespace-alias 
00200     static const XalanDOMString&    ATTRVAL_DEFAULT_PREFIX;
00201 
00202     // This is used for trace reporting.
00203     static const XalanDOMString&    PSEUDONAME_NODE;
00204 };
00205 
00206 
00207 
00208 XALAN_CPP_NAMESPACE_END
00209 
00210 
00211 
00212 #endif  // XALAN_CONSTANTS_HEADER_GUARD

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo