public class PagedSourceOptions extends AbstractTransformationSourceOptions
The page numbering index starts with 1.
If only the start page number is specified transformers should attempt a page range from that page number to the end if possible.
If only an end page number is specified transformers should attempt a page range from the start to that page if possible.
Modifier and Type | Class and Description |
---|---|
class |
PagedSourceOptions.PagedSourceOptionsSerializer
Serializer for paged source options
|
TransformationSourceOptions.TransformationSourceOptionsSerializer
Constructor and Description |
---|
PagedSourceOptions() |
Modifier and Type | Method and Description |
---|---|
static TransformationSourceOptions.TransformationSourceOptionsSerializer |
createSerializerInstance()
Creates an instance of the options serializer
|
protected static List<String> |
getDefaultApplicableMimetypes() |
Integer |
getEndPageNumber()
Gets the page number to end at in the source document
|
static PagedSourceOptions |
getPage1Instance()
Gets paged source options which specify just the first page.
|
TransformationSourceOptions.TransformationSourceOptionsSerializer |
getSerializer()
Gets the serializer for the source options.
|
Integer |
getStartPageNumber()
Gets the page number to start from in the source document
|
TransformationSourceOptions |
mergedOptions(TransformationSourceOptions overridingOptions)
Creates a new
TransformationSourceOptions object from this
one, merging any non-null overriding fields in the given
overridingOptions |
void |
setEndPageNumber(Integer endPageNumber)
Sets the page number to end at in the source document
|
void |
setStartPageNumber(Integer startPageNumber)
Sets the page number to start from in the source document
|
clone, getApplicabledMimetypes, getApplicableMimetypes, isApplicableForMimetype, putParameterIfNotNull, setApplicableMimetypes
public static final Integer PAGE_1
public Integer getStartPageNumber()
public void setStartPageNumber(Integer startPageNumber)
startPageNumber
- the start page numberpublic Integer getEndPageNumber()
public void setEndPageNumber(Integer endPageNumber)
endPageNumber
- the end page numberpublic TransformationSourceOptions mergedOptions(TransformationSourceOptions overridingOptions)
AbstractTransformationSourceOptions
TransformationSourceOptions
object from this
one, merging any non-null overriding fields in the given
overridingOptions
mergedOptions
in interface TransformationSourceOptions
mergedOptions
in class AbstractTransformationSourceOptions
overridingOptions
- TransformationSourceOptionsTransformationSourceOptions
objectpublic static PagedSourceOptions getPage1Instance()
public TransformationSourceOptions.TransformationSourceOptionsSerializer getSerializer()
TransformationSourceOptions
public static TransformationSourceOptions.TransformationSourceOptionsSerializer createSerializerInstance()
Copyright © 2005–2017 Alfresco Software. All rights reserved.