Package org.jibx.util

Class Types


  • public class Types
    extends java.lang.Object
    Mapping information to and from schema types.
    • Constructor Summary

      Constructors 
      Constructor Description
      Types()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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