|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The XQSequenceType interface represents a sequence type as
XQuery 1.0: An XML Query language.
The XQSequenceType is the base interface for the
XQItemType interface and contains an occurence indicator.
| Field Summary | |
static int |
OCC_EMPTY
|
static int |
OCC_EXACTLY_ONE
|
static int |
OCC_ONE_OR_MORE
|
static int |
OCC_ZERO_OR_MORE
|
static int |
OCC_ZERO_OR_ONE
|
| Method Summary | |
int |
getItemOccurrence()
Returns the occurrence indicator for the sequence type. |
XQItemType |
getItemType()
Returns the type of the item in the sequence type. |
String |
toString()
Returns a string representation of the sequence type. |
| Field Detail |
public static final int OCC_ZERO_OR_ONE
public static final int OCC_EXACTLY_ONE
public static final int OCC_ZERO_OR_MORE
public static final int OCC_ONE_OR_MORE
public static final int OCC_EMPTY
| Method Detail |
public XQItemType getItemType()
XQItemType representing the
item type in the sequence or null
when the occurence is XQSequenceType.OCC_EMPTYpublic int getItemOccurrence()
| 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-sequence | OCC_ONE_OR_MORE |
| Empty | OCC_EMPTY |
int indicating the occurrence indicatorpublic String toString()
String representation of the sequence type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||