Saxon.Api
Class XdmSequenceType
-
public class XdmSequenceType
An instance of class XdmSequenceType
represents a sequence type, that is, the combination
of an item type and an occurrence indicator.
Field Summary |
|
---|---|
char | ONE Occurrence indicator representing zero or more occurrences (space character, " ") |
char | ONE_OR_MORE Occurrence indicator representing one or more occurrences ("+") |
char | ZERO Occurrence indicator representing exactly zero occurrences ("0") |
char | ZERO_OR_MORE Occurrence indicator representing zero or more occurrences ("*") |
char | ZERO_OR_ONE Occurrence indicator representing zero or one occurrences ("?") |
Constructor Summary |
|
---|---|
XdmSequenceType (XdmItemType itemType, char occurrenceIndicator)
Create an |
Field Detail
ONE
Occurrence indicator representing zero or more occurrences (space character, " ")
ZERO_OR_MORE
Occurrence indicator representing zero or more occurrences ("*")
Constructor Detail
XdmSequenceType
Create an XdmSequenceType
corresponding to a given XdmItemType
and occurrence indicator
Parameters:
itemType
- The item typeoccurrenceIndicator
- The occurrence indicator, one of '?' (zero-or-one),
'*' (zero-or-more), '+' (one-or-more), ' ' (a single space) (exactly one),
or '0' (exactly zero). The type empty-sequence()
can be represented by an occurrence indicator of 'ยบ' with any item type.