public class State extends Object
TagRules 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
IOExceptionCopyright © 2015. All Rights Reserved.