Enum Class WarningReportMode

java.lang.Object
java.lang.Enum<WarningReportMode>
com.deltaxml.htmlcompare.WarningReportMode
All Implemented Interfaces:
Serializable, Comparable<WarningReportMode>, Constable

public enum WarningReportMode extends Enum<WarningReportMode>

Specifies how certain warnings generated during the comparison process are reported.

  • Enum Constant Details

    • MESSAGE

      public static final WarningReportMode MESSAGE
      Reports warnings using <xsl:message/>. These are typically sent to std.out.
    • COMMENTS

      public static final WarningReportMode COMMENTS
      Reports warnings using XML comments.
    • PIS

      public static final WarningReportMode PIS
      Reports warning using processing instructions with the format <?dxml_warn warning content ?>.
  • Method Details

    • values

      public static WarningReportMode[] 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 WarningReportMode 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
    • value

      public String value()