Enum Class XMQLevel

java.lang.Object
java.lang.Enum<XMQLevel>
org.libxmq.imp.XMQLevel
All Implemented Interfaces:
Serializable, Comparable<XMQLevel>, Constable

public enum XMQLevel extends Enum<XMQLevel>
The nesting level of a value in an xmq document.
  • Enum Constant Details

    • LEVEL_XMQ

      public static final XMQLevel LEVEL_XMQ
      Plain xmq level.
    • LEVEL_ELEMENT_VALUE

      public static final XMQLevel LEVEL_ELEMENT_VALUE
      Element value level.
    • LEVEL_ELEMENT_VALUE_COMPOUND

      public static final XMQLevel LEVEL_ELEMENT_VALUE_COMPOUND
      Compound element value level.
    • LEVEL_ATTR_VALUE

      public static final XMQLevel LEVEL_ATTR_VALUE
      Attribute value level.
    • LEVEL_ATTR_VALUE_COMPOUND

      public static final XMQLevel LEVEL_ATTR_VALUE_COMPOUND
      Compound attribute value level.
  • Field Details

    • value

      public int value
      The integer value of the level.
  • Method Details

    • values

      public static XMQLevel[] 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 XMQLevel 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