public class PrimitiveTypesTypeLoader extends Object implements TypeLoader
TypeResolver.resolveType(String) method.
The complete list of primitive types can be read from the PRIMITIVE_TYPES map's keys (each value represents
the type in the MetadataType model)| Modifier and Type | Field and Description |
|---|---|
static String |
ANY |
static String |
BINARY |
static String |
BOOLEAN |
static String |
DATE |
static String |
DATETIME |
static String |
LOCALDATETIME |
static String |
LOCALTIME |
static String |
NUMBER |
static Map<String,MetadataType> |
PRIMITIVE_TYPES
Unmodifiable map with the supported primitive types
|
static String |
REGEX |
static String |
STRING |
static String |
TIME |
static String |
TIMEZONE |
| Constructor and Description |
|---|
PrimitiveTypesTypeLoader() |
| Modifier and Type | Method and Description |
|---|---|
Optional<MetadataType> |
load(String typeIdentifier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadpublic static final Map<String,MetadataType> PRIMITIVE_TYPES
public static final String STRING
public static final String BOOLEAN
public static final String NUMBER
public static final String DATE
public static final String DATETIME
public static final String LOCALDATETIME
public static final String TIME
public static final String LOCALTIME
public static final String TIMEZONE
public static final String BINARY
public static final String ANY
public static final String REGEX
public Optional<MetadataType> load(String typeIdentifier)
load in interface TypeLoaderCopyright © 2018 MuleSoft, Inc.. All rights reserved.