net.sf.saxon.style

Class SaxonWhile

public class SaxonWhile extends StyleElement

Handler for saxon:while elements in stylesheet. The saxon:while element has a mandatory attribute test, a boolean expression. The content is output repeatedly so long as the test condition is true.
Method Summary
Expressioncompile(Executable exec)
booleanisInstruction()
Determine whether this node is an instruction.
booleanmayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body
voidprepareAttributes()
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

isInstruction

public boolean isInstruction()
Determine whether this node is an instruction.

Returns: true - it is an instruction

mayContainSequenceConstructor

public boolean mayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body

Returns: true: yes, it may contain a template-body

prepareAttributes

public void prepareAttributes()

validate

public void validate()