org.jibx.util
Class Types

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

public class Types
extends Object

Mapping information to and from schema types.


Field Summary
static String SCHEMA_NAMESPACE
           
static QName STRING_QNAME
           
 
Constructor Summary
Types()
           
 
Method Summary
static boolean isSimpleValue(String type)
          Check if type represents a simple text value.
static QName schemaType(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 String SCHEMA_NAMESPACE
See Also:
Constant Field Values

STRING_QNAME

public static final QName STRING_QNAME
Constructor Detail

Types

public Types()
Method Detail

isSimpleValue

public static boolean isSimpleValue(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(String type)
Get the schema type for a simple text value.

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


Copyright © 2005-2011 jibx.org. All Rights Reserved.