| java.lang.Object sunlabs.brazil.template.Template sunlabs.brazil.template.TOCTemplate
TOCTemplate | public class TOCTemplate extends Template (Code) | | Template class for extracting table of contents information
out of an html page by examining the "H1" tags, and setting
request properties that can be used to build a table of contents.
This class is used by the TemplateHandler.
author: Stephen Uhler version: %V% TOCTemplate.java |
Method Summary | |
public boolean | init(RewriteContext hr) | public 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. |
tag_h1 | public void tag_h1(RewriteContext hr)(Code) | | 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.
|
|
|