|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ivata.mask.web.format.StripTagFormat
This class defines a standard way of stripping unwanted tags out of HTML. It looks for tags and end tags and strips out everything in between. Your tag must be 'closed', XML-style.
| Constructor Summary | |
StripTagFormat()
|
|
| Method Summary | |
java.lang.String |
format(java.lang.String hTMLTextParam)
Takes the text provided and strips all of the tags out, as set by setTagName. |
java.lang.String |
getTagName()
Select the tag name of the tag you want to strip out of the string. |
void |
setTagName(java.lang.String tagNameParam)
Select the tag name of the tag you want to strip out of the string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StripTagFormat()
| Method Detail |
public final java.lang.String format(java.lang.String hTMLTextParam)
Takes the text provided and strips all of the tags out, as set by
setTagName. If no tag name has been set, this method
returns the HTML text unaltered.
format in interface HTMLFormathTMLTextParam - Refer to HTMLFormat.format(java.lang.String).
HTMLFormat.format(java.lang.String).public final java.lang.String getTagName()
public final void setTagName(java.lang.String tagNameParam)
tagNameParam - the new value of tagName.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||