|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ivata.mask.web.format.CharacterEntityFormat
Convert characters to their HTML character entity equivalents.
| Constructor Summary | |
CharacterEntityFormat()
Default constructor. |
|
| Method Summary | |
java.lang.String |
format(java.lang.String hTMLText)
Convert the character entities in the text provided. |
boolean |
isReverse()
Gets whether or not character entity conversion goes in the opposite direction. |
void |
setReverse(boolean newReverse)
Set whether or not character entity conversion goes in the opposite direction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CharacterEntityFormat()
Default constructor.
| Method Detail |
public final java.lang.String format(java.lang.String hTMLText)
Convert the character entities in the text provided.
format in interface HTMLFormathTMLText - a text to convert all the character entities in
public final boolean isReverse()
Gets whether or not character entity conversion goes in the opposite
direction. If character entities are converted to characters then this
method returns true, otherwise false
true if character entities are converted to
characters, otherwise false/public final void setReverse(boolean newReverse)
Set whether or not character entity conversion goes in the opposite direction.
newReverse - set to true if character entities should
be converted to characters, otherwise false.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||