Enum XslTransformationFileFormatType

  • All Implemented Interfaces:
    Serializable, Comparable<XslTransformationFileFormatType>

    public enum XslTransformationFileFormatType
    extends Enum<XslTransformationFileFormatType>
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p310440_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p351123_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The type of the resource passed
                         <ul><li>xlst = An XSLT stylesheet to be used for the transformation.</li><li>other = Any other resource that is needed for the transformation. For example, this can be a CSS stylesheet, which is used by an output file of a transformation if it results in HTML output.</li></ul></p>
     
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p310440_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p351123_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b>
                         The order of the resources can be important if multiple transformations are to be performed, i.e. multiple resources of the format "xlst" are passed. The transformations are performed in the order in which they are passed, in which case each transformation uses the output of the previous transformation as the starting point for its own transformation.
                     </p>
     

    Java class for XslTransformationFileFormatType

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <simpleType name="XslTransformationFileFormatType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="xslt"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Method Detail

      • values

        public static XslTransformationFileFormatType[] 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 (XslTransformationFileFormatType c : XslTransformationFileFormatType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XslTransformationFileFormatType 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
      • value

        public String value()
        Gets the value associated to the enum constant.
        Returns:
        The value linked to the enum.
      • fromValue

        public static XslTransformationFileFormatType fromValue​(String v)
        Gets the enum associated to the value passed as parameter.
        Parameters:
        v - The value to get the enum from.
        Returns:
        The enum which corresponds to the value, if it exists.
        Throws:
        IllegalArgumentException - If no value matches in the enum declaration.