|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sf.saxon.instruct.Executable
A compiled stylesheet in executable form. Note that the original stylesheet tree is not retained.
| Constructor Summary | |
Executable()
|
|
| Method Summary | |
java.util.HashMap |
getCharacterMapIndex()
Get the index of named character maps |
Configuration |
getConfiguration()
Get the configuration |
DecimalFormatManager |
getDecimalFormatManager()
Get the DecimalFormatManager which handles decimal-format definitions |
java.util.Comparator |
getDefaultCollation()
Get the default collation |
java.util.Properties |
getDefaultOutputProperties()
Get the default output properties |
KeyManager |
getKeyManager()
Get the KeyManager which handles key definitions |
java.util.Comparator |
getNamedCollation(java.lang.String name)
Find a named collation. |
java.util.HashMap |
getNamedTemplateTable()
Get the named template table |
RuleManager |
getRuleManager()
Get the RuleManager which handles template rules |
java.lang.String |
getSystemId(int index)
Get the ID of the stylesheet module with a given index |
void |
initialiseBindery(Bindery bindery)
Allocate space in bindery for all the variables needed This has to be done early to accommodate preview mode |
Stripper |
newStripper()
Create a Stripper which handles whitespace stripping definitions |
TailCall |
processLeavingTail(XPathContext context)
Dummy processLeavingTail() method. |
void |
setCharacterMapIndex(java.util.HashMap cmi)
Set the index of named character maps |
void |
setCollationTable(java.util.HashMap table)
Set the table of collations |
void |
setConfiguration(Configuration config)
Set the configuration |
void |
setDecimalFormatManager(DecimalFormatManager dfm)
Set the DecimalFormatManager which handles decimal-format definitions |
void |
setDefaultCollationName(java.lang.String name)
Set the default collation |
void |
setDefaultOutputProperties(java.util.Properties properties)
Set the default output properties (the properties for the unnamed output format) |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Get the name of this instruction |
void |
setKeyManager(KeyManager km)
Set the KeyManager which handles key definitions |
void |
setModuleArray(java.lang.String[] modules)
Set the list of stylesheet modules, for use in error messages and tracing |
void |
setNamedTemplateTable(java.util.HashMap table)
Set the named template table |
void |
setRuleManager(RuleManager rm)
Set the RuleManager that handles template rules |
void |
setSlotSpace(int globals,
int locals)
Set the space requirements for global and local variables |
void |
setStripperRules(Mode rules)
Set the rules determining which nodes are to be stripped from the tree |
void |
setStripsWhitespace(boolean strips)
Indicate that the stylesheet does some whitespace stripping |
boolean |
stripsWhitespace()
Determine whether this stylesheet does any whitespace stripping |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Executable()
| Method Detail |
public void setConfiguration(Configuration config)
public Configuration getConfiguration()
public void setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
public void setModuleArray(java.lang.String[] modules)
modules - an array of strings containing the URIs of the stylesheet modulespublic java.lang.String getSystemId(int index)
index - an integer identifying the module within the array of modules passed
to the setModuleArray() method
public void setRuleManager(RuleManager rm)
rm - the RuleManager containing details of all the template rulespublic RuleManager getRuleManager()
public void setNamedTemplateTable(java.util.HashMap table)
table - a hash table containing entries that map the names of named
templates to the instructions representing the xsl:template instructionpublic java.util.HashMap getNamedTemplateTable()
public void setCharacterMapIndex(java.util.HashMap cmi)
cmi - a hash table that maps the names of character maps
to the HashMap objects representing the character mapspublic java.util.HashMap getCharacterMapIndex()
public void setStripperRules(Mode rules)
rules - a Mode object containing the whitespace stripping rules. A Mode
is generally a collection of template rules, but it is reused here to represent
a collection of stripping rules.public void setStripsWhitespace(boolean strips)
strips - true if the stylesheet performs whitespace stripping
of one or more elements.public Stripper newStripper()
public boolean stripsWhitespace()
public void setKeyManager(KeyManager km)
km - the KeyManager containing the xsl:key definitionspublic KeyManager getKeyManager()
public void setDefaultOutputProperties(java.util.Properties properties)
properties - the output properties to be used when the unnamed output format
is selectedpublic java.util.Properties getDefaultOutputProperties()
public void setDecimalFormatManager(DecimalFormatManager dfm)
dfm - the DecimalFormatManager containing the named xsl:decimal-format definitionspublic DecimalFormatManager getDecimalFormatManager()
public void setDefaultCollationName(java.lang.String name)
name - the name of the default collationpublic java.util.Comparator getDefaultCollation()
public void setCollationTable(java.util.HashMap table)
table - a hash table that maps collation names (URIs) to objects representing the
collation informationpublic java.util.Comparator getNamedCollation(java.lang.String name)
name - identifies the name of the collation required; null indicates that the default
collation is required
public void setSlotSpace(int globals,
int locals)
globals - The number of global variables and parameterslocals - The largest number of local variables used by any template or function (etc)public void initialiseBindery(Bindery bindery)
bindery - The bindery to be initialized
public TailCall processLeavingTail(XPathContext context)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||