Java Doc for Executable.java in » XML » saxonb » net » sf » saxon » instruct » Java Source Code / Java DocumentationJava Source Code and Java Documentation
getOutputProperties(int fingerprint) Get a named output format
Parameters: fingerprint - the name of the output format properties the properties of the output format.
setStripperRules(Mode rules) Set the rules determining which nodes are to be stripped from the tree
Parameters: rules - a Mode object containing the whitespace stripping rules.
Add an XQuery library module to the configuration. The Executable maintains a table indicating
for each module namespace, the set of modules that have been loaded from that namespace. If a
module import is encountered that specifies no location hint, all the known modules for that
namespace are imported.
addRequiredParam
public void addRequiredParam(int fingerprint)(Code)
Get the index of global variables
the index of global variables. This is a HashMap in which the key is the integer fingerprintof the variable name, and the value is the GlobalVariable object representing the compiled global variable
Find a named collation.
Parameters: name - identifies the name of the collation required; null indicates that the defaultcollation is required the requested collation, or null if the collation is not found
Get the named template with a given name.
Parameters: fingerprint - The namepool fingerprint of the template name The template (of highest import precedence) with this name if there is one;null if none is found.
Get the named template table. Provided for use by tools allowing selection
of a transformation entry point from a supplied list.
a hash table containing entries that map the names of namedtemplates (in the form of namePool fingerprints) to the Template objects representingthe compiled xsl:template element in the stylesheet.
Get a named output format
Parameters: fingerprint - the name of the output format properties the properties of the output format. Return null if there areno output properties with the given name
Locate the known XQuery library modules for a given module namespace.
Parameters: namespace - the module namespace URI a list of items each of which is the StaticQueryContext representing a module, ornull if the module namespace is unknown
Determine whether this executable can be compiled; and if it can't, return the reason why
null if the executable can be compiled, or a message otherwise
Get the rules determining which nodes are to be stripped from the tree
a Mode object containing the whitespace stripping rules. A Modeis generally a collection of template rules, but it is reused here to representa collection of stripping rules.
initialiseBindery
public void initialiseBindery(Bindery bindery)(Code)
Allocate space in bindery for all the variables needed
Parameters: bindery - The bindery to be initialized
Set the index of named character maps
Parameters: cmi - a hash table that maps the names of character mapsto the HashMap objects representing the character maps
Set the DecimalFormatManager which handles decimal-format definitions
Parameters: dfm - the DecimalFormatManager containing the named xsl:decimal-format definitions
setDefaultCollationName
public void setDefaultCollationName(String name)(Code)
Set the default collation
Parameters: name - the name of the default collation
setDefaultOutputProperties
public void setDefaultOutputProperties(Properties properties)(Code)
Set the default output properties (the properties for the unnamed output format)
Parameters: properties - the output properties to be used when the unnamed output formatis selected
public void setOutputProperties(int fingerprint, Properties properties)(Code)
An a named output format
Parameters: fingerprint - the name of the output format Parameters: properties - the properties of the output format
setPatternSlotSpace
public void setPatternSlotSpace(int patternLocals)(Code)
Set the space requirements for variables used in template match patterns
Parameters: patternLocals - The largest number of local variables used in the match pattern of any template rule
setReasonUnableToCompile
public void setReasonUnableToCompile(String reason)(Code)
If this Executable can't be compiled, set a message explaining why
Set the rules determining which nodes are to be stripped from the tree
Parameters: rules - a Mode object containing the whitespace stripping rules. A Modeis generally a collection of template rules, but it is reused here to representa collection of stripping rules.
setStripsInputTypeAnnotations
public void setStripsInputTypeAnnotations(boolean strips)(Code)
Set whether source documents are to have their type annotations stripped
setStripsWhitespace
public void setStripsWhitespace(boolean strips)(Code)
Indicate that the stylesheet does some whitespace stripping
Parameters: strips - true if the stylesheet performs whitespace strippingof one or more elements.