Class UrlConverterHeaderType


  • public class UrlConverterHeaderType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p500062_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p700644_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines the content that will be used as a header. The content is passed in BASE64 encoded and contains
                         HTML and (embedded) CSS code to position and format the header.
                     </p>
     
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p500062_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p700644_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The header can contain the variables <code>${html.pageNumber}</code> (page number), <code>${html.totalPages}</code> (total number of pages)
                         and <code>${html.title}</code> (HTML head meta tag <code>&lt;title&gt;</code>).
                     </p>
     
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p500062_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p700644_="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 header is not used for all file format conversions. The header is not supported for file formats that
                         already contain their own header definition, such as Office formats. The header defined here works only for HTML-based
                         formats such as HTML files, emails, or template-based conversions (e.g. text formats).
                     </p>
     
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p500062_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p700644_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Example:</p>
     
     <?xml version="1.0" encoding="UTF-8"?><pre xmlns:p500062_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p700644_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema" class="language-html">
                         
     &lt;p&gt;
       &lt;span style="font-size: 12px"&gt;Page ${html.pageNumber} of ${html.totalPages} pages&lt;/span&gt;
     &lt;/p&gt;
     
                     </pre>
     

    Java class for UrlConverterHeaderType complex type.

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

    
     <complexType name="UrlConverterHeaderType">
       <simpleContent>
         <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
           <attGroup ref="{http://schema.webpdf.de/1.0/operation}FileDataGroup"/>
         </extension>
       </simpleContent>
     </complexType>
     
    • Constructor Detail

      • UrlConverterHeaderType

        public UrlConverterHeaderType()
    • Method Detail

      • getValue

        public byte[] getValue()
        Gets the value of the value property.
        Returns:
        possible object is byte[]
      • setValue

        public void setValue​(byte[] value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is byte[]
      • isSetValue

        public boolean isSetValue()
      • isSetSource

        public boolean isSetSource()
      • getUri

        public String getUri()
        Gets the value of the uri property.
        Returns:
        possible object is String
      • setUri

        public void setUri​(String value)
        Sets the value of the uri property.
        Parameters:
        value - allowed object is String
      • isSetUri

        public boolean isSetUri()