public enum OptionalMarshaller extends Enum<OptionalMarshaller> implements ProtoStreamMarshallerProvider
| Modifier and Type | Method and Description |
|---|---|
ProtoStreamMarshaller<?> |
getMarshaller() |
static OptionalMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionalMarshaller[] |
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, valueOfcast, getJavaClass, read, readFrom, write, writeTogetTypeNamepublic static final OptionalMarshaller OBJECT
public static final OptionalMarshaller DOUBLE
public static final OptionalMarshaller INT
public static final OptionalMarshaller LONG
public static OptionalMarshaller[] values()
for (OptionalMarshaller c : OptionalMarshaller.values()) System.out.println(c);
public static OptionalMarshaller 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 ProtoStreamMarshaller<?> getMarshaller()
getMarshaller in interface ProtoStreamMarshallerProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.