|
||||||||||
| 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
Stores a sequence type definition.
| Field Summary | |
|---|---|
QNm |
ext
Extended type info. |
int |
occ
Occurrence mode: 0 = default, 1 = "?", 2 = "+", 3 = "*". |
Type |
type
Sequence type. |
| Constructor Summary | |
|---|---|
SeqType(QNm name,
int o,
boolean e)
Constructor. |
|
| Method Summary | |
|---|---|
Item |
cast(Item item,
XQContext ctx)
Casts the specified item. |
Item |
cast(Iter iter,
Expr expr,
XQContext ctx)
Casts the specified iterator item. |
boolean |
instance(Iter iter)
Checks the instance of the specified iterator. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public QNm ext
public Type type
public int occ
| Constructor Detail |
|---|
public SeqType(QNm name,
int o,
boolean e)
name - sequence typeo - occurrencese - extended info| Method Detail |
|---|
public boolean instance(Iter iter)
throws XQException
iter - iteration to be checked
XQException - evaluation exception
public Item cast(Iter iter,
Expr expr,
XQContext ctx)
throws XQException
iter - iteratorexpr - expression referencectx - xquery context
XQException - evaluation exception
public Item cast(Item item,
XQContext ctx)
throws XQException
item - item to be castctx - xquery context
XQException - evaluation exceptionpublic 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 | |||||||||