org.jibx.schema.support
Class SchemaTypes
java.lang.Object
org.jibx.schema.support.SchemaTypes
public abstract class SchemaTypes
- extends java.lang.Object
Representations for predefined schema types. These are structured as elements to be consistent with user definitions,
but are only generated as static instances. Note that the schema type list here should always match that in
JavaType
.
- Author:
- Dennis M. Sosnoski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_schemaTypesMap
private static final java.util.HashMap s_schemaTypesMap
- Predefined schema simple types.
ANY_TYPE
public static final SchemaTypes.SchemaSimpleType ANY_TYPE
ANY_SIMPLE_TYPE
public static final SchemaTypes.SchemaSimpleType ANY_SIMPLE_TYPE
ANY_URI
public static final SchemaTypes.SchemaSimpleType ANY_URI
BASE64_BINARY
public static final SchemaTypes.SchemaSimpleType BASE64_BINARY
BOOLEAN_TYPE
public static final SchemaTypes.SchemaSimpleType BOOLEAN_TYPE
BYTE
public static final SchemaTypes.SchemaSimpleType BYTE
DATE
public static final SchemaTypes.SchemaSimpleType DATE
DATETIME
public static final SchemaTypes.SchemaSimpleType DATETIME
DECIMAL
public static final SchemaTypes.SchemaSimpleType DECIMAL
DOUBLE
public static final SchemaTypes.SchemaSimpleType DOUBLE
DURATION
public static final SchemaTypes.SchemaSimpleType DURATION
ENTITY
public static final SchemaTypes.SchemaSimpleType ENTITY
ENTITIES
public static final SchemaTypes.SchemaSimpleType ENTITIES
FLOAT
public static final SchemaTypes.SchemaSimpleType FLOAT
GDAY
public static final SchemaTypes.SchemaSimpleType GDAY
GMONTH
public static final SchemaTypes.SchemaSimpleType GMONTH
GMONTHDAY
public static final SchemaTypes.SchemaSimpleType GMONTHDAY
GYEAR
public static final SchemaTypes.SchemaSimpleType GYEAR
GYEARMONTH
public static final SchemaTypes.SchemaSimpleType GYEARMONTH
HEX_BINARY
public static final SchemaTypes.SchemaSimpleType HEX_BINARY
ID
public static final SchemaTypes.SchemaSimpleType ID
IDREF
public static final SchemaTypes.SchemaSimpleType IDREF
IDREFS
public static final SchemaTypes.SchemaSimpleType IDREFS
INT
public static final SchemaTypes.SchemaSimpleType INT
INTEGER
public static final SchemaTypes.SchemaSimpleType INTEGER
LANGUAGE
public static final SchemaTypes.SchemaSimpleType LANGUAGE
LONG
public static final SchemaTypes.SchemaSimpleType LONG
NAME
public static final SchemaTypes.SchemaSimpleType NAME
NEGATIVE_INTEGER
public static final SchemaTypes.SchemaSimpleType NEGATIVE_INTEGER
NON_NEGATIVE_INTEGER
public static final SchemaTypes.SchemaSimpleType NON_NEGATIVE_INTEGER
NON_POSITIVE_INTEGER
public static final SchemaTypes.SchemaSimpleType NON_POSITIVE_INTEGER
NORMALIZED_STRING
public static final SchemaTypes.SchemaSimpleType NORMALIZED_STRING
NCNAME
public static final SchemaTypes.SchemaSimpleType NCNAME
NMTOKEN
public static final SchemaTypes.SchemaSimpleType NMTOKEN
NMTOKENS
public static final SchemaTypes.SchemaSimpleType NMTOKENS
NOTATION
public static final SchemaTypes.SchemaSimpleType NOTATION
POSITIVE_INTEGER
public static final SchemaTypes.SchemaSimpleType POSITIVE_INTEGER
QNAME
public static final SchemaTypes.SchemaSimpleType QNAME
SHORT
public static final SchemaTypes.SchemaSimpleType SHORT
STRING
public static final SchemaTypes.SchemaSimpleType STRING
TIME
public static final SchemaTypes.SchemaSimpleType TIME
TOKEN
public static final SchemaTypes.SchemaSimpleType TOKEN
UNSIGNED_BYTE
public static final SchemaTypes.SchemaSimpleType UNSIGNED_BYTE
UNSIGNED_INT
public static final SchemaTypes.SchemaSimpleType UNSIGNED_INT
UNSIGNED_LONG
public static final SchemaTypes.SchemaSimpleType UNSIGNED_LONG
UNSIGNED_SHORT
public static final SchemaTypes.SchemaSimpleType UNSIGNED_SHORT
SchemaTypes
public SchemaTypes()
addType
private static SchemaTypes.SchemaSimpleType addType(java.lang.String name,
boolean isstring)
- Helper method for creating instances and adding them to map.
- Parameters:
name
- type local nameisstring
- type derived from string flag
getSchemaType
public static CommonTypeDefinition getSchemaType(java.lang.String name)
- Get predefined schema type.
- Parameters:
name
- local name
- Returns:
- schema type with name, or
null
if none