Package 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 inJavaType
.- Author:
- Dennis M. Sosnoski
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaTypes.SchemaSimpleType
Simple schema type representation.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SchemaTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static SchemaTypes.SchemaSimpleType
addType(java.lang.String name, boolean isstring)
Helper method for creating instances and adding them to map.static CommonTypeDefinition
getSchemaType(java.lang.String name)
Get predefined schema type.
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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
-
-