|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.docmosis.document.converter.ConversionInstruction
This class is used to specify various settings for a document to be rendered. Control features include:
| Constructor Summary | |
ConversionInstruction()
|
|
| Method Summary | |
boolean |
cleanupDataProvider()
Determine if the DataProvider should be cleaned up at the end of the render process. |
boolean |
compressSingleDocument()
Determine whether to compress (zip) the resulting document if only a single format is being used. |
ConversionFormat[] |
getConversionFormats()
Get the conversion formats specified by this instruction. |
String |
getConverterGroupName()
Get the name of the Converter Group to use to render the document. |
String |
getOutputFileName()
|
RendererRegistry |
getRendererRegistry()
Get the collection of renderers registry that have been set into this instruction. |
boolean |
isCompressingSingleDocument()
Determine if a single resulting document should be automatically zipped to create a smaller file. |
void |
setCleanupDataProvider(boolean cleanupDataProvider)
Specify whether the data provider should be cleaned up at the end of the render process. |
void |
setCompressingSingleDocument(boolean compressingSingleDocument)
Specify whether a single resulting document should be automatically zipped to create a smaller file. |
void |
setConversionFormats(ConversionFormat[] conversionFormats)
Specify the conversion formats for the returned result. |
void |
setConverterGroupName(String converterGroupName)
Specify the name of the converter pool group to which this task is to be assigned. |
void |
setOutputFileName(String outputFileName)
Specify the filename for output. |
void |
setRenderer(Class forClass,
FieldRenderer renderer)
Set a renderer against the given Class for use with this instruction. |
void |
setRenderer(String name,
FieldRenderer renderer)
Set a renderer with the given name for use with this instruction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConversionInstruction()
| Method Detail |
public String getOutputFileName()
public void setOutputFileName(String outputFileName)
outputFileName - the name of the filepublic boolean isCompressingSingleDocument()
public ConversionFormat[] getConversionFormats()
public boolean compressSingleDocument()
public void setCompressingSingleDocument(boolean compressingSingleDocument)
compressingSingleDocument - if true, single documents will be zipped.public void setConversionFormats(ConversionFormat[] conversionFormats)
conversionFormats - the array of formats desiredpublic String getConverterGroupName()
public void setConverterGroupName(String converterGroupName)
converterGroupName - the name of the group.public boolean cleanupDataProvider()
public void setCleanupDataProvider(boolean cleanupDataProvider)
cleanupDataProvider - set to false to disable auto cleanup
public void setRenderer(String name,
FieldRenderer renderer)
name - the name against which the renderer is associatedrenderer - the renderer
public void setRenderer(Class forClass,
FieldRenderer renderer)
renderer - the rendererpublic RendererRegistry getRendererRegistry()
|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||