Class ReshapeNode


  • public class ReshapeNode
    extends Node
    A node used to apply document format conversions and other processing using the jadice document platform.

    Its worker respects PageCountLimits.

    • Constructor Detail

      • ReshapeNode

        public ReshapeNode()
    • Method Detail

      • 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.
      • getTargetMimeType

        public String getTargetMimeType()
        Returns:
        the desired target MIME-type
      • setTargetMimeType

        public void setTargetMimeType​(String targetMimeType)
        Set the desired target MIME-type. The types currently supported are application/pdf and image/tiff.
        Parameters:
        targetMimeType - the desired target MIME-type
      • getOutputMode

        public ReshapeNode.OutputMode getOutputMode()
        Returns current output mode.
        Returns:
        Current output mode
      • setReshapeControls

        public void setReshapeControls​(ReshapeControls controls)