{title:'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.Builder#template(Class)} 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.