|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wikimodel.wem.util.HtmlEntityUtil
public class HtmlEntityUtil
This class provides utility methods to access HTML entities with their respective descriptions and numerical codes.
| Constructor Summary | |
|---|---|
HtmlEntityUtil()
|
|
| Method Summary | |
|---|---|
static char |
getChar(java.lang.String symbol)
A character corresponding to the given symbol. |
static java.lang.String |
getDescription(char ch)
Returns description of the given character |
static java.lang.String |
getDescription(java.lang.String symbol)
Returns description of the given symbol. |
static java.lang.String |
getSymbol(char ch)
Returns a symbol corresponding to the given character or null if nothing was found |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlEntityUtil()
| Method Detail |
|---|
public static char getChar(java.lang.String symbol)
symbol - for this symbol the corresponding character will be
returned
public static java.lang.String getDescription(char ch)
ch - for this character the corresponding description will be
returned
public static java.lang.String getDescription(java.lang.String symbol)
symbol - for this symbol the corresponding description will be
returned
public static java.lang.String getSymbol(char ch)
null if nothing was found
ch - for this character the corresponding symbol will be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||