public class DefaultEnumMarshaller extends Object implements Marshaller<Enum>
Constructor and Description |
---|
DefaultEnumMarshaller(Class enumType) |
Modifier and Type | Method and Description |
---|---|
Enum |
demarshall(EJValue a0,
MarshallingSession a1) |
Enum[] |
getEmptyArray()
Returns an empty array of the type handled by this marshaller.
|
String |
marshall(Enum a0,
MarshallingSession a1) |
public DefaultEnumMarshaller(Class enumType)
public Enum demarshall(EJValue a0, MarshallingSession a1)
demarshall
in interface Marshaller<Enum>
public String marshall(Enum a0, MarshallingSession a1)
marshall
in interface Marshaller<Enum>
public Enum[] getEmptyArray()
Marshaller
List.toArray(T[])
.getEmptyArray
in interface Marshaller<Enum>
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.