@Vetoed public enum Converters extends Enum<Converters> implements Converter<Object,Object>
| Enum Constant and Description |
|---|
NOOP
Does nothing
|
TO_STRING
Calls the
Object.toString() method of the source object |
| Modifier and Type | Method and Description |
|---|---|
static Converters |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Converters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Converters NOOP
public static final Converters TO_STRING
Object.toString() method of the source objectpublic static Converters[] values()
for (Converters c : Converters.values()) System.out.println(c);
public static Converters 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 nullCopyright © 2013 JBoss by Red Hat. All Rights Reserved.