Package net.webpdf.wsclient.openapi
Class OperationToolboxTranscribeTranscribe
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationToolboxTranscribeTranscribe
-
public class OperationToolboxTranscribeTranscribe extends Object
The transcribe operation element can be used to convert a PDF document into other document formats. Errors and inaccuracies can always occur during such conversions, so the endpoint allows a report to be generated to detect and evaluate possible transfer errors both in the event of an error and in the event of a success.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationToolboxTranscribeTranscribe.ErrorReportEnumThis parameter determines if and in which form the XML report for a failed conversion is returnedstatic classOperationToolboxTranscribeTranscribe.FailureLevelEnumThis parameter determines at which error level the conversion should fail, you can use this parameter to automatically reject also results with lower precision as failure * warning = Documents for which warnings occur will also cause the conversion to fail. * missingContent = Documents for which not all content could be converted correctly will also be considered as failures. * error = Only if a conversion of the document did not lead to any meaningful result document, this is evaluated as failure, even if contents should be missing.static classOperationToolboxTranscribeTranscribe.SuccessReportEnumThis parameter determines if and in which form the XML report for a successful conversion is returned
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ERROR_REPORTstatic StringJSON_PROPERTY_FAILURE_LEVELstatic StringJSON_PROPERTY_HTMLstatic StringJSON_PROPERTY_SUCCESS_REPORT
-
Constructor Summary
Constructors Constructor Description OperationToolboxTranscribeTranscribe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)OperationToolboxTranscribeTranscribeerrorReport(OperationToolboxTranscribeTranscribe.ErrorReportEnum errorReport)OperationToolboxTranscribeTranscribefailureLevel(OperationToolboxTranscribeTranscribe.FailureLevelEnum failureLevel)@Nullable OperationToolboxTranscribeTranscribe.ErrorReportEnumgetErrorReport()This parameter determines if and in which form the XML report for a failed conversion is returned@Nullable OperationToolboxTranscribeTranscribe.FailureLevelEnumgetFailureLevel()This parameter determines at which error level the conversion should fail, you can use this parameter to automatically reject also results with lower precision as failure * warning = Documents for which warnings occur will also cause the conversion to fail. * missingContent = Documents for which not all content could be converted correctly will also be considered as failures. * error = Only if a conversion of the document did not lead to any meaningful result document, this is evaluated as failure, even if contents should be missing.@Nullable OperationHtmlTranscribegetHtml()Get html@Nullable OperationToolboxTranscribeTranscribe.SuccessReportEnumgetSuccessReport()This parameter determines if and in which form the XML report for a successful conversion is returnedinthashCode()OperationToolboxTranscribeTranscribehtml(OperationHtmlTranscribe html)voidsetErrorReport(OperationToolboxTranscribeTranscribe.ErrorReportEnum errorReport)voidsetFailureLevel(OperationToolboxTranscribeTranscribe.FailureLevelEnum failureLevel)voidsetHtml(OperationHtmlTranscribe html)voidsetSuccessReport(OperationToolboxTranscribeTranscribe.SuccessReportEnum successReport)OperationToolboxTranscribeTranscribesuccessReport(OperationToolboxTranscribeTranscribe.SuccessReportEnum successReport)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ERROR_REPORT
public static final String JSON_PROPERTY_ERROR_REPORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FAILURE_LEVEL
public static final String JSON_PROPERTY_FAILURE_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HTML
public static final String JSON_PROPERTY_HTML
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUCCESS_REPORT
public static final String JSON_PROPERTY_SUCCESS_REPORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorReport
public OperationToolboxTranscribeTranscribe errorReport(OperationToolboxTranscribeTranscribe.ErrorReportEnum errorReport)
-
getErrorReport
@Nullable public @Nullable OperationToolboxTranscribeTranscribe.ErrorReportEnum getErrorReport()
This parameter determines if and in which form the XML report for a failed conversion is returned. * none = XML report is not returned * message = XML report will be delivered as part of the error message * file = XML report is saved to file- Returns:
- errorReport
-
setErrorReport
public void setErrorReport(OperationToolboxTranscribeTranscribe.ErrorReportEnum errorReport)
-
failureLevel
public OperationToolboxTranscribeTranscribe failureLevel(OperationToolboxTranscribeTranscribe.FailureLevelEnum failureLevel)
-
getFailureLevel
@Nullable public @Nullable OperationToolboxTranscribeTranscribe.FailureLevelEnum getFailureLevel()
This parameter determines at which error level the conversion should fail, you can use this parameter to automatically reject also results with lower precision as failure * warning = Documents for which warnings occur will also cause the conversion to fail. * missingContent = Documents for which not all content could be converted correctly will also be considered as failures. * error = Only if a conversion of the document did not lead to any meaningful result document, this is evaluated as failure, even if contents should be missing.- Returns:
- failureLevel
-
setFailureLevel
public void setFailureLevel(OperationToolboxTranscribeTranscribe.FailureLevelEnum failureLevel)
-
html
public OperationToolboxTranscribeTranscribe html(OperationHtmlTranscribe html)
-
getHtml
@Nullable public @Nullable OperationHtmlTranscribe getHtml()
Get html- Returns:
- html
-
setHtml
public void setHtml(OperationHtmlTranscribe html)
-
successReport
public OperationToolboxTranscribeTranscribe successReport(OperationToolboxTranscribeTranscribe.SuccessReportEnum successReport)
-
getSuccessReport
@Nullable public @Nullable OperationToolboxTranscribeTranscribe.SuccessReportEnum getSuccessReport()
This parameter determines if and in which form the XML report for a successful conversion is returned. * none = XML report is not returned * linked = XML report is appended to the end of the target document. * zip = target document and XML report are packed together in a ZIP archive. **Important:** The format of the document created at \"errorReport\" and \"successReport\" is described via the http://schema.webpdf.de/1.0/report/transcribe.xsd schema.- Returns:
- successReport
-
setSuccessReport
public void setSuccessReport(OperationToolboxTranscribeTranscribe.SuccessReportEnum successReport)
-
-