net.sf.saxon.s9api
Class SequenceType

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

public class SequenceType
extends Object

A SequenceType is the combination of an ItemType and an OccurrenceIndicator


Method Summary
 ItemType getItemType()
          Get the item type
 OccurrenceIndicator getOccurrenceIndicator()
          Get the occurrence indicator
static SequenceType makeSequenceType(ItemType itemType, OccurrenceIndicator occurrenceIndicator)
          Factory method to construct a SequenceType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.