public class TagReplaceRule extends BasicRule
For example, to convert all <b> tags to <strong>:
html.addRule(new TagReplaceRule("b", "strong"));
context
TagReplaceRule(java.lang.String originalTagName, java.lang.String newTagName)
void
process(Tag tag)
currentBuffer, setContext, shouldProcess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TagReplaceRule(java.lang.String originalTagName, java.lang.String newTagName)
public void process(Tag tag)
process
TagRule
BasicRule