org.apache.xalan.templates

Class Constants


public class Constants
extends Constants

Primary constants used in the TransformerImpl classes.

Field Summary

static String
ATTRNAME_AMOUNT
Literals for XSL attribute names.
static String
ATTRNAME_XXXX
temp dummy
static String
ATTRVAL_ALPHABETIC
For letter-value attribute (part of conversion attributes).
static String
ATTRVAL_DATATYPE_TEXT
Stuff for sorting
static String
ATTRVAL_DEFAULT_PREFIX
For Stylesheet-prefix and result-prefix in xsl:namespace-alias
static String
ATTRVAL_INFINITY
some stuff for Decimal-format
static String
ATTRVAL_OUTPUT_METHOD_HTML
Mnemonics for the possible values of the xsl:output element's method= attribute:
  • ATTRVAL_OUTPUT_METHOD_XML = Use an XML formatter to produce the output document (basic XSLT operation).
  • ATTRVAL_OUTPUT_METHOD_HTML: Use an HTML formatter to produce the output document.
static int
ATTRVAL_PRESERVE
static String
ATTRVAL_SINGLE
For level attribute in xsl:number.
static String
ATTRVAL_THIS
some stuff for my patterns-by-example
static boolean
ATTRVAL_YES
For indent-result
static String
ELEMNAME_ANCHOR_STRING
Literals for XSL element names.
static int
ELEMNAME_UNDEFINED
IDs for XSL element types.
static int
EXSLT_ELEMNAME_FUNCTION
static String
EXSLT_ELEMNAME_FUNCTION_STRING
Literals for EXSLT function elements.
static int
NUMBERLETTER_ALPHABETIC
Integer equivalents for above
static int
NUMBERLEVEL_SINGLE
Integer equivelents for above
static int
SORTCASEORDER_UPPERFIRST
Integer equivelents for CASE-ORDER attribute
static int
SORTDATATYPE_TEXT
Integer equivelents for DATATYPE attribute
static int
SORTORDER_ASCENDING
Integer equivelents for ORDER attribute
static int
TATTRNAME_OUTPUT_METHOD
IDs for XSL attribute types.

Fields inherited from class org.apache.xml.utils.Constants

// The old namespace for Java extension S_EXTENSIONS_OLD_JAVA_URL, S_BUILTIN_EXTENSIONS_URL, S_BUILTIN_OLD_EXTENSIONS_URL, S_EXSLT_COMMON_URL, S_VENDOR, S_XMLNAMESPACEURI, XSLTVERSUPPORTED

Field Details

ATTRNAME_AMOUNT

public static final String ATTRNAME_AMOUNT
Literals for XSL attribute names. Note that there may be more names than IDs, because some names may map to the same ID.


ATTRNAME_XXXX

public static final String ATTRNAME_XXXX
temp dummy


ATTRVAL_ALPHABETIC

public static final String ATTRVAL_ALPHABETIC
For letter-value attribute (part of conversion attributes).


ATTRVAL_DATATYPE_TEXT

public static final String ATTRVAL_DATATYPE_TEXT
Stuff for sorting


ATTRVAL_DEFAULT_PREFIX

public static final String ATTRVAL_DEFAULT_PREFIX
For Stylesheet-prefix and result-prefix in xsl:namespace-alias


ATTRVAL_INFINITY

public static final String ATTRVAL_INFINITY
some stuff for Decimal-format


ATTRVAL_OUTPUT_METHOD_HTML

public static final String ATTRVAL_OUTPUT_METHOD_HTML
Mnemonics for the possible values of the xsl:output element's method= attribute:
  • ATTRVAL_OUTPUT_METHOD_XML = Use an XML formatter to produce the output document (basic XSLT operation).
  • ATTRVAL_OUTPUT_METHOD_HTML: Use an HTML formatter to produce the output document. When generating HTML documents, this may yield better results; it does things like escaping characters in href attributes.
  • ATTRVAL_OUTPUT_METHOD_TEXT: Use a Text formatter to produce the output document. Generally the right choice if your stylesheet wants to take over _all_ the details of formatting, most often when producing something that isn't an XML or HTML document.


ATTRVAL_PRESERVE

public static final int ATTRVAL_PRESERVE


ATTRVAL_SINGLE

public static final String ATTRVAL_SINGLE
For level attribute in xsl:number.


ATTRVAL_THIS

public static final String ATTRVAL_THIS
some stuff for my patterns-by-example


ATTRVAL_YES

public static final boolean ATTRVAL_YES
For indent-result


ELEMNAME_ANCHOR_STRING

public static final String ELEMNAME_ANCHOR_STRING
Literals for XSL element names. Note that there are more names than IDs, because some names map to the same ID.


ELEMNAME_UNDEFINED

public static final int ELEMNAME_UNDEFINED
IDs for XSL element types. These are associated with the string literals in the TransformerImpl class. Don't change the numbers. NOTE THAT THESE ARE NOT IN ALPHABETICAL ORDER! (It's a pity Java doesn't have a real Enumerated Mnemonic datatype... or a C-like preprocessor in lieu thereof which could be used to generate and maintain synch between these lists.)


EXSLT_ELEMNAME_FUNCTION

public static final int EXSLT_ELEMNAME_FUNCTION


EXSLT_ELEMNAME_FUNCTION_STRING

public static final String EXSLT_ELEMNAME_FUNCTION_STRING
Literals for EXSLT function elements.


NUMBERLETTER_ALPHABETIC

public static final int NUMBERLETTER_ALPHABETIC
Integer equivalents for above


NUMBERLEVEL_SINGLE

public static final int NUMBERLEVEL_SINGLE
Integer equivelents for above


SORTCASEORDER_UPPERFIRST

public static final int SORTCASEORDER_UPPERFIRST
Integer equivelents for CASE-ORDER attribute


SORTDATATYPE_TEXT

public static final int SORTDATATYPE_TEXT
Integer equivelents for DATATYPE attribute


SORTORDER_ASCENDING

public static final int SORTORDER_ASCENDING
Integer equivelents for ORDER attribute


TATTRNAME_OUTPUT_METHOD

public static final int TATTRNAME_OUTPUT_METHOD
IDs for XSL attribute types. These are associated with the string literals in the TransformerImpl class. Don't change the numbers. NOTE THAT THESE ARE NOT IN ALPHABETICAL ORDER!


Copyright B) 2004 Apache XML Project. All Rights Reserved.