Enum Class OutputImageRefForm

java.lang.Object
java.lang.Enum<OutputImageRefForm>
com.deltaxml.core.config.image.OutputImageRefForm
All Implemented Interfaces:
Serializable, Comparable<OutputImageRefForm>, Constable

public enum OutputImageRefForm extends Enum<OutputImageRefForm>
The result document may reside in a different location to the inputs. In order to make it easier to look at the result where it is generated and see any image changes, hrefs can be changed absolute locations. By default the href value is taken from the source document. This enum specifies how to output the href attribute.
  • Enum Constant Details

    • SOURCE

      public static final OutputImageRefForm SOURCE
      Output the href attribute as it appears in the source document.
    • ABSOLUTE

      public static final OutputImageRefForm ABSOLUTE
      Output the href attribute as it is resolved.
  • Method Details

    • values

      public static OutputImageRefForm[] 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 OutputImageRefForm 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OutputImageRefForm>
    • toOutputImageRefForm

      public static OutputImageRefForm toOutputImageRefForm(String refForm)