public class State extends Object
TagRule
s to apply whilst the TagProcessor
is processing the document in this particular state.Constructor and Description |
---|
State() |
Modifier and Type | Method and Description |
---|---|
void |
addRule(String tagName,
TagRule rule)
Adds a
TagRule that will be called for |
TagRule |
getRule(String tagName) |
void |
handleText(CharSequence text,
TagProcessorContext context) |
boolean |
shouldProcessTag(String tagName) |
public void addRule(String tagName, TagRule rule)
TagRule
that will be called forrule
- public boolean shouldProcessTag(String tagName)
public void handleText(CharSequence text, TagProcessorContext context) throws IOException
IOException
Copyright © 2015. All Rights Reserved.