public interface HtmlDocTemplate
HtmlDocSerializer
serializer.
The HTML doc serializer produces the following document structure with the typical contents:
This interface allows you to control how these sections get rendered.
Modifier and Type | Interface and Description |
---|---|
static interface |
HtmlDocTemplate.Null
Represents a non-existent doc template.
|
Modifier and Type | Method and Description |
---|---|
void |
writeTo(HtmlDocSerializerSession session,
HtmlWriter w,
Object o)
Renders the contents of the
element. |
void writeTo(HtmlDocSerializerSession session, HtmlWriter w, Object o) throws Exception
<head>
element.session
- The current serializer session.w
- The writer being written to.o
- The object being serialized.Exception
- Any exception can be thrown.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.