Interface ContentsSPI

    • Method Detail

      • attachment

        Attachment attachment​(Engine engine,
                              java.lang.String parentPage,
                              java.lang.String fileName)
        Creates a new Attachment. The final name of the attachment will be a synthesis of the parent page name and the file name.
        engine - The Engine which is hosting this attachment.
        parentPage - The page which will contain this attachment.
        fileName - The file name for the attachment.
        new Attachment instance.
      • page

        Page page​(Engine engine,
                  java.lang.String name)
        Creates a Page instance.
        engine - The Engine that owns this page.
        name - The name of the page.
        new Page instance.