public class NumericEntityUnescaper extends CharSequenceTranslator
Modifier and Type | Class and Description |
---|---|
static class |
NumericEntityUnescaper.OPTION |
Constructor and Description |
---|
NumericEntityUnescaper(NumericEntityUnescaper.OPTION... options)
Create a UnicodeUnescaper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSet(NumericEntityUnescaper.OPTION option)
Whether the passed in option is currently set.
|
int |
translate(CharSequence input,
int index,
Writer out)
Translate a set of codepoints, represented by an int index into a CharSequence,
into another set of codepoints.
|
hex, translate, translate, with
public 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 out) throws IOException
translate
in class CharSequenceTranslator
input
- CharSequence that is being translatedindex
- int representing the current point of translationout
- Writer to translate the text toIOException
- if and only if the Writer produces an IOExceptionCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.