|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DocumentRenderHandler
Handler interface to process the document (PDF, by default) rendered for Letter templates.
| Field Summary | |
|---|---|
static int |
INTERACTIVE_DOCUMENT_HANDLER
|
static int |
NONINTERACTIVE_DOCUMENT_HANDLER
|
static java.lang.String |
XDP_KEY
XDP Template key for preProcessDocument API. |
static java.lang.String |
XML_KEY
XML Data key for preProcessDocument API. |
| Method Summary | |
|---|---|
int |
getHandlerType()
Return the type of handler, i.e. |
byte[] |
postProcessDocument(byte[] inputDocument)
Process the document before it gets returned to the caller. |
java.util.Map |
preProcessDocument(byte[] xdpBytes,
byte[] xmlBytes)
Pre-process the XDP and XML bytes of the document to be rendered. |
| Field Detail |
|---|
static final int INTERACTIVE_DOCUMENT_HANDLER
static final int NONINTERACTIVE_DOCUMENT_HANDLER
static final java.lang.String XDP_KEY
static final java.lang.String XML_KEY
| Method Detail |
|---|
java.util.Map preProcessDocument(byte[] xdpBytes,
byte[] xmlBytes)
xdpBytes - XDP bytes for the documentxmlBytes - XML data bytes for the document
Map of processed XDP and XML bytes, using the "xdpBytes" key for XDP and "xmlBytes" key for XML.byte[] postProcessDocument(byte[] inputDocument)
inputDocument - the rendered document bytes
int getHandlerType()
DocumentRenderHandler.INTERACTIVE_DOCUMENT_HANDLER) or
non-interactive documents (DocumentRenderHandler.NONINTERACTIVE_DOCUMENT_HANDLER).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||