Enum XSDataType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<XSDataType>

    public enum XSDataType
    extends java.lang.Enum<XSDataType>
    Enumeration of XS data types.
    • Field Detail

      • encodingAlgorithmId

        public final int encodingAlgorithmId
      • encodingAlgorithm

        public final transient com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm encodingAlgorithm
      • alphabet

        public final java.lang.String alphabet
    • Constructor Detail

      • XSDataType

        private XSDataType()
      • XSDataType

        private XSDataType​(int id,
                           com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm algorithm)
      • XSDataType

        private XSDataType​(java.lang.String s)
    • Method Detail

      • values

        public static XSDataType[] 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 (XSDataType c : XSDataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XSDataType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • create

        public static XSDataType create​(java.lang.String s)