net.sf.saxon.style

Class XSLMatchingSubstring

public class XSLMatchingSubstring extends StyleElement

Handler for xsl:matching-substring and xsl:non-matching-substring elements in stylesheet. New at XSLT 2.0
Method Summary
Expressioncompile(Executable exec)
protected ItemTypegetReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it 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)

getReturnedItemType

protected ItemType getReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it is an instruction).

Returns: the item type returned

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()