net.sf.saxon.style

Class XSLParam

public class XSLParam extends XSLVariableDeclaration

An xsl:param element in the stylesheet.
The xsl:param element has mandatory attribute name and optional attributes select, required, as, ...
Field Summary
Expressionconversion
Method Summary
protected booleanallowsRequired()
protected booleanallowsTunnelAttribute()
protected booleanallowsValue()
Expressioncompile(Executable exec)
Compile: this ensures space is available for local variables declared within this global variable
SequenceTypegetRequiredType()
Get the static type of the parameter.
voidvalidate()

Field Detail

conversion

Expression conversion

Method Detail

allowsRequired

protected boolean allowsRequired()

allowsTunnelAttribute

protected boolean allowsTunnelAttribute()

allowsValue

protected boolean allowsValue()

compile

public Expression compile(Executable exec)
Compile: this ensures space is available for local variables declared within this global variable

getRequiredType

public SequenceType getRequiredType()
Get the static type of the parameter. This is the declared type, because we cannot know the actual value in advance.

validate

public void validate()