public abstract class BlockExtractingRule extends BasicRule
Modifier and Type | Field and Description |
---|---|
private boolean |
keepInBuffer |
private boolean |
seenOpeningTag |
Modifier | Constructor and Description |
---|---|
protected |
BlockExtractingRule(boolean keepInBuffer) |
protected |
BlockExtractingRule(boolean keepInBuffer,
java.lang.String acceptableTagName) |
Modifier and Type | Method and Description |
---|---|
protected SitemeshBufferFragment.Builder |
createBuffer(SitemeshBuffer sitemeshBuffer) |
protected void |
end(Tag tag) |
void |
process(Tag tag) |
protected void |
start(Tag tag) |
currentBuffer, getCurrentBufferContent, setContext, shouldProcess
private boolean keepInBuffer
private boolean seenOpeningTag
protected BlockExtractingRule(boolean keepInBuffer, java.lang.String acceptableTagName)
protected BlockExtractingRule(boolean keepInBuffer)
public void process(Tag tag)
protected void start(Tag tag)
protected void end(Tag tag)
protected SitemeshBufferFragment.Builder createBuffer(SitemeshBuffer sitemeshBuffer)