Package org.jibx.util
Class Types
- java.lang.Object
-
- org.jibx.util.Types
-
public class Types extends Object
Mapping information to and from schema types.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCHEMA_NAMESPACEstatic org.jibx.runtime.QNameSTRING_QNAME
-
Constructor Summary
Constructors Constructor Description Types()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSimpleValue(String type)Check if type represents a simple text value.static org.jibx.runtime.QNameschemaType(String type)Get the schema type for a simple text value.
-
-
-
Field Detail
-
SCHEMA_NAMESPACE
public static final String SCHEMA_NAMESPACE
- See Also:
- Constant Field Values
-
STRING_QNAME
public static final org.jibx.runtime.QName STRING_QNAME
-
-
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 org.jibx.runtime.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
-
-