Package net.sf.saxon.s9api
Class SequenceType
java.lang.Object
net.sf.saxon.s9api.SequenceType
A SequenceType is the combination of an ItemType and an OccurrenceIndicator
-
Method Summary
Modifier and TypeMethodDescriptionGet the item typeGet the occurrence indicatorstatic SequenceType
makeSequenceType
(ItemType itemType, OccurrenceIndicator occurrenceIndicator) Factory method to construct a SequenceType
-
Method Details
-
makeSequenceType
public static SequenceType makeSequenceType(ItemType itemType, OccurrenceIndicator occurrenceIndicator) Factory method to construct a SequenceType- Parameters:
itemType
- the ItemTypeoccurrenceIndicator
- the permitted number of occurrences of the item in the sequence- Returns:
- the constricted SequenceType
-
getItemType
Get the item type- Returns:
- the item type
-
getOccurrenceIndicator
Get the occurrence indicator- Returns:
- the occurrence indicator
-