Modifier and Type | Field and Description |
---|---|
private JavaScriptEncoder.Mode |
JavaScriptEncoder._mode
The mode of operations--used for toString implementation.
|
Modifier and Type | Method and Description |
---|---|
static JavaScriptEncoder.Mode |
JavaScriptEncoder.Mode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaScriptEncoder.Mode[] |
JavaScriptEncoder.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
JavaScriptEncoder(JavaScriptEncoder.Mode mode,
boolean asciiOnly)
Constructs a new JavaScriptEncoder for the specified contextual mode.
|