Class BaseRendition

  • All Implemented Interfaces:
    Rendition, java.lang.AutoCloseable
    Direct Known Subclasses:
    FileSystemRendition

    public abstract class BaseRendition
    extends java.lang.Object
    implements Rendition
    BaseRendition abstract class specifies the TargetFormat of the rendered file.
    • Constructor Detail

      • BaseRendition

        public BaseRendition()
    • Method Detail

      • getTarget

        public TargetFormat getTarget()
        Returns the TargetFormat of the rendered file. It depends on the render engine, if it renders to the passed format or not. Means, it can be, that you specify to render to PDF, but it returns a multipage tiff.
        Specified by:
        getTarget in interface Rendition
        Returns:
        TargetFormat of the rendered file.
        See Also:
        Rendition.getTarget()
      • setTarget

        public void setTarget​(TargetFormat target)
        Sets the target format.
        Parameters:
        target - the new target