Enum Class TransformHandling

java.lang.Object
java.lang.Enum<TransformHandling>
de.gebit.integrity.runner.callbacks.xml.TransformHandling
All Implemented Interfaces:
Serializable, Comparable<TransformHandling>, java.lang.constant.Constable

public enum TransformHandling extends Enum<TransformHandling>
Enumerating the various ways in which the test runner can handle the supported transformation of the XML results into a human-viewable HTML form.
Author:
Rene Schneider - initial API and implementation
  • Enum Constant Details

    • NO_TRANSFORM

      public static final TransformHandling NO_TRANSFORM
      Just keep the plain XML.
    • EMBED_TRANSFORM

      public static final TransformHandling EMBED_TRANSFORM
      The XSLT transformation script that transforms the XML result data into a viewable HTML document shall be embedded into the result.
    • EXECUTE_TRANSFORM

      public static final TransformHandling EXECUTE_TRANSFORM
      The XSLT transformation script that transforms the XML result data into a viewable HTML document shall be directly executed on the result. The resulting HTML document will still contain the complete, raw XML data tree in an invisible element, since it's required by some of the Javascript elements of the document, and because the "single result file with all information" concept requires this.
  • Method Details

    • values

      public static TransformHandling[] 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 TransformHandling 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