public enum EscapeStrategy extends Enum<EscapeStrategy>
| Enum Constant and Description |
|---|
DEFAULT |
NON_ASCII_CHARS_ONLY |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendByte(byte b,
StringBuilder output) |
abstract String |
escape(String input) |
static EscapeStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EscapeStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EscapeStrategy NON_ASCII_CHARS_ONLY
public static final EscapeStrategy DEFAULT
public static EscapeStrategy[] values()
for (EscapeStrategy c : EscapeStrategy.values()) System.out.println(c);
public static EscapeStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullprotected void appendByte(byte b,
StringBuilder output)
Copyright © 2018 JBoss by Red Hat. All rights reserved.