Constructor and Description |
---|
HtmlCharacterEntityReferences()
Returns a new set of character entity references reflecting the HTML 4.0 character set.
|
Modifier and Type | Method and Description |
---|---|
char |
convertToCharacter(String entityReference)
Return the char mapped to the given entityReference or -1.
|
String |
convertToReference(char character)
Return the reference mapped to the given character or
null . |
int |
getSupportedReferenceCount()
Return the number of supported entity references.
|
boolean |
isMappedToReference(char character)
Return true if the given character is mapped to a supported entity reference.
|
public HtmlCharacterEntityReferences()
public int getSupportedReferenceCount()
public boolean isMappedToReference(char character)
public String convertToReference(char character)
null
.public char convertToCharacter(String entityReference)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly