Package com.saperion.connector.options
Class Options
- java.lang.Object
- 
- com.saperion.connector.options.Options
 
- 
 public class Options extends java.lang.ObjectA class that contains the options that are used to generate a rendition like- target format
- timeout
- engine specific additional options
 newOptions(TargetFormat).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOptions.BuilderChainBuilderChain used to create a new Options instance.
 - 
Field SummaryFields Modifier and Type Field Description static TargetFormatDEFAULT_TARGETstatic TimeOutDEFAULT_TIMEOUT
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedOptions()Instantiates a new options.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalOptionsgetAdditionalOptions()Gets the additional options.intgetPageToRender()Convenience method to find out the number of the page to be rendered.PaginggetPaging()RedactionModegetRedactions()TargetFormatgetTargetFormat()TimeOutgetTimeOut()static Options.BuilderChainnewOptions(TargetFormat target)Creates a new options instance with the specified target format.booleanrenderWholeDocument()java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
DEFAULT_TARGETpublic static final TargetFormat DEFAULT_TARGET 
 - 
DEFAULT_TIMEOUTpublic static final TimeOut DEFAULT_TIMEOUT 
 
- 
 - 
Method Detail- 
renderWholeDocumentpublic boolean renderWholeDocument() - Returns:
- true, if whole document should be rendered
 
 - 
getPagingpublic Paging getPaging() - Returns:
- the page or pages to be rendered
 
 - 
getTargetFormatpublic TargetFormat getTargetFormat() - Returns:
- the format to render to
 
 - 
getRedactionspublic RedactionMode getRedactions() - Returns:
- the redaction-mode settings
 
 - 
getTimeOutpublic TimeOut getTimeOut() - Returns:
- timeout for the render-process
 
 - 
getAdditionalOptionspublic AdditionalOptions getAdditionalOptions() Gets the additional options.- Returns:
- the additional options
 
 - 
getPageToRenderpublic int getPageToRender() Convenience method to find out the number of the page to be rendered. If only one single page is requested, the page number is returned. For all other cases, -1 is returned.- Returns:
- number of page to render, or -1 if more than one page or the whole document will be rendered
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
newOptionspublic static Options.BuilderChain newOptions(TargetFormat target) Creates a new options instance with the specified target format.- Parameters:
- target- the target format
- Returns:
- the builder chain that can be used to complete the creation of the options instance
 
 
- 
 
-