Enum ESchematronVersion

java.lang.Object
java.lang.Enum<ESchematronVersion>
com.helger.schematron.ESchematronVersion
All Implemented Interfaces:
com.helger.commons.id.IHasID<String>, Serializable, Comparable<ESchematronVersion>, java.lang.constant.Constable

public enum ESchematronVersion extends Enum<ESchematronVersion> implements com.helger.commons.id.IHasID<String>
This enum defines the different Schematron versions to be able to handle different output requirements.
Since:
7.1.1
Author:
Philip Helger
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

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

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

      @Nonnull @Nonempty public String getID()
      Specified by:
      getID in interface com.helger.commons.id.IHasID<String>
    • getFromIDOrNull

      @Nullable public static ESchematronVersion getFromIDOrNull(@Nullable String sID)