Class SequenceType

java.lang.Object
net.sf.saxon.s9api.SequenceType

public class SequenceType extends Object
A SequenceType is the combination of an ItemType and an OccurrenceIndicator
  • Method Details

    • makeSequenceType

      public static SequenceType makeSequenceType(ItemType itemType, OccurrenceIndicator occurrenceIndicator)
      Factory method to construct a SequenceType
      Parameters:
      itemType - the ItemType
      occurrenceIndicator - the permitted number of occurrences of the item in the sequence
      Returns:
      the constricted SequenceType
    • getItemType

      public ItemType getItemType()
      Get the item type
      Returns:
      the item type
    • getOccurrenceIndicator

      public OccurrenceIndicator getOccurrenceIndicator()
      Get the occurrence indicator
      Returns:
      the occurrence indicator