|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.item.SeqType
public final class SeqType
Stored a sequence type definition.
| Field Summary | |
|---|---|
int |
occ
Occurrence mode: 0 = default, 1 = "?" |
Type |
type
Sequence type. |
| Constructor Summary | |
|---|---|
SeqType(QNm name,
int o,
byte[] e)
Constructor. |
|
| Method Summary | |
|---|---|
Item |
cast(Item item,
XQContext ctx)
Cast the specified item. |
boolean |
empty(Item item)
Check if item can be empty. |
boolean |
instance(Item item)
Check correctness of specified item type. |
boolean |
instanced(Item item)
Check if the sequence type is instance of the specified item. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int occ
public Type type
| Constructor Detail |
|---|
public SeqType(QNm name,
int o,
byte[] e)
name - sequence typeo - occurrencese - extended type info| Method Detail |
|---|
public Item cast(Item item,
XQContext ctx)
throws XQException
item - item to be checkedctx - xquery context
XQException - evaluation exceptionpublic boolean empty(Item item)
item - item to be checked
public boolean instance(Item item)
item - item to be checked
public boolean instanced(Item item)
item - item to be checked
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||