|
Docmosis API 4.5.0 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TemplateIdentifier | |
com.docmosis.document | |
com.docmosis.template | |
com.docmosis.template.analysis.structure | |
com.docmosis.template.store |
Uses of TemplateIdentifier in com.docmosis.document |
Methods in com.docmosis.document that return TemplateIdentifier | |
TemplateIdentifier |
RenderRequest.getTemplateIdentifier()
Get the specified template identifier indicating the template to use. |
Methods in com.docmosis.document with parameters of type TemplateIdentifier | |
static DocumentRenderResult |
DocumentProcessor.renderDoc(TemplateIdentifier templateId,
DataProvider dp,
ConversionInstruction instruction,
OutputStream streamTo)
Render the template specified by the given templateId with the given data according to the given instruction. |
RenderRequest |
RenderRequest.setTemplateIdentifier(TemplateIdentifier templateIdentifier)
Set the template to use. |
Uses of TemplateIdentifier in com.docmosis.template |
Subclasses of TemplateIdentifier in com.docmosis.template | |
class |
TemplateDetails
A simple holder of details for a template. |
Methods in com.docmosis.template that return TemplateIdentifier | |
TemplateIdentifier |
Template.getId()
|
Constructors in com.docmosis.template with parameters of type TemplateIdentifier | |
TemplateDetails(TemplateIdentifier templateId,
long origSize,
long origLastModified,
long workingSize,
long workingLastModified,
TemplateAnalysis analysis,
File thumbNail)
Construct a new template details object with the given information |
Uses of TemplateIdentifier in com.docmosis.template.analysis.structure |
Methods in com.docmosis.template.analysis.structure with parameters of type TemplateIdentifier | |
static List |
TemplateStructureExtractor.getStructureFromDefaultStore(TemplateIdentifier templateId)
This is a convenience method to extract the TemplateStructure for the given template from the default template store. |
static void |
TemplateStructureExtractor.process(TemplateStructureProcessor processor,
TemplateIdentifier templateId)
This convenience method will get the template from the default TemplateStore and extract the structure before passing it to the given processor to process. |
Uses of TemplateIdentifier in com.docmosis.template.store |
Methods in com.docmosis.template.store that return TemplateIdentifier | |
static TemplateIdentifier |
TemplateIdentifier.fromPath(String fullPath)
Construct a TemplateIdentifier from a full path to a template (template an context combined). |
static TemplateIdentifier |
TemplateIdentifier.createUniqueTempTemplateIdentifier()
Create a unique template identifier, typically useful only for templates that are temporary in nature. |
Methods in com.docmosis.template.store with parameters of type TemplateIdentifier | |
static TemplateDetails |
StoreHelper.storeTemplate(TemplateIdentifier templateId,
File templateFile,
TemplateStore store)
Store a template in the given template store (this process is known as template registration). |
static TemplateDetails |
StoreHelper.storeTemplate(TemplateIdentifier templateId,
InputStream origTemplateStream,
boolean overwrite,
boolean waitForConverter,
TemplateStore store)
Store the given template stream against the given templateId in the given store. |
static TemplateDetails |
StoreHelper.storeTemplate(TemplateIdentifier templateId,
File templateFile,
boolean overwrite,
boolean waitForConverter,
TemplateStore store)
Store a template in the given template store (this process is known as template registration). |
static boolean |
StoreHelper.templateExists(TemplateIdentifier templateId,
TemplateStore store)
Determines whether the given template exists in the store. |
TemplateDetails |
TemplateStore.storeTemplate(TemplateIdentifier templateId,
InputStream origTemplateSource,
InputStream workingTemplateSource,
TemplateAnalysis analysis,
InputStream thumbnail,
boolean overwrite,
boolean templateErrorsFatal,
String plainTextFieldPrefix,
String plainTextFieldSuffix,
boolean allowPaddedFields)
Store the given InputStream as a template using the given templateId. |
Template |
TemplateStore.getTemplate(TemplateIdentifier templateId)
Get the (working) template identified by the given templateId. |
InputStream |
TemplateStore.getOriginalTemplate(TemplateIdentifier templateId)
Get the original template provided in storeTemplate(). |
TemplateAnalysis |
TemplateStore.getTemplateAnalysis(TemplateIdentifier templateId)
Get the template analysis for the template identified by the given template info. |
void |
TemplateStore.deleteTemplate(TemplateIdentifier templateId)
Delete the given template from the store. |
long |
TemplateStore.getTemplateStoredTime(TemplateIdentifier templateId)
Return the time that the template was stored in this template store. |
void |
TemplateStoreFactory.PresetTemplateStore.deleteTemplate(TemplateIdentifier templateId)
|
InputStream |
TemplateStoreFactory.PresetTemplateStore.getOriginalTemplate(TemplateIdentifier templateId)
|
Template |
TemplateStoreFactory.PresetTemplateStore.getTemplate(TemplateIdentifier templateId)
|
TemplateAnalysis |
TemplateStoreFactory.PresetTemplateStore.getTemplateAnalysis(TemplateIdentifier templateId)
|
long |
TemplateStoreFactory.PresetTemplateStore.getTemplateStoredTime(TemplateIdentifier templateId)
|
TemplateDetails |
TemplateStoreFactory.PresetTemplateStore.storeTemplate(TemplateIdentifier templateId,
InputStream origTemplateSource,
InputStream workingTemplateSource,
TemplateAnalysis analysis,
InputStream thumbnail,
boolean overwrite,
boolean templateErrorsFatal,
String plainTextFieldPrefix,
String plainTextFieldSuffix,
boolean allowPaddedFields)
|
|
Docmosis API 4.5.0 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |