public class SequenceType
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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(java.lang.Object other)
equals
in class java.lang.Object
other
- the other SequenceType objectpublic final int hashCode()
hashCode
in class java.lang.Object
public SequenceType getUnderlyingSequenceType()
SequenceType
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.