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
|
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)
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.