Interface TemplateContentProvider

All Superinterfaces:
ChannelSourceProvider, Comparable<StoreElement>, HistoryProvider, IDProvider, StoreElement, Workflowable
All Known Subinterfaces:
FormatTemplate, LinkTemplate, MasterTemplate, PageTemplate, SectionTemplate, StyleTemplate, TableTemplate, Template

public interface TemplateContentProvider extends ChannelSourceProvider
Interface for nodes which provide a template document
Since:
4.0
  • Method Details

    • getTemplateDocument

      TemplateDocument getTemplateDocument(@NotNull @NotNull TemplateSet templateSet)
      Get a document for a template set for the given channel. If the content is not parsable a dummy document is returned.
      Parameters:
      templateSet - The channel to look up.
      Returns:
      The according document.
      Since:
      4.0