public enum IdentifierMarshaller extends Enum<IdentifierMarshaller> implements Marshaller<String,ByteBuffer>
| Enum Constant and Description |
|---|
BASE64
Specific optimization for Base64-encoded identifiers (e.g.
|
HEX
Specific optimization for hex-encoded identifiers (e.g.
|
ISO_LATIN_1 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMarshallable(Object object) |
boolean |
validate(String id)
Indicates whether or not the specified identifier is valid for this serializer.
|
static IdentifierMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentifierMarshaller[] |
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, writepublic static final IdentifierMarshaller ISO_LATIN_1
public static final IdentifierMarshaller BASE64
public static final IdentifierMarshaller HEX
public static IdentifierMarshaller[] values()
for (IdentifierMarshaller c : IdentifierMarshaller.values()) System.out.println(c);
public static IdentifierMarshaller 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 isMarshallable(Object object)
isMarshallable in interface Marshallabilitypublic boolean validate(String id)
id - an identifierCopyright © 2021 JBoss by Red Hat. All rights reserved.