Enum Class Namespaces

java.lang.Object
java.lang.Enum<Namespaces>
org.openpreservation.odf.xml.Namespaces
All Implemented Interfaces:
Serializable, Comparable<Namespaces>, java.lang.constant.Constable

public enum Namespaces extends Enum<Namespaces>
  • Enum Constant Details

  • Field Details

    • prefix

      public final String prefix
    • id

      public final URI id
    • description

      public final String description
  • Method Details

    • values

      public static Namespaces[] 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 Namespaces 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
    • fromPrefix

      public static final Namespaces fromPrefix(String prefix)
    • fromId

      public static final Namespaces fromId(String id)
    • fromId

      public static final Namespaces fromId(URI id)