|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.icc.ddg.RenderUtils
public class RenderUtils
Utility class for Rendering related operations.
Constructor Summary | |
---|---|
RenderUtils()
|
Method Summary | |
---|---|
Letter |
copyLetter(Letter letter)
Creates copy of the passed in letter object. |
byte[] |
extendLayout(Letter letter,
java.lang.String dataRootName)
Extends the layout target areas. |
byte[] |
extendLayout(Letter letter,
java.lang.String dataRootName,
ContextData contextData,
boolean includeFragmentsUnconditionally)
Extends the layout target areas. |
Document |
extendLayout2(Letter letter,
java.lang.String dataRootName,
ContextData contextData,
boolean includeFragmentsUnconditionally)
Extends the layout target areas. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenderUtils()
Method Detail |
---|
public byte[] extendLayout(Letter letter, java.lang.String dataRootName) throws ICCException
layout
target areas. Following extensions are done:
extendLayout
in interface IRenderUtils
letter
- The Letter Template whose Layout XDP is to be extended. This object may be modified as part of letter extension.dataRootName
- Name of the root node of the data XML which is expected to be merged with this template.
dataRootName
since the data that will be merged with this Letter is using a different root element than that which was
originally used in the Letter's layout; Without this change, Target data SOMs will not resolve properly and
module data will not get inserted into the PDF.
ICCException
public byte[] extendLayout(Letter letter, java.lang.String dataRootName, ContextData contextData, boolean includeFragmentsUnconditionally) throws ICCException
layout
target areas. Following extensions are done:
extendLayout
in interface IRenderUtils
letter
- The Letter Template whose Layout XDP is to be extended. This object may be modified as part of letter extension.dataRootName
- Name of the root node of the data XML which is expected to be merged with this template.
dataRootName
since the data that will be merged with this Letter is using a different root element than that which was
originally used in the Letter's layout; Without this change, Target data SOMs will not resolve properly and
module data will not get inserted into the PDF.
contextData
- context data for evaluating expressions in container layout assignment objects.includeFragmentsUnconditionally
- flag to indicate whether fragments should always be included in rendered letter.
ICCException
public Document extendLayout2(Letter letter, java.lang.String dataRootName, ContextData contextData, boolean includeFragmentsUnconditionally) throws ICCException
layout
target areas. Following extensions are done:
extendLayout2
in interface IRenderUtils
letter
- The Letter Template whose Layout XDP is to be extended. This object may be modified as part of letter extension.dataRootName
- Name of the root node of the data XML which is expected to be merged with this template.
dataRootName
since the data that will be merged with this Letter is using a different root element than that which was
originally used in the Letter's layout; Without this change, Target data SOMs will not resolve properly and
module data will not get inserted into the PDF.
contextData
- context data for evaluating expressions in container layout assignment objects.includeFragmentsUnconditionally
- flag to indicate whether fragments should always be included in rendered letter.
ICCException
public Letter copyLetter(Letter letter) throws ICCException
copyLetter
in interface IRenderUtils
letter
- - letter object to copy
ICCException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |