## Xalan-C++ API Documentation

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

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-2002 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 <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_MESSAGE_WITH_PREFIX_STRING;
    00119     static const XalanDOMString&    ELEMNAME_NUMBER_WITH_PREFIX_STRING;
    00120     static const XalanDOMString&    ELEMNAME_OTHERWISE_WITH_PREFIX_STRING;
    00121     static const XalanDOMString&    ELEMNAME_SORT_WITH_PREFIX_STRING;
    00122     static const XalanDOMString&    ELEMNAME_TEMPLATE_WITH_PREFIX_STRING;
    00123     static const XalanDOMString&    ELEMNAME_TEXT_WITH_PREFIX_STRING;
    00124     static const XalanDOMString&    ELEMNAME_VALUEOF_WITH_PREFIX_STRING;
    00125     static const XalanDOMString&    ELEMNAME_VARIABLE_WITH_PREFIX_STRING;
    00126     static const XalanDOMString&    ELEMNAME_WHEN_WITH_PREFIX_STRING;
    00127     static const XalanDOMString&    ELEMNAME_PARAM_WITH_PREFIX_STRING;
    00128     static const XalanDOMString&    ELEMNAME_PI_WITH_PREFIX_STRING;
    00129     static const XalanDOMString&    ELEMNAME_WITHPARAM_WITH_PREFIX_STRING;
    00130
    00131     /*---------------------------------------------
    00132      * Literals for XSL attribute names.
    00133      */
    00134     static const XalanDOMString&    ATTRNAME_CASEORDER;
    00135     static const XalanDOMString&    ATTRNAME_COUNT;
    00136     static const XalanDOMString&    ATTRNAME_DATATYPE;
    00137     static const XalanDOMString&    ATTRNAME_DECIMALSEPARATOR;
    00138     static const XalanDOMString&    ATTRNAME_DEFAULT;
    00139     static const XalanDOMString&    ATTRNAME_DEFAULTSPACE;
    00140     static const XalanDOMString&    ATTRNAME_DIGIT;
    00141     static const XalanDOMString&    ATTRNAME_DIGITGROUPSEP;
    00142     static const XalanDOMString&    ATTRNAME_ELEMENTS;
    00143     static const XalanDOMString&    ATTRNAME_ESCAPE_URLS;
    00144     static const XalanDOMString&    ATTRNAME_EXCLUDE_RESULT_PREFIXES;
    00145     static const XalanDOMString&    ATTRNAME_EXTENSIONELEMENTPREFIXES;
    00146     static const XalanDOMString&    ATTRNAME_FORMAT;
    00147     static const XalanDOMString&    ATTRNAME_FROM;
    00148     static const XalanDOMString&    ATTRNAME_GROUPINGSEPARATOR;
    00149     static const XalanDOMString&    ATTRNAME_GROUPINGSIZE;
    00150     static const XalanDOMString&    ATTRNAME_HREF;
    00151     static const XalanDOMString&    ATTRNAME_ID;
    00152     static const XalanDOMString&    ATTRNAME_INDENTAMOUNT;
    00153     static const XalanDOMString&    ATTRNAME_INDENTRESULT;
    00154     static const XalanDOMString&    ATTRNAME_INFINITY;
    00155     static const XalanDOMString&    ATTRNAME_LANG;
    00156     static const XalanDOMString&    ATTRNAME_LETTERVALUE;
    00157     static const XalanDOMString&    ATTRNAME_MATCH;
    00158     static const XalanDOMString&    ATTRNAME_MINUSSIGN;
    00159     static const XalanDOMString&    ATTRNAME_MODE;
    00160     static const XalanDOMString&    ATTRNAME_NAME;
    00161     static const XalanDOMString&    ATTRNAME_NAMESPACE;
    00162     static const XalanDOMString&    ATTRNAME_NAN;
    00163     static const XalanDOMString&    ATTRNAME_NDIGITSPERGROUP;
    00164     static const XalanDOMString&    ATTRNAME_OMIT_META_TAG;
    00165     static const XalanDOMString&    ATTRNAME_ORDER;
    00166     static const XalanDOMString&    ATTRNAME_PATTERNSEPARATOR;
    00167     static const XalanDOMString&    ATTRNAME_PERCENT;
    00168     static const XalanDOMString&    ATTRNAME_PERMILLE;
    00169     static const XalanDOMString&    ATTRNAME_PREFIX;
    00170     static const XalanDOMString&    ATTRNAME_PRIORITY;
    00171     static const XalanDOMString&    ATTRNAME_RESULTNS;
    00172     static const XalanDOMString&    ATTRNAME_RESULT_PREFIX;
    00173     static const XalanDOMString&    ATTRNAME_SELECT;
    00174     static const XalanDOMString&    ATTRNAME_STYLESHEET_PREFIX;
    00175     static const XalanDOMString&    ATTRNAME_TERMINATE;
    00176     static const XalanDOMString&    ATTRNAME_TEST;
    00177     static const XalanDOMString&    ATTRNAME_TYPE;
    00178     static const XalanDOMString&    ATTRNAME_USE;
    00179     static const XalanDOMString&    ATTRNAME_USEATTRIBUTESETS;
    00180     static const XalanDOMString&    ATTRNAME_VALUE;
    00181     static const XalanDOMString&    ATTRNAME_VERSION;
    00182     static const XalanDOMString&    ATTRNAME_SPACE;
    00183     static const XalanDOMString&    ATTRNAME_ZERODIGIT;
    00184
    00185     static const XalanDOMString&    ATTRTYPE_CDATA;
    00186
    00187       // For space-att
    00188     static const XalanDOMString&    ATTRVAL_PRESERVE;
    00189     static const XalanDOMString&    ATTRVAL_STRIP;
    00190
    00191       // For indent-result
    00192     static const XalanDOMString&    ATTRVAL_YES;
    00193     static const XalanDOMString&    ATTRVAL_NO;
    00194
    00195     // Output stuff
    00196     static const XalanDOMString&    ATTRNAME_OUTPUT_METHOD;
    00197     static const XalanDOMString&    ATTRNAME_DISABLE_OUTPUT_ESCAPING;
    00198     static const XalanDOMString&    ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS;
    00199     static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_PUBLIC;
    00200     static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_SYSTEM;
    00201     static const XalanDOMString&    ATTRNAME_OUTPUT_ENCODING;
    00202     static const XalanDOMString&    ATTRNAME_OUTPUT_INDENT;
    00203     static const XalanDOMString&    ATTRNAME_OUTPUT_MEDIATYPE;
    00204     static const XalanDOMString&    ATTRNAME_OUTPUT_STANDALONE;
    00205     static const XalanDOMString&    ATTRNAME_OUTPUT_VERSION;
    00206     static const XalanDOMString&    ATTRNAME_OUTPUT_OMITXMLDECL;
    00207
    00208     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_HTML;
    00209     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_XML;
    00210     static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_TEXT;
    00211
    00212     static const XalanDOMString&    ATTRVAL_THIS;
    00213
    00214   // Stuff for sorting
    00215     static const XalanDOMString&    ATTRVAL_DATATYPE_TEXT;
    00216     static const XalanDOMString&    ATTRVAL_DATATYPE_NUMBER;
    00217     static const XalanDOMString&    ATTRVAL_ORDER_ASCENDING;
    00218     static const XalanDOMString&    ATTRVAL_ORDER_DESCENDING;
    00219     static const XalanDOMString&    ATTRVAL_CASEORDER_UPPER;
    00220     static const XalanDOMString&    ATTRVAL_CASEORDER_LOWER;
    00221
    00222     // Stuff for xsl:decimal-format...
    00223     static const XalanDOMString&    ATTRVAL_INFINITY;
    00224     static const XalanDOMString&    ATTRVAL_NAN;
    00225
    00226     static const XalanDOMString&    ATTRVAL_SIMPLE;
    00227
    00228     // Default whitespace separator string for StringTokenizer.
    00229     static const XalanDOMString&    DEFAULT_WHITESPACE_SEPARATOR_STRING;
    00230
    00231     // Value for default text rule
    00232     static const XalanDOMString&    ATTRVAL_DEFAULT_TEXT_RULE;
    00233
    00234     static const XalanDOMString&    ATTRVAL_DEFAULT;
    00235
    00236     // For Stylesheet-prefix and result-prefix in xsl:namespace-alias
    00237     static const XalanDOMString&    ATTRVAL_DEFAULT_PREFIX;
    00238
    00239     // This is used for trace reporting.
    00240     static const XalanDOMString&    PSEUDONAME_NODE;
    00241 };
    00242
    00243
    00244
    00245 XALAN_CPP_NAMESPACE_END
    00246
    00247
    00248
    00249 #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.5 Copyright © 2000, 2001, 2002, 2003 The Apache Software Foundation. All Rights Reserved.