public class DataType extends Object implements Comparable<DataType>
| Modifier and Type | Field and Description |
|---|---|
Node |
dataTypeXml |
String |
id |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DataType other) |
static DataType |
getDataType(Node dataTypeXml)
Parse the datatype and return as an EnumType or RegexType instance if possible.
|
static Map<String,String> |
getDataTypes(Node dataTypesXml)
Get a key/value map of all datatypes available.
|
public DataType(Node dataTypeXml)
public static Map<String,String> getDataTypes(Node dataTypesXml)
public static DataType getDataType(Node dataTypeXml)
public int compareTo(DataType other)
compareTo in interface Comparable<DataType>Copyright © 2012–2016 The DAISY Consortium. All rights reserved.