{new} Custom Templates

Custom page templates can be created by implementing the {@link oaj.html.HtmlDocTemplate} interface and associating it with your {@link oaj.html.HtmlDocSerializer} using the {@link oaj.html.HtmlDocSerializer#HTMLDOC_template HTMLDOC_template} setting.

- {@link oaj.html.HtmlDocTemplate}
  - {@link oaj.html.HtmlDocTemplate#writeTo(HtmlDocSerializerSession,HtmlWriter,Object) writeTo(HtmlDocSerializerSession,HtmlWriter,Object)}

The interface implementation is open-ended allowing you to define the contents of the page any way you wish.