Enum Messages

java.lang.Object
java.lang.Enum<Messages>
com.sun.tools.xjc.reader.Messages
All Implemented Interfaces:
Serializable, Comparable<Messages>

public enum Messages extends Enum<Messages>
Formats error messages.
  • Enum Constant Details

    • DUPLICATE_PROPERTY

      public static final Messages DUPLICATE_PROPERTY
    • DUPLICATE_ELEMENT

      public static final Messages DUPLICATE_ELEMENT
    • ERR_UNDECLARED_PREFIX

      public static final Messages ERR_UNDECLARED_PREFIX
    • ERR_UNEXPECTED_EXTENSION_BINDING_PREFIXES

      public static final Messages ERR_UNEXPECTED_EXTENSION_BINDING_PREFIXES
    • ERR_UNSUPPORTED_EXTENSION

      public static final Messages ERR_UNSUPPORTED_EXTENSION
    • ERR_SUPPORTED_EXTENSION_IGNORED

      public static final Messages ERR_SUPPORTED_EXTENSION_IGNORED
    • ERR_RELEVANT_LOCATION

      public static final Messages ERR_RELEVANT_LOCATION
    • ERR_CLASS_NOT_FOUND

      public static final Messages ERR_CLASS_NOT_FOUND
    • PROPERTY_CLASS_IS_RESERVED

      public static final Messages PROPERTY_CLASS_IS_RESERVED
    • ERR_VENDOR_EXTENSION_DISALLOWED_IN_STRICT_MODE

      public static final Messages ERR_VENDOR_EXTENSION_DISALLOWED_IN_STRICT_MODE
    • ERR_ILLEGAL_CUSTOMIZATION_TAGNAME

      public static final Messages ERR_ILLEGAL_CUSTOMIZATION_TAGNAME
    • ERR_PLUGIN_NOT_ENABLED

      public static final Messages ERR_PLUGIN_NOT_ENABLED
  • Method Details

    • values

      public static Messages[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Messages 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Messages>
    • format

      public String format(Object... args)