Enum TransformHandling

  • All Implemented Interfaces:
    Serializable, Comparable<TransformHandling>

    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 Detail

      • 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 Detail

      • values

        public static TransformHandling[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TransformHandling c : TransformHandling.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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