|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Return>
org.basex.query.expr.Return
public enum Return
Return types.
Enum Constant Summary | |
---|---|
BLN
Single Boolean. |
|
NOD
Node. |
|
NODSEQ
Nodes. |
|
NONUM
Non-numeric item. |
|
NONUMSEQ
Non-numeric sequence. |
|
NUM
Single Number. |
|
NUMSEQ
Numeric sequence. |
|
SEQ
Sequence. |
|
STR
String. |
Field Summary | |
---|---|
boolean |
node
Node result (return type could be a node). |
boolean |
num
Numeric result (return type could be numeric). |
boolean |
single
Single result (always returns one value). |
Method Summary | |
---|---|
static Return |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Return[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Return BLN
public static final Return NONUM
public static final Return NONUMSEQ
public static final Return NOD
public static final Return NODSEQ
public static final Return NUM
public static final Return NUMSEQ
public static final Return SEQ
public static final Return STR
Field Detail |
---|
public boolean single
public boolean num
public boolean node
Method Detail |
---|
public static Return[] values()
for (Return c : Return.values()) System.out.println(c);
public static Return valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |