|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.instruct.Template
An xsl:template element in the style sheet.
Constructor Summary | |
Template()
|
Method Summary | |
protected TailCall |
expand(Controller controller)
Expand the template. |
int |
getMinImportPrecedence()
|
int |
getPrecedence()
|
void |
init(SequenceInstruction body,
boolean needsStackFrame,
int precedence,
int minImportPrecedence,
java.lang.String systemId,
int lineNumber)
|
boolean |
needsStackFrame()
|
void |
process(Controller controller)
Process the template, without returning any tail calls |
TailCall |
processLeavingTail(Controller controller)
Process this template, with the possibility of returning a tail call package if the template contains any tail calls that are to be performed by the caller. |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Get the name of this instruction for diagnostic and tracing purposes |
protected TailCall |
traceExpand(Controller controller)
Expand the template, with tracing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Template()
Method Detail |
public void init(SequenceInstruction body, boolean needsStackFrame, int precedence, int minImportPrecedence, java.lang.String systemId, int lineNumber)
public void setInstructionDetails(Controller controller, NamePool namePool, InstructionDetails details)
public int getPrecedence()
public int getMinImportPrecedence()
public boolean needsStackFrame()
public void process(Controller controller) throws javax.xml.transform.TransformerException
controller
- The dynamic context, giving access to the current node,
the current variables, etc.
javax.xml.transform.TransformerException
public TailCall processLeavingTail(Controller controller) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
protected TailCall traceExpand(Controller controller) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
protected TailCall expand(Controller controller) 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 |