public class NamedEntitiesDereferencer
extends java.lang.Object
NamedEntitiesDereferencer
provides an extremely fast way
to map Named Entities References to their corresponding Unicode value.
Note: the Entity table described below comes from the official XHTML entity reference list. Also, notice that entity names are case sensitive.
Constructor and Description |
---|
NamedEntitiesDereferencer() |
Modifier and Type | Method and Description |
---|---|
static char |
toCode(byte[] b,
int offset,
int count)
Get the code associated to a key.
|
public static char toCode(byte[] b, int offset, int count)
b
- byte array containing the keyoffset
- position of the first byte of the key in the arraycount
- number of bytes composing the key