|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.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 = "?" |
Type |
type
Sequence type. |
| Constructor Summary | |
|---|---|
SeqType(QNm name,
int o,
boolean e)
Constructor. |
|
| Method Summary | |
|---|---|
Item |
cast(Item it,
Expr expr,
QueryContext ctx)
Casts the specified item. |
Item |
cast(Item item,
QueryContext ctx)
Casts the specified item. |
boolean |
instance(Iter iter)
Checks the instance of the specified iterator. |
Return |
returned()
Indicates the return type of an expression. |
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 QueryException
iter - iteration to be checked
QueryException - query exception
public Item cast(Item it,
Expr expr,
QueryContext ctx)
throws QueryException
it - itemexpr - expression referencectx - query context
QueryException - query exception
public Item cast(Item item,
QueryContext ctx)
throws QueryException
item - item to be castctx - query context
QueryException - query exceptionpublic Return returned()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||