|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Type.ID>
org.basex.query.value.type.Type.ID
public static enum Type.ID
Type IDs for client/server communication.
Enum Constant Summary | |
---|---|
AAT
xs:anyAtomicType. |
|
AST
xs:anySimpleType. |
|
ATM
xs:untypedAtomic. |
|
ATT
attribute(). |
|
ATY
xs:anyType. |
|
B64
xs:base64Binary. |
|
BIN
binary(). |
|
BLN
xs:boolean. |
|
BYT
xs:byte. |
|
COM
comment(). |
|
DAT
xs:date. |
|
DAY
xs:gDay. |
|
DBL
xs:double. |
|
DEC
xs:decimal. |
|
DEL
document-node(element()). |
|
DOC
document-node(). |
|
DTD
xs:dayTimeDuration. |
|
DTM
xs:dateTime. |
|
DTS
dateTimeStamp(). |
|
DUR
xs:duration. |
|
ELM
element(). |
|
ENT
xs:ENTITY. |
|
FLT
xs:float. |
|
FUN
function(*). |
|
HEX
xs:hexBinary. |
|
ID
xs:ID. |
|
IDR
xs:IDREF. |
|
INT
xs:int. |
|
ITEM
item(). |
|
ITR
xs:integer. |
|
JAVA
java(). |
|
LAN
xs:language. |
|
LNG
xs:long. |
|
MDA
xs:gMonthDay. |
|
MON
xs:gMonth. |
|
NAM
xs:Name. |
|
NCN
xs:NCName. |
|
NIN
xs:negativeInteger. |
|
NMT
xs:NMTOKEN. |
|
NNI
xs:nonNegativeInteger. |
|
NOD
node(). |
|
NOT
xs:NOTATION. |
|
NPI
xs:nonPositiveInteger. |
|
NSP
namespace-node(). |
|
NST
xs:normalizedString. |
|
PDC
precisionDecimal(). |
|
PI
processing-instruction(). |
|
PIN
xs:positiveInteger. |
|
QNM
xs:QName. |
|
SCA
schema-attribute(). |
|
SCE
schema-element(). |
|
SHR
xs:short. |
|
STR
xs:string. |
|
TIM
xs:time. |
|
TOK
xs:token. |
|
TXT
text(). |
|
UBY
xs:unsignedByte. |
|
UIN
xs:unsignedInt. |
|
ULN
xs:unsignedLong. |
|
URI
xs:anyURI. |
|
USH
xs:unsignedShort. |
|
UTY
xs:untyped. |
|
YEA
xs:gYear. |
|
YMD
xs:yearMonthDuration. |
|
YMO
xs:gYearMonth. |
Field Summary | |
---|---|
static Type.ID[] |
VALUES
Cached enums (faster). |
Method Summary | |
---|---|
byte |
asByte()
returns the type ID as a byte. |
static Type.ID |
get(byte b)
Gets the ID for the given byte value. |
static Type |
getType(byte b)
Gets the type instance for the given ID. |
static Type.ID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Type.ID[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 Type.ID FUN
public static final Type.ID NOD
public static final Type.ID TXT
public static final Type.ID PI
public static final Type.ID ELM
public static final Type.ID DOC
public static final Type.ID DEL
public static final Type.ID ATT
public static final Type.ID COM
public static final Type.ID NSP
public static final Type.ID SCE
public static final Type.ID SCA
public static final Type.ID ITEM
public static final Type.ID UTY
public static final Type.ID ATY
public static final Type.ID AST
public static final Type.ID AAT
public static final Type.ID ATM
public static final Type.ID STR
public static final Type.ID NST
public static final Type.ID TOK
public static final Type.ID LAN
public static final Type.ID NMT
public static final Type.ID NAM
public static final Type.ID NCN
public static final Type.ID ID
public static final Type.ID IDR
public static final Type.ID ENT
public static final Type.ID FLT
public static final Type.ID DBL
public static final Type.ID DEC
public static final Type.ID PDC
public static final Type.ID ITR
public static final Type.ID NPI
public static final Type.ID NIN
public static final Type.ID LNG
public static final Type.ID INT
public static final Type.ID SHR
public static final Type.ID BYT
public static final Type.ID NNI
public static final Type.ID ULN
public static final Type.ID UIN
public static final Type.ID USH
public static final Type.ID UBY
public static final Type.ID PIN
public static final Type.ID DUR
public static final Type.ID YMD
public static final Type.ID DTD
public static final Type.ID DTM
public static final Type.ID DTS
public static final Type.ID DAT
public static final Type.ID TIM
public static final Type.ID YMO
public static final Type.ID YEA
public static final Type.ID MDA
public static final Type.ID DAY
public static final Type.ID MON
public static final Type.ID BLN
public static final Type.ID BIN
public static final Type.ID B64
public static final Type.ID HEX
public static final Type.ID URI
public static final Type.ID QNM
public static final Type.ID NOT
public static final Type.ID JAVA
Field Detail |
---|
public static final Type.ID[] VALUES
Method Detail |
---|
public static Type.ID[] values()
for (Type.ID c : Type.ID.values()) System.out.println(c);
public static Type.ID valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic byte asByte()
public static Type.ID get(byte b)
b
- byte
null
otherwisepublic static Type getType(byte b)
b
- type ID
null
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |