Class ExtractPDFParams.Builder
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.extractpdf.ExtractPDFParams.Builder
-
- Enclosing class:
- ExtractPDFParams
public static class ExtractPDFParams.Builder extends Object
Static Builder class for Extract PDF Params
-
-
Method Summary
-
-
-
Method Detail
-
addElementToExtract
public ExtractPDFParams.Builder addElementToExtract(ExtractElementType elementToExtract)
Adds anExtractElementType
to the list of elements to be extracted.- Parameters:
elementToExtract
-ExtractElementType
parameter- Returns:
- this Builder instance to add any additional parameters
-
addElementsToExtract
public ExtractPDFParams.Builder addElementsToExtract(List<ExtractElementType> elementsToExtract)
AddsExtractElementType
to the list of elements to be extracted.- Parameters:
elementsToExtract
- The list ofExtractElementType
to extract- Returns:
- this Builder instance to add any additional parameters
-
addElementToExtractRenditions
public ExtractPDFParams.Builder addElementToExtractRenditions(ExtractRenditionsElementType elementToExtractRenditions)
Adds aExtractRenditionsElementType
- Parameters:
elementToExtractRenditions
- theExtractRenditionsElementType
parameter- Returns:
- this Builder instance to add any additional parameters
-
addElementsToExtractRenditions
public ExtractPDFParams.Builder addElementsToExtractRenditions(List<ExtractRenditionsElementType> elementsToExtractRenditions)
AddsExtractRenditionsElementType
to the list of elements to be extracted.- Parameters:
elementsToExtractRenditions
- The list ofExtractRenditionsElementType
to extract- Returns:
- this Builder instance to add any additional parameters
-
addTableStructureFormat
public ExtractPDFParams.Builder addTableStructureFormat(TableStructureType tableStructureType)
Adds theTableStructureType
for table renditions- Parameters:
tableStructureType
-TableStructureType
for output type of table structure.- Returns:
- this Builder instance to add any additional parameters
-
addCharInfo
public ExtractPDFParams.Builder addCharInfo(Boolean addCharInfo)
Boolean specifying whether to add character level bounding boxes to output json- Parameters:
addCharInfo
- Boolean- Returns:
- this Builder instance to add any additional parameters
-
addGetStylingInfo
public ExtractPDFParams.Builder addGetStylingInfo(Boolean getStylingInfo)
Boolean
specifying whether to add styling information to output json- Parameters:
getStylingInfo
-Boolean
- Returns:
- this Builder instance to add any additional parameters
-
build
public ExtractPDFParams build()
Returns a newExtractPDFParams
instance built from the current state of this builder.- Returns:
- a new
ExtractPDFParams
instance
-
-