|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.instruct.Instruction
net.sf.saxon.instruct.Block
public class Block
Implements an imaginary xsl:block instruction which simply evaluates its contents. Used for top-level templates, xsl:otherwise, etc.
| Field Summary | |
|---|---|
static byte |
BLOCK
General-purpose block |
static byte |
FALLBACK
Block representing an xsl:fallback instruction |
static byte |
IF
Block representing the body of an xsl:if |
static byte |
MATCHING_SUBSTRING
Block representing an xsl:matching-substring instruction |
static byte |
NON_MATCHING_SUBSTRING
Block representing an xsl:non-matching-substring instruction |
static byte |
OTHERWISE
Block representing an xsl:otherwise instruction |
static byte |
WHEN
Block representing the body of an xsl:when |
| Fields inherited from class net.sf.saxon.instruct.Instruction |
|---|
children |
| Constructor Summary | |
|---|---|
Block()
|
|
| Method Summary | |
|---|---|
TailCall |
processLeavingTail(XPathContext context)
ProcessLeavingTail: called to do the real work of this instruction. |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Get the name of the instruction for use in diagnostics |
void |
setInstructionName(byte instructionNameCode)
|
| Methods inherited from class net.sf.saxon.instruct.Instruction |
|---|
assembleParams, assembleTunnelParams, getChildren, getColumnNumber, getInstructionDetails, getInstructionName, getLineNumber, getPublicId, getResultType, getSystemId, 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 |
| Field Detail |
|---|
public static final byte BLOCK
public static final byte OTHERWISE
public static final byte FALLBACK
public static final byte MATCHING_SUBSTRING
public static final byte NON_MATCHING_SUBSTRING
public static final byte IF
public static final byte WHEN
| Constructor Detail |
|---|
public Block()
| Method Detail |
|---|
public void setInstructionName(byte instructionNameCode)
public void setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Instruction
setInstructionDetails in class Instruction
public TailCall processLeavingTail(XPathContext context)
throws TransformerException
Instruction
processLeavingTail in class Instructioncontext - The dynamic context of the transformation, giving access to the current node,
the current variables, etc.
TransformerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||