Class TopLevelBlockExtractingRule
- java.lang.Object
-
- com.opensymphony.module.sitemesh.html.BasicRule
-
- org.codehaus.xsite.extractors.sitemesh.rules.TopLevelBlockExtractingRule
-
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.html.TagRule
public class TopLevelBlockExtractingRule extends com.opensymphony.module.sitemesh.html.BasicRuleRule to extract all top level block elements as separate paragraphs. Normally a body should contain only such elements. In case of other tags or text, those are added as separate p block.- Author:
- Jörg Schaible
-
-
Constructor Summary
Constructors Constructor Description TopLevelBlockExtractingRule(com.opensymphony.module.sitemesh.html.rules.PageBuilder page)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(com.opensymphony.module.sitemesh.html.Tag tag)
-