public interface AssemblerService
Modifier and Type | Method and Description |
---|---|
AssemblerResult |
invoke(Document ddx,
Map<String,Object> inputs,
AssemblerOptionSpec environment)
Executes the DDX contained in
ddx on the given input documents (inputs ), returning an
AssemblerResult object containing the result documents. |
PDFAValidationResult |
isPDFA(Document inDoc,
PDFAValidationOptionSpec options)
Validate a given document is PDF/A according to the options specified.
|
PDFAConversionResult |
toPDFA(Document inDoc,
PDFAConversionOptionSpec options)
Convert a given document to PDF/A using the options specified.
|
AssemblerResult invoke(Document ddx, Map<String,Object> inputs, AssemblerOptionSpec environment) throws OperationException
ddx
on the given input documents (inputs
), returning an
AssemblerResult
object containing the result documents. All input
and output Document
objects are owned by the caller and should be disposed of properly.ddx
- The DDX, specified as a Document
object.inputs
- A java.util.Map
of input documents. The keys are logical names to be referenced in
the DDX. A name may reference:
environment
- An AssemblerOptionSpec
containing log and
failure mode key value pairs.AssemblerResult
containing the result documents.OperationException
- Any throwable exception that occurs is converted to an
OperationException
or a subclass.PDFAConversionResult toPDFA(Document inDoc, PDFAConversionOptionSpec options) throws ConversionException
inDoc
- The PDF that should be convertedoptions
- The conversion options.ConversionException
- if the conversion failedPDFAValidationResult isPDFA(Document inDoc, PDFAValidationOptionSpec options) throws ValidationException
inDoc
- The PDF that should be convertedoptions
- The conversion options.ValidationException
- if the conversion failedCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.