public class DatatypeHandler
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BOOLEAN_TYPE |
The name of the XML Schema boolean type
|
static java.lang.String |
DATE_TYPE |
The name of the XML Schema date type
|
static java.lang.String |
DATETIME_TYPE |
The name of the XML Schema dateTime type
|
static java.lang.String |
DOUBLE_TYPE |
The name of the XML Schema double type
|
static java.lang.String |
FLOAT_TYPE |
The name of the XML Schema float type
|
static java.lang.String |
INTEGER_TYPE |
The name of the XML Schema integer type
|
static java.lang.String |
LONG_TYPE |
The name of the XML Schema long type
|
static java.lang.String |
STRING_TYPE |
The name of the XML Schema string type
|
static java.lang.String |
TIME_TYPE |
The name of the XML Schema time type
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
guessType(java.lang.String value) |
Guesses the datatype for the given value.
|
protected static java.lang.String |
whichType(java.lang.String type1,
java.lang.String type2) |
Guesses which datatype should be used.
|
public static final java.lang.String BOOLEAN_TYPE
public static final java.lang.String DATE_TYPE
public static final java.lang.String DATETIME_TYPE
public static final java.lang.String DOUBLE_TYPE
public static final java.lang.String FLOAT_TYPE
public static final java.lang.String INTEGER_TYPE
public static final java.lang.String LONG_TYPE
public static final java.lang.String STRING_TYPE
public static final java.lang.String TIME_TYPE
public static java.lang.String guessType(java.lang.String value)
value
- the value to determine the type forprotected static java.lang.String whichType(java.lang.String type1, java.lang.String type2)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com