Class BaseRendition
- java.lang.Object
-
- com.saperion.connector.renditions.BaseRendition
-
- All Implemented Interfaces:
Rendition,java.lang.AutoCloseable
- Direct Known Subclasses:
FileSystemRendition
public abstract class BaseRendition extends java.lang.Object implements Rendition
BaseRenditionabstract class specifies theTargetFormatof the rendered file.
-
-
Constructor Summary
Constructors Constructor Description BaseRendition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetFormatgetTarget()Returns theTargetFormatof the rendered file.voidsetTarget(TargetFormat target)Sets the target format.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.saperion.connector.renditions.Rendition
getPage, getStream, isComplete
-
-
-
-
Method Detail
-
getTarget
public TargetFormat getTarget()
Returns theTargetFormatof 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:
getTargetin interfaceRendition- Returns:
TargetFormatof the rendered file.- See Also:
Rendition.getTarget()
-
setTarget
public void setTarget(TargetFormat target)
Sets the target format.- Parameters:
target- the new target
-
-