Enum Class DataFileElements

All Implemented Interfaces:
Serializable, Comparable<DataFileElements>, java.lang.constant.Constable

public enum DataFileElements extends Enum<DataFileElements>
Class that holds the elements and attributes of those elements in a data file descriptor. The elements are specified by the enum values in this enumeration. The attributes are specified as inner classes of the name TAG_ATTRS. This unfortunate way of doing this is necessary since enum values cannot have nested static values inside of them.
Jerry Vos
  • Enum Constant Details

  • Method Details

    • values

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

      public static DataFileElements 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTag

      public String getTag()
      Retrieves the tag for this type of element.
      the element's tag
    • getInt

      public static int getInt(Queryable queryable, org.jdom.Element node, String target)