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 Details

    • SCHEMA_NAMESPACE

      public static final String SCHEMA_NAMESPACE
      See Also:
    • STRING_QNAME

      public static final QName STRING_QNAME
    • s_objectTypeMap

      private static HashMap s_objectTypeMap
      Set of object types mapped to schema types.
    • s_primitiveTypeMap

      private static HashMap s_primitiveTypeMap
      Set of primitive types mapped to schema types.
  • Constructor Details

    • Types

      public Types()
  • Method Details

    • 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