public class HTMLProcessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private SitemeshBufferFragment.Builder |
body |
private State |
currentState |
private State |
defaultState |
private SitemeshBuffer |
sitemeshBuffer |
Constructor and Description |
---|
HTMLProcessor(SitemeshBuffer sitemeshBuffer,
SitemeshBufferFragment.Builder body) |
Modifier and Type | Method and Description |
---|---|
void |
addRule(TagRule rule)
Equivalent of htmlProcessor.defaultState().addRule()
|
void |
addTextFilter(TextFilter textFilter) |
State |
defaultState() |
void |
process() |
private final SitemeshBuffer sitemeshBuffer
private final SitemeshBufferFragment.Builder body
private final State defaultState
private State currentState
public HTMLProcessor(SitemeshBuffer sitemeshBuffer, SitemeshBufferFragment.Builder body)
public State defaultState()
public void addRule(TagRule rule)
public void process() throws java.io.IOException
java.io.IOException
public void addTextFilter(TextFilter textFilter)