Class XslTransformationFileType

  • All Implemented Interfaces:
    FileDataType<byte[]>

    public class XslTransformationFileType
    extends Object
    implements FileDataType<byte[]>
     <?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">This element defines a file necessary for the transformation, which is passed "Base64 encoded". This element can be used with <code>&lt;resources&gt;</code> or <code>&lt;visualization&gt;</code>.
                         In the case of <code>&lt;resources&gt;</code>, this is a file that defines, for example, an XLST stylesheet or a CSS resource. In the case of an X invoice and the parent <code>&lt;visualization&gt;</code> it defines a file (XLST stylesheet) which defines a different layout for the PDF output.
                     </p>
     

    Java class for XslTransformationFileType complex type

    .

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

    
     <complexType name="XslTransformationFileType">
       <simpleContent>
         <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
           <attGroup ref="{http://schema.webpdf.de/1.0/operation}FileDataGroup"/>
           <attribute name="fileName" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
           <attribute name="format" default="xslt">
             <simpleType>
               <restriction base="{http://schema.webpdf.de/1.0/operation}XslTransformationFileFormatType">
               </restriction>
             </simpleType>
           </attribute>
         </extension>
       </simpleContent>
     </complexType>
     
    • Field Detail

      • value

        protected byte[] value
      • fileName

        protected String fileName
         <?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 filename of the file. This is the name under which the resource can be found again and is especially important for resources that are referenced from other files passed here via this name. (For example, the name of a CSS stylesheet that is referenced by name from an XSLT stylesheet).</p>
         
      • format

        protected XslTransformationFileFormatType format
         <?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>
         
      • source

        protected FileDataSourceType source
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the data source for the hereby expressed resource.
                                 Possible values are:
                                 <ul><li>value = The element's value shall contain the BASE64 encoded data.</li><li>uri = The data shall be located at the given uri.</li></ul></p>
         
      • uri

        protected String uri
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The uri the data shall be located at. (This shall only have effect, if the "source" is "uri".)</p>
         
    • Constructor Detail

      • XslTransformationFileType

        public XslTransformationFileType()
    • Method Detail

      • getValue

        public byte[] getValue()
        Gets the value of the value property.
        Specified by:
        getValue in interface FileDataType<byte[]>
        Returns:
        possible object is byte[]
      • setValue

        public void setValue​(byte[] value)
        Sets the value of the value property.
        Specified by:
        setValue in interface FileDataType<byte[]>
        Parameters:
        value - allowed object is byte[]
      • isSetValue

        public boolean isSetValue()
        Description copied from interface: FileDataType
        Returns true, if a direct byte value has been set.
        Specified by:
        isSetValue in interface FileDataType<byte[]>
        Returns:
        true, if a direct byte value has been set.
      • getFileName

        public String getFileName()
         <?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 filename of the file. This is the name under which the resource can be found again and is especially important for resources that are referenced from other files passed here via this name. (For example, the name of a CSS stylesheet that is referenced by name from an XSLT stylesheet).</p>
         
        Returns:
        possible object is String
      • setFileName

        public void setFileName​(String value)
        Sets the value of the fileName property.
        Parameters:
        value - allowed object is String
        See Also:
        getFileName()
      • isSetFileName

        public boolean isSetFileName()
      • getFormat

        public XslTransformationFileFormatType getFormat()
         <?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>
         
        Returns:
        possible object is XslTransformationFileFormatType
      • isSetFormat

        public boolean isSetFormat()
      • getSource

        public FileDataSourceType getSource()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the data source for the hereby expressed resource.
                                 Possible values are:
                                 <ul><li>value = The element's value shall contain the BASE64 encoded data.</li><li>uri = The data shall be located at the given uri.</li></ul></p>
         
        Specified by:
        getSource in interface FileDataType<byte[]>
        Returns:
        possible object is FileDataSourceType
      • isSetSource

        public boolean isSetSource()
        Description copied from interface: FileDataType
        Returns true, if a file data source has been set.
        Specified by:
        isSetSource in interface FileDataType<byte[]>
        Returns:
        true, if a file data source has been set.
      • getUri

        public String getUri()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The uri the data shall be located at. (This shall only have effect, if the "source" is "uri".)</p>
         
        Specified by:
        getUri in interface FileDataType<byte[]>
        Returns:
        possible object is String
      • setUri

        public void setUri​(String value)
        Sets the value of the uri property.
        Specified by:
        setUri in interface FileDataType<byte[]>
        Parameters:
        value - allowed object is String
        See Also:
        getUri()
      • isSetUri

        public boolean isSetUri()
        Description copied from interface: FileDataType
        Returns true, if a file source URI has been set.
        Specified by:
        isSetUri in interface FileDataType<byte[]>
        Returns:
        true, if a file source URI has been set.