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| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
PAGE_1 |
| Constructor and Description |
|---|
PagedSourceOptions() |
| Modifier and Type | Method and Description |
|---|---|
static TransformationSourceOptions.TransformationSourceOptionsSerializer |
createSerializerInstance()
Creates an instance of the options serializer
|
protected static java.util.List |
getDefaultApplicableMimetypes() |
java.lang.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.
|
java.lang.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(java.lang.Integer endPageNumber)
Sets the page number to end at in the source document
|
void |
setStartPageNumber(java.lang.Integer startPageNumber)
Sets the page number to start from in the source document
|
clone, getApplicabledMimetypes, getApplicableMimetypes, isApplicableForMimetype, putParameterIfNotNull, setApplicableMimetypesprotected static java.util.List getDefaultApplicableMimetypes()
public java.lang.Integer getStartPageNumber()
public void setStartPageNumber(java.lang.Integer startPageNumber)
startPageNumber - the start page numberpublic java.lang.Integer getEndPageNumber()
public void setEndPageNumber(java.lang.Integer endPageNumber)
endPageNumber - the end page numberpublic TransformationSourceOptions mergedOptions(TransformationSourceOptions overridingOptions)
AbstractTransformationSourceOptionsTransformationSourceOptions object from this
one, merging any non-null overriding fields in the given
overridingOptionsmergedOptions in interface TransformationSourceOptionsmergedOptions in class AbstractTransformationSourceOptionsTransformationSourceOptions objectpublic static PagedSourceOptions getPage1Instance()
public TransformationSourceOptions.TransformationSourceOptionsSerializer getSerializer()
TransformationSourceOptionspublic static TransformationSourceOptions.TransformationSourceOptionsSerializer createSerializerInstance()
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.