public enum IdentifierSerializer extends Enum<IdentifierSerializer> implements Serializer<String>
| Enum Constant and Description |
|---|
BASE64
Specific optimization for Base64-encoded identifiers (e.g.
|
HEX
Specific optimization for hex-encoded identifiers (e.g.
|
UTF8 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(String id)
Indicates whether or not the specified identifier is valid for this serializer.
|
static IdentifierSerializer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentifierSerializer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfread, size, writepublic static final IdentifierSerializer UTF8
public static final IdentifierSerializer BASE64
public static final IdentifierSerializer HEX
public static IdentifierSerializer[] values()
for (IdentifierSerializer c : IdentifierSerializer.values()) System.out.println(c);
public static IdentifierSerializer 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 nullpublic boolean validate(String id)
id - an identifierCopyright © 2021 JBoss by Red Hat. All rights reserved.