Enum Class U.JsonToXmlMode

java.lang.Object
java.lang.Enum<U.JsonToXmlMode>
com.github.underscore.U.JsonToXmlMode
All Implemented Interfaces:
Serializable, Comparable<U.JsonToXmlMode>, Constable
Enclosing class:
U<T>

public static enum U.JsonToXmlMode extends Enum<U.JsonToXmlMode>
  • Enum Constant Details

    • FORCE_ATTRIBUTE_USAGE

      public static final U.JsonToXmlMode FORCE_ATTRIBUTE_USAGE
    • DEFINE_ROOT_NAME

      public static final U.JsonToXmlMode DEFINE_ROOT_NAME
    • REPLACE_NULL_WITH_EMPTY_VALUE

      public static final U.JsonToXmlMode REPLACE_NULL_WITH_EMPTY_VALUE
    • REPLACE_EMPTY_STRING_WITH_EMPTY_VALUE

      public static final U.JsonToXmlMode REPLACE_EMPTY_STRING_WITH_EMPTY_VALUE
    • ADD_ROOT

      public static final U.JsonToXmlMode ADD_ROOT
    • REMOVE_ARRAY_ATTRIBUTE

      public static final U.JsonToXmlMode REMOVE_ARRAY_ATTRIBUTE
    • REMOVE_ATTRIBUTES

      public static final U.JsonToXmlMode REMOVE_ATTRIBUTES
  • Constructor Details

    • JsonToXmlMode

      private JsonToXmlMode()
  • Method Details

    • values

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

      public static U.JsonToXmlMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null