Package net.sf.saxon.s9api
Class XsltExecutable.ParameterDetails
- java.lang.Object
-
- net.sf.saxon.s9api.XsltExecutable.ParameterDetails
-
- Enclosing class:
- XsltExecutable
public class XsltExecutable.ParameterDetails extends java.lang.ObjectInner class containing information about a global parameter to a compiled stylesheet- Since:
- 9.3
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedParameterDetails(SequenceType type, boolean isRequired)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccurrenceIndicatorgetDeclaredCardinality()Get the declared cardinality of the parameterItemTypegetDeclaredItemType()Get the declared item type of the parameterSequenceTypegetUnderlyingDeclaredType()booleanisRequired()Ask whether the parameter is required (mandatory) or optional
-
-
-
Constructor Detail
-
ParameterDetails
protected ParameterDetails(SequenceType type, boolean isRequired)
-
-
Method Detail
-
getDeclaredItemType
public ItemType getDeclaredItemType()
Get the declared item type of the parameter- Returns:
- the type defined in the
asattribute of thexsl:paramelement, without its occurrence indicator
-
getDeclaredCardinality
public OccurrenceIndicator getDeclaredCardinality()
Get the declared cardinality of the parameter- Returns:
- the occurrence indicator from the type appearing in the
asattribute of thexsl:paramelement
-
getUnderlyingDeclaredType
public SequenceType getUnderlyingDeclaredType()
-
isRequired
public boolean isRequired()
Ask whether the parameter is required (mandatory) or optional- Returns:
- true if the parameter is mandatory (
required="yes"), false if it is optional
-
-