Actually does the work of compiling the stylesheet's object model
into the template rules, actions, variable definitions, etc.
The constructor compiles the stylesheet, the method "process()"
runs the transformation
ATTRIBUTE
(package private) Name ATTRIBUTE
CASE_ORDER
(package private) Name CASE_ORDER
CDATA_SECTION_ELEMENTS
(package private) Name CDATA_SECTION_ELEMENTS
COUNT
(package private) Name COUNT
DATA_TYPE
(package private) Name DATA_TYPE
DEFAULT
(package private) Name DEFAULT
DISABLE_OUTPUT_ESCAPING
(package private) Name DISABLE_OUTPUT_ESCAPING
DOCTYPE_PUBLIC
(package private) Name DOCTYPE_PUBLIC
DOCTYPE_SYSTEM
(package private) Name DOCTYPE_SYSTEM
ELEMENTS
(package private) Name ELEMENTS
ENCODING
(package private) Name ENCODING
EXCLUDE_RESULT_PREFIXES
(package private) Name EXCLUDE_RESULT_PREFIXES
FORMAT
(package private) Name FORMAT
FROM
(package private) Name FROM
GROUPING_SEPARATOR
(package private) Name GROUPING_SEPARATOR
GROUPING_SIZE
(package private) Name GROUPING_SIZE
HREF
(package private) Name HREF
INDENT
(package private) Name INDENT
LANG
(package private) Name LANG
LETTER_VALUE
(package private) Name LETTER_VALUE
LEVEL
(package private) Name LEVEL
MATCH
(package private) Name MATCH
MEDIA_TYPE
(package private) Name MEDIA_TYPE
METHOD
(package private) Name METHOD
MODE
(package private) Name MODE
NAME
(package private) Name NAME
NAMESPACE
(package private) Name NAMESPACE
OMIT_XML_DECLARATION
(package private) Name OMIT_XML_DECLARATION
ORDER
(package private) Name ORDER
PRIORITY
(package private) Name PRIORITY
RESULT_PREFIX
(package private) Name RESULT_PREFIX
SELECT
(package private) Name SELECT
STANDALONE
(package private) Name STANDALONE
STYLESHEET_PREFIX
(package private) Name STYLESHEET_PREFIX
TERMINATE
(package private) Name TERMINATE
TEST
(package private) Name TEST
USE
(package private) Name USE
USE_ATTRIBUTE_SETS
(package private) Name USE_ATTRIBUTE_SETS
VALUE
(package private) Name VALUE
VERSION
(package private) Name VERSION
XSL_ATTRIBUTE
(package private) Name XSL_ATTRIBUTE
XSL_FALLBACK
(package private) Name XSL_FALLBACK
XSL_FOR_EACH
(package private) Name XSL_FOR_EACH
XSL_OTHERWISE
(package private) Name XSL_OTHERWISE
XSL_SORT
(package private) Name XSL_SORT
XSL_STYLESHEET
(package private) Name XSL_STYLESHEET
XSL_TRANSFORM
(package private) Name XSL_TRANSFORM
XSL_USE_ATTRIBUTE_SETS
(package private) Name XSL_USE_ATTRIBUTE_SETS
XSL_VENDOR
(package private) Name XSL_VENDOR
XSL_VENDOR_URL
(package private) Name XSL_VENDOR_URL
XSL_VERSION
(package private) Name XSL_VERSION
XSL_WHEN
(package private) Name XSL_WHEN
XSL_WITH_PARAM
(package private) Name XSL_WITH_PARAM
_outputMethod
(package private) com.jclark.xsl.tr.SheetImpl.OutputMethodImpl _outputMethod
_runtimeOutputMethod
(package private) com.jclark.xsl.tr.SheetImpl.OutputMethodImpl _runtimeOutputMethod
childrenExpr
(package private) static NodeSetExpr childrenExpr
currentImportance
(package private) Importance currentImportance
currentLocalVariables
(package private) VariableSet currentLocalVariables
emptyStringVariant
(package private) static StringVariant emptyStringVariant
excludedNamespaces
(package private) Vector excludedNamespaces
importCount
(package private) int importCount
nCurrentLocalVariables
(package private) int nCurrentLocalVariables
nameTable
(package private) NameTable nameTable
sheetLoadContext
(package private) LoadContext sheetLoadContext
clearOutputMethodProperties
public void clearOutputMethodProperties()
resets the output method to just those properties which were
set in the stylesheet and/or defaults
- clearOutputMethodProperties in interface Sheet
expandSourceElementTypeName
(package private) static Name expandSourceElementTypeName(String nameString,
Node node)
throws XSLException
getOptionalAttribute
(package private) String getOptionalAttribute(Node node,
Name name,
String dflt)
getOutputMethod
public OutputMethod getOutputMethod()
returns the current values set either by client code,
the stylesheet, or defaulted for the output method properties
- getOutputMethod in interface Sheet
getOutputMethodProperties
public Properties getOutputMethodProperties()
returns the current values set either by client code,
the stylesheet, or defaulted for the output method properties
see java.xml.transform.Transform.getOutputMethodProperties()
- getOutputMethodProperties in interface Sheet
getOutputMethodProperty
public String getOutputMethodProperty(String encodedPropertyNamespace,
String encodedPropertyName)
returns the current value of the named property
- getOutputMethodProperty in interface Sheet
getPrefixNamespace
(package private) String getPrefixNamespace(Node node,
String prefix)
throws XSLException
- the namespace URI reference for the given prefix
in scope at the given Node
getRequiredAttribute
(package private) String getRequiredAttribute(Node node,
Name name)
throws XSLException
getVariantExpr
(package private) VariantExpr getVariantExpr(Node defNode)
throws XSLException
gets the value (an expression to be evaluated later) to be bound for a variable or parameter
parseAttributesAndActions
(package private) Action parseAttributesAndActions(Node node)
throws XSLException
Parse the attributes on node as literal attributes and then
parse the actions.
parseTopLevel
(package private) void parseTopLevel(Node sheetNode)
throws XSLException,
IOException
come here if we have a "xsl:stylesheet" root element
expect XSLT elements permitted at the top level ... params,
templates, keys, etc.
parseUseAttributeSetsAndActions
(package private) Action parseUseAttributeSetsAndActions(Node node)
throws XSLException
process
public Result process(Node node,
XMLProcessor omBuilder,
ParameterSet params,
Result root)
throws XSLException
process an XML input document against this stylesheet
- process in interface Sheet
node
- the source documentomBuilder
- an object model builder we can (re-)use for e.g. "document()"params
- the XSLT run-time parametersroot
- the destination for thetransformation results
setOutputMethodProperty
public void setOutputMethodProperty(String encodedPropertyNamespace,
String encodedPropertyName,
String value)
throws XSLException
override the stylesheet's or default value for an
output method property
- setOutputMethodProperty in interface Sheet