public class SaxonXQSequenceType extends java.lang.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.
|
java.lang.String |
getString() |
java.lang.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 java.lang.String getString()
public java.lang.String toString()
XQSequenceTypetoString in interface XQSequenceTypetoString in class java.lang.ObjectString representation of the sequence typeCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.