public class SaxonXQSequenceType extends Object implements XQSequenceType
OCC_EMPTY, OCC_EXACTLY_ONE, OCC_ONE_OR_MORE, OCC_ZERO_OR_MORE, OCC_ZERO_OR_ONE
Modifier and Type | Method and Description |
---|---|
int |
getItemOccurrence()
Returns the occurrence indicator for the sequence type.
|
XQItemType |
getItemType()
Returns the type of the item in the sequence type.
|
String |
getString() |
String |
toString()
Returns a human-readable implementation-defined string representation of
the sequence type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
public int getItemOccurrence()
XQSequenceType
Description | Value |
---|---|
Zero or one | OCC_ZERO_OR_ONE |
Exactly one | OCC_EXACTLY_ONE |
Zero or more | OCC_ZERO_OR_MORE |
One or more | OCC_ONE_OR_MORE |
Empty | OCC_EMPTY |
getItemOccurrence
in interface XQSequenceType
int
indicating the occurrence indicatorpublic XQItemType getItemType()
XQSequenceType
getItemType
in interface XQSequenceType
XQItemType
representing the
item type in the sequence. null
is returned in case of an empty sequence.public String getString()
public String toString()
XQSequenceType
toString
in interface XQSequenceType
toString
in class Object
String
representation of the sequence typeCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.