public class SequenceType extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Test whether two SequenceType objects represent the same type
|
ItemType |
getItemType()
Get the item type
|
OccurrenceIndicator |
getOccurrenceIndicator()
Get the occurrence indicator
|
SequenceType |
getUnderlyingSequenceType()
Get the underlying internal SequenceType
|
int |
hashCode()
Get a hash code with semantics corresponding to the equals() method
|
static SequenceType |
makeSequenceType(ItemType itemType,
OccurrenceIndicator occurrenceIndicator)
Factory method to construct a SequenceType
|
public static SequenceType makeSequenceType(ItemType itemType, OccurrenceIndicator occurrenceIndicator)
itemType - the ItemTypeoccurrenceIndicator - the permitted number of occurrences of the item in the sequencepublic ItemType getItemType()
public OccurrenceIndicator getOccurrenceIndicator()
public final boolean equals(Object other)
public final int hashCode()
public SequenceType getUnderlyingSequenceType()
SequenceTypeCopyright (c) 2004-2017 Saxonica Limited. All rights reserved.