|
|||||||
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
public class Template
An xsl:template element in the style sheet.
Constructor Summary | |
---|---|
Template()
|
Method Summary | |
---|---|
void |
apply(XPathContext context,
Rule rule)
Process the template, without returning any tail calls |
TailCall |
applyLeavingTail(XPathContext context,
Rule rule)
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. |
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 |
boolean |
hasRequiredParams()
|
void |
init(int templateFingerprint,
int precedence,
int minImportPrecedence)
|
void |
setBody(Expression body)
|
void |
setHasRequiredParams(boolean has)
|
Methods inherited from class net.sf.saxon.instruct.Procedure |
---|
getBody, getColumnNumber, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getPublicId, getStackFrameMap, getSystemId, getSystemId, replaceSubExpression, setExecutable, setHostLanguage, setLineNumber, setStackFrameMap, setSystemId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Template()
Method Detail |
---|
public void init(int templateFingerprint, int precedence, int minImportPrecedence)
public void setBody(Expression body)
setBody
in class Procedure
public int getFingerprint()
public int getPrecedence()
public int getMinImportPrecedence()
public void setHasRequiredParams(boolean has)
public boolean hasRequiredParams()
public void apply(XPathContext context, Rule rule) throws XPathException
context
- The dynamic context, giving access to the current node,rule
-
XPathException
public TailCall applyLeavingTail(XPathContext context, Rule rule) 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 |