public class TOCTemplate extends Template
| Constructor and Description |
|---|
TOCTemplate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(RewriteContext hr)
Called before this template processes any tags.
|
void |
tag_h1(RewriteContext hr)
Add a name anchor to the H1 tag, so we can go there,
and set the request properties:
TOC.[anchor]
to the text of the H1 tag. |
public boolean init(RewriteContext hr)
Templateinit in interface TemplateInterfaceinit in class Templatepublic void tag_h1(RewriteContext hr)
TOC.[anchor]
to the text of the H1 tag.