public static class XMLUtil.HTMLRendererReplacer extends java.lang.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 |
|---|---|
java.lang.String |
replaceTag(java.lang.String tag)
Replaces the given tag by something esle.
|
public java.lang.String replaceTag(java.lang.String tag)
XMLUtil.ITagReplacerreplaceTag in interface XMLUtil.ITagReplacertag - The found tag.null to remove the tag.