Enum MapMessage.MapFormat

java.lang.Object
java.lang.Enum<MapMessage.MapFormat>
org.apache.logging.log4j.message.MapMessage.MapFormat
All Implemented Interfaces:
Serializable, Comparable<MapMessage.MapFormat>
Enclosing class:
MapMessage<M extends MapMessage<M,V>,V>

public static enum MapMessage.MapFormat extends Enum<MapMessage.MapFormat>
When set as the format specifier causes the Map to be formatted as XML.
  • Enum Constant Details

  • Method Details

    • values

      public static MapMessage.MapFormat[] 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 MapMessage.MapFormat 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
    • lookupIgnoreCase

      public static MapMessage.MapFormat lookupIgnoreCase(String format)
      Maps a format name to an MapMessage.MapFormat while ignoring case.
      Parameters:
      format - a MapFormat name
      Returns:
      a MapFormat
    • names

      public static String[] names()
      All MapFormat names.
      Returns:
      All MapFormat names.