## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.7

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  * The Apache Software License, Version 1.1
    00003  *
    00004  *
    00005  * Copyright (c) 1999-2004 The Apache Software Foundation.  All rights
    00006  * reserved.
    00007  *
    00008  * Redistribution and use in source and binary forms, with or without
    00009  * modification, are permitted provided that the following conditions
    00010  * are met:
    00011  *
    00012  * 1. Redistributions of source code must retain the above copyright
    00013  *    notice, this list of conditions and the following disclaimer.
    00014  *
    00015  * 2. Redistributions in binary form must reproduce the above copyright
    00016  *    notice, this list of conditions and the following disclaimer in
    00017  *    the documentation and/or other materials provided with the
    00018  *    distribution.
    00019  *
    00020  * 3. The end-user documentation included with the redistribution,
    00021  *    if any, must include the following acknowledgment:
    00022  *       "This product includes software developed by the
    00023  *        Apache Software Foundation (http://www.apache.org/)."
    00024  *    Alternately, this acknowledgment may appear in the software itself,
    00025  *    if and wherever such third-party acknowledgments normally appear.
    00026  *
    00027  * 4. The names "Xalan" and "Apache Software Foundation" must
    00028  *    not be used to endorse or promote products derived from this
    00029  *    software without prior written permission. For written
    00030  *    permission, please contact apache@apache.org.
    00031  *
    00032  * 5. Products derived from this software may not be called "Apache",
    00033  *    nor may "Apache" appear in their name, without prior written
    00034  *    permission of the Apache Software Foundation.
    00035  *
    00036  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    00037  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
    00038  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    00039  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
    00040  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    00041  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    00042  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    00043  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    00044  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    00045  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    00046  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    00047  * SUCH DAMAGE.
    00048  * ====================================================================
    00049  *
    00050  * This software consists of voluntary contributions made by many
    00051  * individuals on behalf of the Apache Software Foundation and was
    00052  * originally based on software copyright (c) 1999, International
    00053  * Business Machines, Inc., http://www.ibm.com.  For more
    00054  * information on the Apache Software Foundation, please see
    00055  * <http://www.apache.org/>.
    00056  *
    00057  * @author <a href="mailto:david_n_bertoni@lotus.com">David N. Bertoni</a>
    00058  */
    00059 #if !defined(XALAN_CONSTANTS_HEADER_GUARD)
    00060 #define XALAN_CONSTANTS_HEADER_GUARD
    00061
    00062
    00063
    00064 // Base include file.  Must be first.
    00065 #include "XSLTDefinitions.hpp"
    00066
    00067
    00068
    00069 #include <xalanc/XalanDOM/XalanDOMString.hpp>
    00070
    00071
    00072
    00073 XALAN_CPP_NAMESPACE_BEGIN
    00074
    00075
    00076
    00080 class XALAN_XSLT_EXPORT Constants
    00081 {
    00082 public:
    00083
    00088     static void
    00089     initialize();
    00090
    00094     static void
    00095     terminate();
    00096
    00101     // Result tree counting
    00102     static const XalanDOMString&    ELEMNAME_ANY_STRING;
    00103     static const XalanDOMString&    ELEMNAME_APPLY_IMPORTS_WITH_PREFIX_STRING;
    00104     static const XalanDOMString&    ELEMNAME_APPLY_TEMPLATES_WITH_PREFIX_STRING;
    00105     static const XalanDOMString&    ELEMNAME_ATTRIBUTESET_WITH_PREFIX_STRING;
    00106     static const XalanDOMString&    ELEMNAME_ATTRIBUTE_WITH_PREFIX_STRING;
    00107     static const XalanDOMString&    ELEMNAME_CALLTEMPLATE_WITH_PREFIX_STRING;
    00108     static const XalanDOMString&    ELEMNAME_CHOOSE_WITH_PREFIX_STRING;
    00109     static const XalanDOMString&    ELEMNAME_COMMENT_WITH_PREFIX_STRING;
    00110     static const XalanDOMString&    ELEMNAME_COPY_OF_WITH_PREFIX_STRING;
    00111     static const XalanDOMString&    ELEMNAME_COPY_WITH_PREFIX_STRING;
    00112     static const XalanDOMString&    ELEMNAME_DECIMALFORMAT_WITH_PREFIX_STRING;
    00113     static const XalanDOMString&    ELEMNAME_ELEMENT_WITH_PREFIX_STRING;
    00114     static const XalanDOMString&    ELEMNAME_FALLBACK_WITH_PREFIX_STRING;
    00115     static const XalanDOMString&    ELEMNAME_FOREACH_WITH_PREFIX_STRING;
    00116     static const XalanDOMString&    ELEMNAME_HTML_STRING;
    00117     static const XalanDOMString&    ELEMNAME_IF_WITH_PREFIX_STRING;
    00118     static const XalanDOMString&    ELEMNAME_IMPORT_WITH_PREFIX_STRING;
    00119     static const XalanDOMString&    ELEMNAME_INCLUDE_WITH_PREFIX_STRING;
    00120     static const XalanDOMString&    ELEMNAME_KEY_WITH_PREFIX_STRING;
    00121     static const XalanDOMString&    ELEMNAME_MESSAGE_WITH_PREFIX_STRING;
    00122     static const XalanDOMString&    ELEMNAME_NUMBER_WITH_PREFIX_STRING;
    00123     static const XalanDOMString&    ELEMNAME_OTHERWISE_WITH_PREFIX_STRING;
    00124     static const XalanDOMString&    ELEMNAME_SORT_WITH_PREFIX_STRING;
    00125     static const XalanDOMString&    ELEMNAME_STRIPSPACE_WITH_PREFIX_STRING;
    00126     static const XalanDOMString&    ELEMNAME_TEMPLATE_WITH_PREFIX_STRING;
    00127     static const XalanDOMString&    ELEMNAME_TEXT_WITH_PREFIX_STRING;
    00128     static const XalanDOMString&    ELEMNAME_PARAM_WITH_PREFIX_STRING;
    00129     static const XalanDOMString&    ELEMNAME_PRESERVESPACE_WITH_PREFIX_STRING;
    00130     static const XalanDOMString&    ELEMNAME_PI_WITH_PREFIX_STRING;
    00131     static const XalanDOMString&    ELEMNAME_VALUEOF_WITH_PREFIX_STRING;
    00132     static const XalanDOMString&    ELEMNAME_VARIABLE_WITH_PREFIX_STRING;
    00133     static const XalanDOMString&    ELEMNAME_WHEN_WITH_PREFIX_STRING;
    00134     static const XalanDOMString&    ELEMNAME_WITHPARAM_WITH_PREFIX_STRING;
    00135
    00136     /*---------------------------------------------
    00137      * Literals for XSL attribute names.
    00138      */
    00139     static const XalanDOMString&    ATTRNAME_CASEORDER;
    00140     static const XalanDOMString&    ATTRNAME_COUNT;
    00141     static const XalanDOMString&    ATTRNAME_DATATYPE;
    00142     static const XalanDOMString&    ATTRNAME_DECIMALSEPARATOR;
    00143     static const XalanDOMString&    ATTRNAME_DEFAULT;
    00144     static const XalanDOMString&    ATTRNAME_DEFAULTSPACE;
    00145     static const XalanDOMString&    ATTRNAME_DIGIT;
    00146     static const XalanDOMString&    ATTRNAME_DIGITGROUPSEP;
    00147     static const XalanDOMString&    ATTRNAME_ELEMENTS;
    00148     static const XalanDOMString&    ATTRNAME_ESCAPE_URLS;
    00149     static const XalanDOMString&    ATTRNAME_EXCLUDE_RESULT_PREFIXES;
    00150     static const XalanDOMString&    ATTRNAME_EXTENSIONELEMENTPREFIXES;
    00151     static const XalanDOMString&    ATTRNAME_FORMAT;
    00152     static const XalanDOMString&    ATTRNAME_FROM;
    00153     static const XalanDOMString&    ATTRNAME_GROUPINGSEPARATOR;
    00154     static const XalanDOMString&    ATTRNAME_GROUPINGSIZE;
    00155     static const XalanDOMString&    ATTRNAME_HREF;
    00156     static const XalanDOMString&    ATTRNAME_ID;
    00157     static const XalanDOMString&    ATTRNAME_INDENTAMOUNT;
    00158     static const XalanDOMString&    ATTRNAME_INDENTRESULT;
    00159     static const XalanDOMString&    ATTRNAME_INFINITY;
    00160     static const XalanDOMString&    ATTRNAME_LANG;
    00161     static const XalanDOMString&    ATTRNAME_LETTERVALUE;
    00162     static const XalanDOMString&    ATTRNAME_MATCH;
    00163     static const XalanDOMString&    ATTRNAME_MINUSSIGN;
    00164     static const XalanDOMString&    ATTRNAME_MODE;
    00165     static const XalanDOMString&    ATTRNAME_NAME;
    00166     static const XalanDOMString&    ATTRNAME_NAMESPACE;
    00167     static const XalanDOMString&    ATTRNAME_NAN;
    00168     static const XalanDOMString&    ATTRNAME_NDIGITSPERGROUP;
    00169     static const XalanDOMString&    ATTRNAME_OMIT_META_TAG;
    00170     static const XalanDOMString&    ATTRNAME_ORDER;
    00171     static const XalanDOMString&    ATTRNAME_PATTERNSEPARATOR;
    00172     static const XalanDOMString&    ATTRNAME_PERCENT;
    00173     static const XalanDOMString&    ATTRNAME_PERMILLE;
    00174     static const XalanDOMString&    ATTRNAME_PREFIX;
    00175     static const XalanDOMString&    ATTRNAME_PRIORITY;
    00176     static const XalanDOMString&    ATTRNAME_RESULTNS;
    00177     static const XalanDOMString&    ATTRNAME_RESULT_PREFIX;
    00178     static const XalanDOMString&    ATTRNAME_SELECT;
    00179     static const XalanDOMString&    ATTRNAME_STYLESHEET_PREFIX;
    00180     static const XalanDOMString&    ATTRNAME_TERMINATE;
    00181     static const XalanDOMString&    ATTRNAME_TEST;
    00182     static const XalanDOMString&    ATTRNAME_TYPE;
    00183     static const XalanDOMString&    ATTRNAME_USE;
    00184     static const XalanDOMString&    ATTRNAME_USEATTRIBUTESETS;
    00185     static const XalanDOMString&    ATTRNAME_VALUE;
    00186     static const XalanDOMString&    ATTRNAME_VERSION;
    00187     static const XalanDOMString&    ATTRNAME_SPACE;
    00188     static const XalanDOMString&    ATTRNAME_XMLSPACE;
    00189     static const XalanDOMString&    ATTRNAME_ZERODIGIT;
    00190
    00191     static const XalanDOMString&    ATTRTYPE_CDATA;
    00192
    00193       // For space-att
    00194     static const XalanDOMString&    ATTRVAL_PRESERVE;
    00195     static const XalanDOMString&    ATTRVAL_STRIP;
    00196
    00197       // For indent-result
    00198     static const XalanDOMString&    ATTRVAL_YES;
    00199     static const XalanDOMString&    ATTRVAL_NO;
    00200
    00201     // Output stuff
    00202     static const XalanDOMString&    ATTRNAME_OUTPUT_METHOD;
    00203     static const XalanDOMString&    ATTRNAME_DISABLE_OUTPUT_ESCAPING;
    00204     static const XalanDOMString&    ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS;
    00205     static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_PUBLIC;
    00206     static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_SYSTEM;
    00207     static const XalanDOMString&    ATTRNAME_OUTPUT_ENCODING;
    00208     static const XalanDOMString&    ATTRNAME_OUTPUT_INDENT;
    00209     static const XalanDOMString&    ATTRNAME_OUTPUT_MEDIATYPE;
    00210     static const XalanDOMString&    ATTRNAME_OUTPUT_STANDALONE;
    00211     static const XalanDOMString&    ATTRNAME_OUTPUT_VERSION;
    00212     static const XalanDOMString&    ATTRNAME_OUTPUT_OMITXMLDECL;
    00213
    00214     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_HTML;
    00215     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_XML;
    00216     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_TEXT;
    00217
    00218     static const XalanDOMString&    ATTRVAL_THIS;
    00219
    00220   // Stuff for sorting
    00221     static const XalanDOMString&    ATTRVAL_DATATYPE_TEXT;
    00222     static const XalanDOMString&    ATTRVAL_DATATYPE_NUMBER;
    00223     static const XalanDOMString&    ATTRVAL_ORDER_ASCENDING;
    00224     static const XalanDOMString&    ATTRVAL_ORDER_DESCENDING;
    00225     static const XalanDOMString&    ATTRVAL_CASEORDER_UPPER;
    00226     static const XalanDOMString&    ATTRVAL_CASEORDER_LOWER;
    00227
    00228     // Stuff for xsl:decimal-format...
    00229     static const XalanDOMString&    ATTRVAL_INFINITY;
    00230     static const XalanDOMString&    ATTRVAL_NAN;
    00231
    00232     static const XalanDOMString&    ATTRVAL_SIMPLE;
    00233
    00234     // Default whitespace separator string for StringTokenizer.
    00235     static const XalanDOMString&    DEFAULT_WHITESPACE_SEPARATOR_STRING;
    00236
    00237     // Value for default text rule
    00238     static const XalanDOMString&    ATTRVAL_DEFAULT_TEXT_RULE;
    00239
    00240     static const XalanDOMString&    ATTRVAL_DEFAULT;
    00241
    00242     // For Stylesheet-prefix and result-prefix in xsl:namespace-alias
    00243     static const XalanDOMString&    ATTRVAL_DEFAULT_PREFIX;
    00244
    00245     // This is used for trace reporting.
    00246     static const XalanDOMString&    PSEUDONAME_NODE;
    00247 };
    00248
    00249
    00250
    00251 XALAN_CPP_NAMESPACE_END
    00252
    00253
    00254
    00255 #endif  // XALAN_CONSTANTS_HEADER_GUARD

Interpreting class diagrams

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

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