public enum ScalarClass extends Enum<ScalarClass> implements ScalarMarshaller<Class<?>>
Class.| Modifier and Type | Method and Description |
|---|---|
Class<? extends Class<?>> |
getJavaClass()
Returns the type of object handled by this marshallable instance.
|
org.infinispan.protostream.descriptors.WireType |
getWireType()
Returns the wire type of the scalar value written by this marshaller.
|
static ScalarClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScalarClass[] |
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, valueOfreadFrom, writeTopublic static final ScalarClass ANY
public static final ScalarClass ID
public static final ScalarClass NAME
public static final ScalarClass FIELD
public static ScalarClass[] values()
for (ScalarClass c : ScalarClass.values()) System.out.println(c);
public static ScalarClass 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 Class<? extends Class<?>> getJavaClass()
MarshallablegetJavaClass in interface Marshallable<Class<?>>public org.infinispan.protostream.descriptors.WireType getWireType()
ScalarMarshallergetWireType in interface ScalarMarshaller<Class<?>>Copyright © 2022 JBoss by Red Hat. All rights reserved.