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() |
PagedSourceOptions(PagedSourceOptions options) |
| 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
|
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
|
getApplicableMediaTypes, isApplicableForMediaType, merge, putParameterIfNotNull, setApplicableMediaTypes, toStringpublic static final Integer PAGE_1
public PagedSourceOptions()
public PagedSourceOptions(PagedSourceOptions options)
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 static PagedSourceOptions getPage1Instance()
public TransformationSourceOptions.TransformationSourceOptionsSerializer getSerializer()
TransformationSourceOptionspublic static TransformationSourceOptions.TransformationSourceOptionsSerializer createSerializerInstance()
Copyright © 2015 Alfresco Software. All rights reserved.