Class GenerateDocumentResponseDTO


  • public class GenerateDocumentResponseDTO
    extends Object
    Contains the generated document and accompanying information.
    • Field Detail

      • state

        public String state
        The result state of the document processing:
        • SUCCESS - everything is fine (the processingInfos can contain traces)
        • TEMPLATE_MISSING - the document template is unknown to the server (if content was empty), retry with the template data
        • PROCESSING_PROBLEMS - there were some problems during the processing, see processingInfos for more information
        length of the state: 20
      • documentContent

        public javax.activation.DataHandler documentContent
        The content of the result document file as byte array. The content depends on the applied processor and the processing options and parameters (format etc.).
      • pageNumberMappings

        public PageNumberMappingDTO[] pageNumberMappings
        Resulting template page name to page range mappings.
      • processingInfos

        public DocumentProcessingInfoDTO[] processingInfos
        The processing traces and problems as array of structured information (type, description, element path).
    • Constructor Detail

      • GenerateDocumentResponseDTO

        public GenerateDocumentResponseDTO()