public class WikiEntityUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
static int | 
getHtmlCodeByHtmlEntity(String htmlEntity)
Returns an HTML code corresponding to the specified HTML entity. 
 | 
static int | 
getHtmlCodeByWikiSymbol(String wikiEntity)
Returns an HTML code corresponding to the specified wiki entity. 
 | 
static String | 
getHtmlSymbol(char ch)  | 
static String | 
getHtmlSymbol(String wikiEntity)  | 
static String | 
getWikiSymbol(char ch)  | 
static String | 
getWikiSymbol(String htmlEntity)  | 
public static int getHtmlCodeByHtmlEntity(String htmlEntity)
htmlEntity - the HTML entity to transform to the corresponding HTML codepublic static int getHtmlCodeByWikiSymbol(String wikiEntity)
wikiEntity - the wiki entity to transform to the corresponding HTML entitypublic static String getHtmlSymbol(char ch)
ch - for this character the corresponding html entity will be returnedpublic static String getHtmlSymbol(String wikiEntity)
wikiEntity - for this wiki entity the corresponding html entity will be returnedpublic static String getWikiSymbol(char ch)
ch - for this character the corresponding wiki entity will be returnedpublic static String getWikiSymbol(String htmlEntity)
htmlEntity - for this html entity the corresponding wiki entity will be returnedCopyright © 2019 Nuxeo. All rights reserved.