Enum SchemaProblem

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

    public enum SchemaProblem
    extends java.lang.Enum<SchemaProblem>
    • Enum Constant Detail

      • UNSUPPORTED_ENCODING

        public static final SchemaProblem UNSUPPORTED_ENCODING
      • UNSUPPORTED_MEDIATYPE

        public static final SchemaProblem UNSUPPORTED_MEDIATYPE
      • UNSUPPORTED_FORMAT

        public static final SchemaProblem UNSUPPORTED_FORMAT
      • UNSUPPORTED_SCHEMA_VERSION

        public static final SchemaProblem UNSUPPORTED_SCHEMA_VERSION
      • IMMEDIATE_RECURSION

        public static final SchemaProblem IMMEDIATE_RECURSION
      • VALIDATION_ALWAYS_FAILS

        public static final SchemaProblem VALIDATION_ALWAYS_FAILS
    • Method Detail

      • values

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

        public static SchemaProblem 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