Interface TemplateProcessingResult

All Known Implementing Classes:
DefaultTemplateProcessingResult

public interface TemplateProcessingResult
A template processing result represents the result from a processed TemplateVariationDefinition through a TemplateProcessor.
  • Method Details

    • getProcessedContent

      String getProcessedContent()
      Returns the processed content as a string (in case the content is processed directly).
    • getInputStream

      InputStream getInputStream()
      Returns the processed result as an InputStream. Callers are responsible for closing the stream.
    • getContentItem

      ContentItem getContentItem()
      If the processed result is stored as a content item, this will return it.
    • getTemplateHolder

      TemplateHolder getTemplateHolder()
      Returns the template holder containing all information like template definition and variation which was used to produce the result.