public class NumericEntityUnescaper extends CharSequenceTranslator
| Modifier and Type | Class and Description |
|---|---|
static class |
NumericEntityUnescaper.OPTION
Enumerates NumericEntityUnescaper options for unescaping.
|
| Constructor and Description |
|---|
NumericEntityUnescaper(NumericEntityUnescaper.OPTION... options)
Creates a UnicodeUnescaper.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSet(NumericEntityUnescaper.OPTION option)
Tests whether the passed in option is currently set.
|
int |
translate(CharSequence input,
int index,
Writer writer)
Translate a set of code points, represented by an int index into a CharSequence,
into another set of code points.
|
hex, translate, translate, withpublic NumericEntityUnescaper(NumericEntityUnescaper.OPTION... options)
options - to apply to this unescaperpublic boolean isSet(NumericEntityUnescaper.OPTION option)
option - to check state ofpublic int translate(CharSequence input, int index, Writer writer) throws IOException
translate in class CharSequenceTranslatorinput - CharSequence that is being translatedindex - int representing the current point of translationwriter - Writer to translate the text toIOException - if and only if the Writer produces an IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.