|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.instruct.Procedure
net.sf.saxon.instruct.Template
An xsl:template element in the style sheet.
Constructor Summary | |
Template()
|
Method Summary | |
TailCall |
expand(XPathContext context)
Expand the template. |
int |
getFingerprint()
Get the namepool fingerprint of the name of the template (if it is named) |
InstructionInfo |
getInstructionInfo()
Get the InstructionInfo details about the construct. |
int |
getMinImportPrecedence()
|
int |
getPrecedence()
|
boolean |
hasBadParentPointer()
Diagnostic method |
void |
init(int templateFingerprint,
int precedence,
int minImportPrecedence)
|
void |
process(XPathContext context)
Process the template, without returning any tail calls |
TailCall |
processLeavingTail(XPathContext context)
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. |
Methods inherited from class net.sf.saxon.instruct.Procedure |
getBody, getColumnNumber, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getPublicId, getStackFrameMap, getSystemId, getSystemId, setBody, setExecutable, setHostLanguage, setLineNumber, setStackFrameMap, setSystemId |
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(int templateFingerprint, int precedence, int minImportPrecedence)
public int getFingerprint()
public int getPrecedence()
public int getMinImportPrecedence()
public void process(XPathContext context) throws XPathException
context
- The dynamic context, giving access to the current node,
the current variables, etc.
XPathException
public TailCall processLeavingTail(XPathContext context) throws XPathException
XPathException
public TailCall expand(XPathContext context) throws XPathException
XPathException
public InstructionInfo getInstructionInfo()
getInstructionInfo
in interface InstructionInfoProvider
public boolean hasBadParentPointer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |