FileDocCategorySizeDatePackage
Constants.javaAPI DocJava SE 5 API18347Fri Aug 26 14:55:32 BST 2005com.sun.org.apache.xalan.internal.templates

Constants

public class Constants extends Constants
Primary constants used in the TransformerImpl classes.
xsl.usage
advanced

Fields Summary
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.)
public static final int
ELEMNAME_WITHPARAM
public static final int
ELEMNAME_ADDATTRIBUTE
public static final int
ELEMNAME_ANCHOR
public static final int
ELEMNAME_APPLY_TEMPLATES
public static final int
ELEMNAME_USE
public static final int
ELEMNAME_CHILDREN
public static final int
ELEMNAME_CHOOSE
public static final int
ELEMNAME_COMMENT
public static final int
ELEMNAME_CONSTRUCT
public static final int
ELEMNAME_CONTENTS
public static final int
ELEMNAME_COPY
public static final int
ELEMNAME_COPY_OF
public static final int
ELEMNAME_DECIMALFORMAT
public static final int
ELEMNAME_DEFINEATTRIBUTESET
public static final int
ELEMNAME_DEFINESCRIPT
public static final int
ELEMNAME_DISPLAYIF
public static final int
ELEMNAME_EMPTY
public static final int
ELEMNAME_EVAL
public static final int
ELEMNAME_EXPECTEDCHILDREN
public static final int
ELEMNAME_EXTENSION
public static final int
ELEMNAME_EXTENSIONHANDLER
public static final int
ELEMNAME_FOREACH
public static final int
ELEMNAME_KEY
public static final int
ELEMNAME_IF
public static final int
ELEMNAME_IMPORT
public static final int
ELEMNAME_INCLUDE
public static final int
ELEMNAME_CALLTEMPLATE
public static final int
ELEMNAME_PARAMVARIABLE
public static final int
ELEMNAME_NUMBER
public static final int
ELEMNAME_NSALIAS
public static final int
ELEMNAME_OTHERWISE
public static final int
ELEMNAME_PI
public static final int
ELEMNAME_PRESERVESPACE
public static final int
ELEMNAME_REMOVEATTRIBUTE
public static final int
ELEMNAME_TEMPLATE
public static final int
ELEMNAME_SORT
public static final int
ELEMNAME_STRIPSPACE
public static final int
ELEMNAME_STYLESHEET
public static final int
ELEMNAME_TEXT
public static final int
ELEMNAME_VALUEOF
public static final int
ELEMNAME_WHEN
public static final int
ELEMNAME_ROOT
public static final int
ELEMNAME_ANY
public static final int
ELEMNAME_ELEMENT
public static final int
ELEMNAME_TARGETELEMENT
public static final int
ELEMNAME_ATTRIBUTE
public static final int
ELEMNAME_TARGETATTRIBUTE
public static final int
ELEMNAME_URL
public static final int
ELEMNAME_CALL
public static final int
ELEMNAME_FALLBACK
public static final int
ELEMNAME_TARGETPI
public static final int
ELEMNAME_TARGETCOMMENT
public static final int
ELEMNAME_TARGETTEXT
public static final int
ELEMNAME_CSSSTYLECONVERSION
public static final int
ELEMNAME_COUNTER
public static final int
ELEMNAME_COUNTERS
public static final int
ELEMNAME_COUNTERINCREMENT
public static final int
ELEMNAME_COUNTERRESET
public static final int
ELEMNAME_COUNTERSCOPE
public static final int
ELEMNAME_APPLY_IMPORTS
public static final int
ELEMNAME_VARIABLE
public static final int
ELEMNAME_MESSAGE
public static final int
ELEMNAME_LOCALE
public static final int
ELEMNAME_LITERALRESULT
public static final int
ELEMNAME_TEXTLITERALRESULT
public static final int
ELEMNAME_EXTENSIONCALL
public static final int
ELEMNAME_EXTENSIONDECL
public static final int
ELEMNAME_EXTENSIONSCRIPT
public static final int
ELEMNAME_OUTPUT
public static final int
ELEMNAME_COMPONENT
public static final int
ELEMNAME_SCRIPT
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.
public static final String
ELEMNAME_ANY_STRING
public static final String
ELEMNAME_APPLY_IMPORTS_STRING
public static final String
ELEMNAME_APPLY_TEMPLATES_STRING
public static final String
ELEMNAME_ARG_STRING
public static final String
ELEMNAME_ATTRIBUTESET_STRING
public static final String
ELEMNAME_ATTRIBUTE_STRING
public static final String
ELEMNAME_CALLTEMPLATEARG_STRING
public static final String
ELEMNAME_CALLTEMPLATE_STRING
public static final String
ELEMNAME_CALL_STRING
public static final String
ELEMNAME_CHILDREN_STRING
public static final String
ELEMNAME_CHOOSE_STRING
public static final String
ELEMNAME_COMMENT_STRING
public static final String
ELEMNAME_COMPONENT_STRING
public static final String
ELEMNAME_CONSTRUCT_STRING
public static final String
ELEMNAME_CONTENTS_STRING
public static final String
ELEMNAME_COPY_OF_STRING
public static final String
ELEMNAME_COPY_STRING
public static final String
ELEMNAME_COUNTERINCREMENT_STRING
public static final String
ELEMNAME_COUNTERRESET_STRING
public static final String
ELEMNAME_COUNTERSCOPE_STRING
public static final String
ELEMNAME_COUNTERS_STRING
public static final String
ELEMNAME_COUNTER_STRING
public static final String
ELEMNAME_CSSSTYLECONVERSION_STRING
public static final String
ELEMNAME_DECIMALFORMAT_STRING
public static final String
ELEMNAME_DISPLAYIF_STRING
public static final String
ELEMNAME_ELEMENT_STRING
public static final String
ELEMNAME_EMPTY_STRING
public static final String
ELEMNAME_EVAL_STRING
public static final String
ELEMNAME_EXPECTEDCHILDREN_STRING
public static final String
ELEMNAME_EXTENSIONHANDLER_STRING
public static final String
ELEMNAME_EXTENSION_STRING
public static final String
ELEMNAME_FALLBACK_STRING
public static final String
ELEMNAME_FOREACH_STRING
public static final String
ELEMNAME_IF_STRING
public static final String
ELEMNAME_IMPORT_STRING
public static final String
ELEMNAME_INCLUDE_STRING
public static final String
ELEMNAME_KEY_STRING
public static final String
ELEMNAME_LOCALE_STRING
public static final String
ELEMNAME_MESSAGE_STRING
public static final String
ELEMNAME_NSALIAS_STRING
public static final String
ELEMNAME_NUMBER_STRING
public static final String
ELEMNAME_OTHERWISE_STRING
public static final String
ELEMNAME_OUTPUT_STRING
public static final String
ELEMNAME_PARAMVARIABLE_STRING
public static final String
ELEMNAME_PI_OLD_STRING
public static final String
ELEMNAME_PI_STRING
public static final String
ELEMNAME_PRESERVESPACE_STRING
public static final String
ELEMNAME_ROOT_STRING
public static final String
ELEMNAME_SCRIPT_STRING
public static final String
ELEMNAME_SORT_STRING
public static final String
ELEMNAME_STRIPSPACE_STRING
public static final String
ELEMNAME_STYLESHEET_STRING
public static final String
ELEMNAME_TARGETATTRIBUTE_STRING
public static final String
ELEMNAME_TARGETCOMMENT_STRING
public static final String
ELEMNAME_TARGETELEMENT_STRING
public static final String
ELEMNAME_TARGETPI_STRING
public static final String
ELEMNAME_TARGETTEXT_STRING
public static final String
ELEMNAME_TEMPLATE_STRING
public static final String
ELEMNAME_TEXT_STRING
public static final String
ELEMNAME_TRANSFORM_STRING
public static final String
ELEMNAME_URL_STRING
public static final String
ELEMNAME_USE_STRING
public static final String
ELEMNAME_VALUEOF_STRING
public static final String
ELEMNAME_VARIABLE_STRING
public static final String
ELEMNAME_WHEN_STRING
public static final String
ELEMNAME_WITHPARAM_STRING
public static final String
EXSLT_ELEMNAME_FUNCTION_STRING
Literals for EXSLT function elements.
public static final String
EXSLT_ELEMNAME_FUNCRESULT_STRING
public static final int
EXSLT_ELEMNAME_FUNCTION
public static final int
EXSLT_ELEMNAME_FUNCRESULT
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.
public static final String
ATTRNAME_ANCESTOR
public static final String
ATTRNAME_ARCHIVE
public static final String
ATTRNAME_ATTRIBUTE
public static final String
ATTRNAME_ATTRIBUTE_SET
public static final String
ATTRNAME_CASEORDER
public static final String
ATTRNAME_CLASS
public static final String
ATTRNAME_CLASSID
public static final String
ATTRNAME_CODEBASE
public static final String
ATTRNAME_CODETYPE
public static final String
ATTRNAME_CONDITION
public static final String
ATTRNAME_COPYTYPE
public static final String
ATTRNAME_COUNT
public static final String
ATTRNAME_DATATYPE
public static final String
ATTRNAME_DECIMALSEPARATOR
public static final String
ATTRNAME_DEFAULT
public static final String
ATTRNAME_DEFAULTSPACE
public static final String
ATTRNAME_DEPTH
public static final String
ATTRNAME_DIGIT
public static final String
ATTRNAME_DIGITGROUPSEP
public static final String
ATTRNAME_DISABLE_OUTPUT_ESCAPING
public static final String
ATTRNAME_ELEMENT
public static final String
ATTRNAME_ELEMENTS
public static final String
ATTRNAME_EXCLUDE_RESULT_PREFIXES
public static final String
ATTRNAME_EXPR
public static final String
ATTRNAME_EXTENSIONELEMENTPREFIXES
public static final String
ATTRNAME_FORMAT
public static final String
ATTRNAME_FROM
public static final String
ATTRNAME_GROUPINGSEPARATOR
public static final String
ATTRNAME_GROUPINGSIZE
public static final String
ATTRNAME_HREF
public static final String
ATTRNAME_ID
public static final String
ATTRNAME_IMPORTANCE
public static final String
ATTRNAME_INDENTRESULT
public static final String
ATTRNAME_INFINITY
public static final String
ATTRNAME_LANG
public static final String
ATTRNAME_LETTERVALUE
public static final String
ATTRNAME_LEVEL
public static final String
ATTRNAME_MATCH
public static final String
ATTRNAME_METHOD
public static final String
ATTRNAME_MINUSSIGN
public static final String
ATTRNAME_MODE
public static final String
ATTRNAME_NAME
public static final String
ATTRNAME_NAMESPACE
public static final String
ATTRNAME_NAN
public static final String
ATTRNAME_NDIGITSPERGROUP
public static final String
ATTRNAME_NS
public static final String
ATTRNAME_ONLY
public static final String
ATTRNAME_ORDER
public static final String
ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS
public static final String
ATTRNAME_OUTPUT_DOCTYPE_PUBLIC
public static final String
ATTRNAME_OUTPUT_DOCTYPE_SYSTEM
public static final String
ATTRNAME_OUTPUT_ENCODING
public static final String
ATTRNAME_OUTPUT_INDENT
public static final String
ATTRNAME_OUTPUT_MEDIATYPE
public static final String
ATTRNAME_OUTPUT_METHOD
public static final String
ATTRNAME_OUTPUT_OMITXMLDECL
public static final String
ATTRNAME_OUTPUT_STANDALONE
public static final String
ATTRNAME_OUTPUT_VERSION
public static final String
ATTRNAME_PATTERNSEPARATOR
public static final String
ATTRNAME_PERCENT
public static final String
ATTRNAME_PERMILLE
public static final String
ATTRNAME_PRIORITY
public static final String
ATTRNAME_REFID
public static final String
ATTRNAME_RESULTNS
public static final String
ATTRNAME_RESULT_PREFIX
public static final String
ATTRNAME_SELECT
public static final String
ATTRNAME_SEQUENCESRC
public static final String
ATTRNAME_STYLE
public static final String
ATTRNAME_STYLESHEET_PREFIX
public static final String
ATTRNAME_TERMINATE
public static final String
ATTRNAME_TEST
public static final String
ATTRNAME_TOSTRING
public static final String
ATTRNAME_TYPE
public static final String
ATTRNAME_USE
public static final String
ATTRNAME_USEATTRIBUTESETS
public static final String
ATTRNAME_VALUE
public static final String
ATTRNAME_VERSION
public static final String
ATTRNAME_XMLNS
public static final String
ATTRNAME_XMLNSDEF
public static final String
ATTRNAME_XMLSPACE
public static final String
ATTRNAME_ZERODIGIT
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!
public static final int
TATTRNAME_AMOUNT
public static final int
TATTRNAME_ANCESTOR
public static final int
TATTRNAME_ARCHIVE
public static final int
TATTRNAME_ATTRIBUTE
public static final int
TATTRNAME_ATTRIBUTE_SET
public static final int
TATTRNAME_CASEORDER
public static final int
TATTRNAME_CLASS
public static final int
TATTRNAME_CLASSID
public static final int
TATTRNAME_CODEBASE
public static final int
TATTRNAME_CODETYPE
public static final int
TATTRNAME_CONDITION
public static final int
TATTRNAME_COPYTYPE
public static final int
TATTRNAME_COUNT
public static final int
TATTRNAME_DATATYPE
public static final int
TATTRNAME_DEFAULT
public static final int
TATTRNAME_DEFAULTSPACE
public static final int
TATTRNAME_DEPTH
public static final int
TATTRNAME_DIGITGROUPSEP
public static final int
TATTRNAME_DISABLE_OUTPUT_ESCAPING
public static final int
TATTRNAME_ELEMENT
public static final int
TATTRNAME_ELEMENTS
public static final int
TATTRNAME_EXPR
public static final int
TATTRNAME_EXTENSIONELEMENTPREFIXES
public static final int
TATTRNAME_FORMAT
public static final int
TATTRNAME_FROM
public static final int
TATTRNAME_GROUPINGSEPARATOR
public static final int
TATTRNAME_GROUPINGSIZE
public static final int
TATTRNAME_HREF
public static final int
TATTRNAME_ID
public static final int
TATTRNAME_IMPORTANCE
public static final int
TATTRNAME_INDENTRESULT
public static final int
TATTRNAME_LANG
public static final int
TATTRNAME_LETTERVALUE
public static final int
TATTRNAME_LEVEL
public static final int
TATTRNAME_MATCH
public static final int
TATTRNAME_METHOD
public static final int
TATTRNAME_MODE
public static final int
TATTRNAME_NAME
public static final int
TATTRNAME_NAMESPACE
public static final int
TATTRNAME_NDIGITSPERGROUP
public static final int
TATTRNAME_NS
public static final int
TATTRNAME_ONLY
public static final int
TATTRNAME_ORDER
public static final int
TATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS
public static final int
TATTRNAME_OUTPUT_DOCTYPE_PUBLIC
public static final int
TATTRNAME_OUTPUT_DOCTYPE_SYSTEM
public static final int
TATTRNAME_OUTPUT_ENCODING
public static final int
TATTRNAME_OUTPUT_INDENT
public static final int
TATTRNAME_OUTPUT_MEDIATYPE
public static final int
TATTRNAME_OUTPUT_STANDALONE
public static final int
TATTRNAME_OUTPUT_VERSION
public static final int
TATTRNAME_OUTPUT_OMITXMLDECL
public static final int
TATTRNAME_PRIORITY
public static final int
TATTRNAME_REFID
public static final int
TATTRNAME_RESULTNS
public static final int
TATTRNAME_SELECT
public static final int
TATTRNAME_SEQUENCESRC
public static final int
TATTRNAME_STYLE
public static final int
TATTRNAME_TEST
public static final int
TATTRNAME_TOSTRING
public static final int
TATTRNAME_TYPE
public static final int
TATTRNAME_USE
public static final int
TATTRNAME_USEATTRIBUTESETS
public static final int
TATTRNAME_VALUE
public static final int
TATTRNAME_XMLNSDEF
public static final int
TATTRNAME_XMLNS
public static final int
TATTRNAME_XMLSPACE
public static final int
TATTRNAME_EXCLUDE_RESULT_PREFIXES
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.
public static final String
ATTRVAL_OUTPUT_METHOD_XML
public static final String
ATTRVAL_OUTPUT_METHOD_TEXT
public static final int
ATTRVAL_PRESERVE
public static final int
ATTRVAL_STRIP
public static final boolean
ATTRVAL_YES
For indent-result
public static final boolean
ATTRVAL_NO
public static final String
ATTRVAL_ALPHABETIC
For letter-value attribute (part of conversion attributes).
public static final String
ATTRVAL_OTHER
public static final String
ATTRVAL_TRADITIONAL
public static final String
ATTRVAL_SINGLE
For level attribute in xsl:number.
public static final String
ATTRVAL_MULTI
public static final String
ATTRVAL_ANY
public static final String
ATTRVAL_DEFAULT_PREFIX
For Stylesheet-prefix and result-prefix in xsl:namespace-alias
public static final int
NUMBERLETTER_ALPHABETIC
Integer equivalents for above
public static final int
NUMBERLETTER_TRADITIONAL
public static final int
NUMBERLEVEL_SINGLE
Integer equivelents for above
public static final int
NUMBERLEVEL_MULTI
public static final int
NUMBERLEVEL_ANY
public static final int
MAX_MULTI_COUNTING_DEPTH
public static final String
ATTRVAL_THIS
some stuff for my patterns-by-example
public static final String
ATTRVAL_PARENT
public static final String
ATTRVAL_ANCESTOR
public static final String
ATTRVAL_ID
public static final String
ATTRVAL_DATATYPE_TEXT
Stuff for sorting
public static final String
ATTRVAL_DATATYPE_NUMBER
public static final String
ATTRVAL_ORDER_ASCENDING
public static final String
ATTRVAL_ORDER_DESCENDING
public static final String
ATTRVAL_CASEORDER_UPPER
public static final String
ATTRVAL_CASEORDER_LOWER
public static final int
SORTDATATYPE_TEXT
Integer equivelents for DATATYPE attribute
public static final int
SORTDATATYPE_NUMBER
public static final int
SORTORDER_ASCENDING
Integer equivelents for ORDER attribute
public static final int
SORTORDER_DESCENDING
public static final int
SORTCASEORDER_UPPERFIRST
Integer equivelents for CASE-ORDER attribute
public static final int
SORTCASEORDER_LOWERFIRST
public static final String
ATTRVAL_INFINITY
some stuff for Decimal-format
public static final String
ATTRVAL_NAN
public static final String
DEFAULT_DECIMAL_FORMAT
public static final String
ATTRNAME_XXXX
temp dummy
Constructors Summary
Methods Summary