Enum Class XmlFormat

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

public enum XmlFormat extends Enum<XmlFormat>
XML dialects JMT has written. Schemas are identical across all of them; only the Java class names stored in classPath attributes differ.
  • Enum Constant Details

    • CURRENT

      public static final XmlFormat CURRENT
      Current code: packages without the old "jmt.engine." / "jmt.gui." roots.
    • V1_4_0

      public static final XmlFormat V1_4_0
      Releases up to 1.4.0 (1.3.x, 1.4.0): fully qualified "jmt.engine.*" / "jmt.gui.*" names.
  • Method Details

    • values

      public static XmlFormat[] 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 XmlFormat 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
    • fromName

      public static XmlFormat fromName(String name)
      Resolves a release label such as "1.4.0" or "current".