public class HTMLUnicodeEntitiesParser extends Object
From the spec:
Consume the maximum number of characters possible, with the consumed characters matching
one of the identifiers in the first column of the named character references table
(in a case-sensitive manner).
Append each character to the temporary buffer when it's consumed.
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_START |
| Constructor and Description |
|---|
HTMLUnicodeEntitiesParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMatch() |
int |
getRewindCount() |
boolean |
parseNumeric(int current)
Parses a numeric entity such as #x64; or #42; The
ampersand must not be presented.
|
void |
setMatchFromCode() |
public static final int STATE_START
public String getMatch()
public int getRewindCount()
public void setMatchFromCode()
public boolean parseNumeric(int current)
current - the next character to checkCopyright © 2024 HtmlUnit. All rights reserved.