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, waitequals, hashCodepublic 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 XQSequenceTypeint indicating the occurrence indicatorpublic XQItemType getItemType()
XQSequenceTypegetItemType in interface XQSequenceTypeXQItemType representing the
item type in the sequence. null
is returned in case of an empty sequence.public String getString()
public String toString()
XQSequenceTypetoString in interface XQSequenceTypetoString in class ObjectString representation of the sequence typeCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.