Enum PrimitiveType

    • Field Detail

      • XSD_STRING

        public static final QName XSD_STRING
      • XSD_DECIMAL

        public static final QName XSD_DECIMAL
      • XSD_INTEGER

        public static final QName XSD_INTEGER
      • XSD_INT

        public static final QName XSD_INT
      • XSD_LONG

        public static final QName XSD_LONG
      • XSD_SHORT

        public static final QName XSD_SHORT
      • XSD_FLOAT

        public static final QName XSD_FLOAT
      • XSD_DOUBLE

        public static final QName XSD_DOUBLE
      • XSD_BOOLEAN

        public static final QName XSD_BOOLEAN
      • XSD_BASE64BINARY

        public static final QName XSD_BASE64BINARY
      • XSD_DATETIME

        public static final QName XSD_DATETIME
      • XSD_DURATION

        public static final QName XSD_DURATION
      • XSD_BYTE

        public static final QName XSD_BYTE
      • XSD_QNAME

        public static final QName XSD_QNAME
      • XSD_ANYURI

        public static final QName XSD_ANYURI
    • Method Detail

      • values

        public static PrimitiveType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PrimitiveType c : PrimitiveType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PrimitiveType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getQname

        public QName getQname()