public static class XMLUtil.HTMLRendererReplacer extends Object implements XMLUtil.ITagReplacer
XMLUtil.ITagReplacer can be used to render HTML into a plain text.
Basically all tags will be removed. Only a limited set of tags is replaced
by a new plain text which improves readability.| Constructor and Description |
|---|
HTMLRendererReplacer() |
| Modifier and Type | Method and Description |
|---|---|
String |
replaceTag(String tag)
Replaces the given tag by something esle.
|
public String replaceTag(String tag)
XMLUtil.ITagReplacerreplaceTag in interface XMLUtil.ITagReplacertag - The found tag.null to remove the tag.