public interface ContentsSPI
Page and Attachment instances.| Modifier and Type | Method and Description |
|---|---|
Attachment |
attachment(Engine engine,
java.lang.String parentPage,
java.lang.String fileName)
Creates a new
Attachment. |
Page |
page(Engine engine,
java.lang.String name)
Creates a
Page instance. |
Attachment attachment(Engine engine, java.lang.String parentPage, java.lang.String fileName)
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.Attachment instance.Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.