Package org.jibx.util
Class Types
java.lang.Object
org.jibx.util.Types
Mapping information to and from schema types.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Field Details
-
SCHEMA_NAMESPACE
- See Also:
-
STRING_QNAME
-
s_objectTypeMap
Set of object types mapped to schema types. -
s_primitiveTypeMap
Set of primitive types mapped to schema types.
-
-
Constructor Details
-
Types
public Types()
-
-
Method Details
-
isSimpleValue
Check if type represents a simple text value.- Parameters:
type
- primitive type name, or fully qualified class name- Returns:
- simple value flag
-
schemaType
Get the schema type for a simple text value.- Parameters:
type
- primitive type name, or fully qualified class name- Returns:
- schema type
-