Class HTMLProcessor
java.lang.Object
com.opensymphony.module.sitemesh.html.HTMLProcessor
The Class HTMLProcessor.
-
Constructor Summary
ConstructorsConstructorDescriptionHTMLProcessor(SitemeshBuffer sitemeshBuffer, SitemeshBufferFragment.Builder body) Instantiates a new HTML processor. -
Method Summary
Modifier and TypeMethodDescriptionvoidEquivalent of htmlProcessor.defaultState().addRule()voidaddTextFilter(TextFilter textFilter) Adds the text filter.Default state.voidprocess()Process.
-
Constructor Details
-
HTMLProcessor
Instantiates a new HTML processor.- Parameters:
sitemeshBuffer- the sitemesh bufferbody- the body
-
-
Method Details
-
defaultState
Default state.- Returns:
- the state
-
addRule
Equivalent of htmlProcessor.defaultState().addRule()- Parameters:
rule- the rule
-
process
Process.- Throws:
IOException- Signals that an I/O exception has occurred.
-
addTextFilter
Adds the text filter.- Parameters:
textFilter- the text filter
-