Class DocumentResult
java.lang.Object
com.aquima.interactions.framework.handler.document.DocumentResult
- All Implemented Interfaces:
IRenderedDocument
,IActionResult
,Serializable
Class containing the result (=document content) of the document action handler.
- Since:
- 6.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
This method returns the actual contents of the generated document.This method returns a descriptive text of the document.getName()
This method returns the name of the document.This method returns the output format of the document.
-
Constructor Details
-
DocumentResult
-
-
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 interfaceIRenderedDocument
- Returns:
- byte array containing the actual content of the document.
-
getDescription
Description copied from interface:IRenderedDocument
This method returns a descriptive text of the document.- Specified by:
getDescription
in interfaceIRenderedDocument
- Returns:
- a descriptive text of the document, may be null
-
getName
Description copied from interface:IRenderedDocument
This method returns the name of the document.- Specified by:
getName
in interfaceIRenderedDocument
- Returns:
- The name of the document.
-
getOutputFormat
Description copied from interface:IRenderedDocument
This method returns the output format of the document.- Specified by:
getOutputFormat
in interfaceIRenderedDocument
- Returns:
- The output format of the document.
-