public class NumericEntityUnescaper extends CharSequenceTranslator
Modifier and Type | Class | Description |
---|---|---|
static class |
NumericEntityUnescaper.OPTION |
Constructor | Description |
---|---|
NumericEntityUnescaper(NumericEntityUnescaper.OPTION... options) |
Create a UnicodeUnescaper.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isSet(NumericEntityUnescaper.OPTION option) |
Whether the passed in option is currently set.
|
int |
translate(java.lang.CharSequence input,
int index,
java.io.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(java.lang.CharSequence input, int index, java.io.Writer out) throws java.io.IOException
translate
in class CharSequenceTranslator
input
- CharSequence that is being translatedindex
- int representing the current point of translationout
- Writer to translate the text tojava.io.IOException
- if and only if the Writer produces an IOExceptionCopyright © 2001-2017 - Apache Software Foundation