Class BaseRendition

java.lang.Object
com.saperion.connector.renditions.BaseRendition
All Implemented Interfaces:
Rendition, AutoCloseable
Direct Known Subclasses:
FileSystemRendition

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

    • BaseRendition

      public BaseRendition()
  • Method Details

    • 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:
    • setTarget

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