org.jibx.util
Class Types

java.lang.Object
  extended by org.jibx.util.Types

public class Types
extends java.lang.Object

Mapping information to and from schema types.


Field Summary
private static java.util.HashMap s_objectTypeMap
          Set of object types mapped to schema types.
private static java.util.HashMap s_primitiveTypeMap
          Set of primitive types mapped to schema types.
static java.lang.String SCHEMA_NAMESPACE
           
static QName STRING_QNAME
           
 
Constructor Summary
Types()
           
 
Method Summary
static boolean isSimpleValue(java.lang.String type)
          Check if type represents a simple text value.
static QName schemaType(java.lang.String type)
          Get the schema type for a simple text value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEMA_NAMESPACE

public static final java.lang.String SCHEMA_NAMESPACE
See Also:
Constant Field Values

STRING_QNAME

public static final QName STRING_QNAME

s_objectTypeMap

private static java.util.HashMap s_objectTypeMap
Set of object types mapped to schema types.


s_primitiveTypeMap

private static java.util.HashMap s_primitiveTypeMap
Set of primitive types mapped to schema types.

Constructor Detail

Types

public Types()
Method Detail

isSimpleValue

public static boolean isSimpleValue(java.lang.String type)
Check if type represents a simple text value.

Parameters:
type - primitive type name, or fully qualified class name
Returns:
simple value flag

schemaType

public static QName schemaType(java.lang.String type)
Get the schema type for a simple text value.

Parameters:
type - primitive type name, or fully qualified class name
Returns:
schema type


Project Web Site