Saxon.Api
Class XsltExecutable.ParameterDetails
- Enclosing class
- XsltExecutable
-
public class XsltExecutable.ParameterDetails
Information about a global parameter to a stylesheet.
Constructor Summary |
|
---|---|
ParameterDetails (XdmSequenceType type, bool isRequired) Create parameter details. |
Property Summary |
|
---|---|
bool | IsRequired Ask whether the parameter is required (mandatory) or optional |
Method Summary |
|
---|---|
char | GetDeclaredCardinality() Gets the declared cardinality of the parameter. |
XdmItemType | GetDeclaredItemType() Gets the declared item type of the parameter. |
XdmSequenceType | GetUnderlyingDeclaredType() Gets the underlying declared type of the parameter. |
Constructor Detail
ParameterDetails
Create parameter details.
Parameters:
type
- The declared type of the parameter.isRequired
- Indicates whether the parameter is required or optional.Property Detail
IsRequired
Ask whether the parameter is required (mandatory) or optional
Returns:
true
if the parameter is mandatory (required="yes"
), false
if it is optional.Method Detail
GetDeclaredCardinality
GetDeclaredItemType
Gets the declared item type of the parameter.
Returns:
as
attribute of the xsl:param
element,
without its occurrence indicatorGetUnderlyingDeclaredType
Gets the underlying declared type of the parameter.
Returns:
Gets the declared cardinality of the parameter.
Returns:
as
attribute of thexsl:param
element