Class XSLFOFormatterNode


  • public class XSLFOFormatterNode
    extends Node
    A Node that uses a XSL-FO processor (Apache FOP) to render an XML input stream.

    Its worker respects PageCountLimits.

    • Constructor Detail

      • XSLFOFormatterNode

        public XSLFOFormatterNode()
    • Method Detail

      • getTargetMimeType

        public String getTargetMimeType()
        Get current target mime type. Default is "application/pdf".
        Returns:
        Target mime type
      • setTargetMimeType

        public void setTargetMimeType​(String targetMimeType)
        Set render type, see org.apache.fop.apps.MimeConstants for valid mime types.
        Parameters:
        targetMimeType - the target MIME type
      • getStyleSheet

        public URI getStyleSheet()
        Get the location of the style sheet.
        Returns:
        the location of the style sheet
      • setStyleSheet

        public void setStyleSheet​(URI location)
        Set the location of style sheet for conversion.
        Parameters:
        location - the style sheet's location
      • getWorkerClassName

        public String getWorkerClassName()
        Description copied from class: Node
        Return the node's associated com.levigo.jadice.server.core.NodeWorker full qualified class's name. By default, the worker class name is
        • The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
        • The node class name with an appended "Worker" otherwise.
        The package name of the worker class is the name of the Node's package with an appended ".worker".

        This behavior can be overridden in concrete subclasses.

        Overrides:
        getWorkerClassName in class Node
        Returns:
        the full qualified class name of the worker of this node.