Interface IndexContentProvider


public interface IndexContentProvider
Interface to implement by content providers for the index page
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default int
    The order can be used to list index content in a specified order.
    void
    writeContent(PrintWriter out, String contextPath)
    Write the index page content
  • Method Details

    • getSectionTitle

      String getSectionTitle()
      Returns:
      the text to use as title for the index page section of this provide
    • writeContent

      void writeContent(PrintWriter out, String contextPath)
      Write the index page content
      Parameters:
      out - the writer to output the content to
      contextPath - the servlet context path
    • order

      default int order()
      The order can be used to list index content in a specified order. The default order is 0. Index content with a lower order is shown before index content with a higher order.
      Returns:
      the order value