|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.instruct.Instruction | +--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(Sequence body,
boolean needsStackFrame,
int precedence,
int minImportPrecedence)
|
boolean |
needsStackFrame()
|
TailCall |
processLeavingTail(XPathContext context)
Process a node in the source document. |
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 net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, getChildren, getInstructionDetails, getInstructionName, getLineNumber, getResultType, getSystemId, process, processChildren, processChildrenLeavingTail, recoverableError, setChildren, setSourceLocation, styleError, styleError |
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(Sequence body, boolean needsStackFrame, int precedence, int minImportPrecedence)
public void setInstructionDetails(Controller controller, NamePool namePool, InstructionDetails details)
setInstructionDetails
in class Instruction
public int getPrecedence()
public int getMinImportPrecedence()
public boolean needsStackFrame()
public TailCall processLeavingTail(XPathContext context) throws javax.xml.transform.TransformerException
processLeavingTail
in class Instruction
context
- The dynamic context of the transformation, giving access to the current node,
the current variables, etc.
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 |