java.lang.Object
com.aquima.interactions.framework.handler.document.DocumentResult
All Implemented Interfaces:
IRenderedDocument, IActionResult, Serializable

public class DocumentResult extends Object implements IActionResult, IRenderedDocument
Class containing the result (=document content) of the document action handler.
Since:
6.0
Author:
Jon van Leuven
See Also:
  • Constructor Details

  • Method Details

    • getContents

      public byte[] getContents()
      Description copied from interface: IRenderedDocument
      This method returns the actual contents of the generated document.
      Specified by:
      getContents in interface IRenderedDocument
      Returns:
      byte array containing the actual content of the document.
    • getDescription

      public String getDescription()
      Description copied from interface: IRenderedDocument
      This method returns a descriptive text of the document.
      Specified by:
      getDescription in interface IRenderedDocument
      Returns:
      a descriptive text of the document, may be null
    • getName

      public String getName()
      Description copied from interface: IRenderedDocument
      This method returns the name of the document.
      Specified by:
      getName in interface IRenderedDocument
      Returns:
      The name of the document.
    • getOutputFormat

      public OutputFormat getOutputFormat()
      Description copied from interface: IRenderedDocument
      This method returns the output format of the document.
      Specified by:
      getOutputFormat in interface IRenderedDocument
      Returns:
      The output format of the document.