public enum ValueType extends Enum<ValueType> implements Named
Enum Constant and Description |
---|
BNODE |
DATETIME |
DOUBLE |
INTEGER |
OTHER |
STRING |
URI |
VAR |
XSDSTRING |
Modifier and Type | Method and Description |
---|---|
abstract XSDDatatype |
getDatatype() |
abstract String |
getName() |
abstract int |
getTypeId() |
static ValueType |
lookup(int type) |
static ValueType |
lookup(Node n) |
String |
toString() |
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType BNODE
public static final ValueType URI
public static final ValueType STRING
public static final ValueType XSDSTRING
public static final ValueType INTEGER
public static final ValueType DOUBLE
public static final ValueType DATETIME
public static final ValueType VAR
public static final ValueType OTHER
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract int getTypeId()
public abstract XSDDatatype getDatatype()
public static ValueType lookup(int type)
Licenced under the Apache License, Version 2.0