Interface SnippetContainer

All Known Subinterfaces:
LinkTemplate, MasterTemplate, PageTemplate, SectionTemplate, TableTemplate, Template

public interface SnippetContainer
Interface providing means to access snippet definitions.
Since:
5.2.9
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Snippet
    Get a snippet defining object.
    void
    setSnippet(@NotNull Snippet snippet)
    Set the snippet as defined in the given object.
  • Method Details

    • getSnippet

      @NotNull @NotNull Snippet getSnippet()
      Get a snippet defining object.
      Returns:
      The snippet.
      Since:
      5.2.9
    • setSnippet

      void setSnippet(@NotNull @NotNull Snippet snippet)
      Set the snippet as defined in the given object.
      Parameters:
      snippet - The snippet.
      Since:
      5.2.9