public enum JavaClassInstanceOf extends java.lang.Enum<JavaClassInstanceOf>
Purpose:To provide faster alternative to instanceof.
Enum Constant and Description |
---|
JAVA_CLASS_IMPL |
OXM_JAVA_CLASS_IMPL |
OXM_JAXB_ELEMENT_IMPL |
OXM_OBJECT_FACTORY_IMPL |
XJC_JAVA_CLASS_IMPL |
Modifier and Type | Method and Description |
---|---|
static JavaClassInstanceOf |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaClassInstanceOf[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaClassInstanceOf JAVA_CLASS_IMPL
public static final JavaClassInstanceOf OXM_JAVA_CLASS_IMPL
public static final JavaClassInstanceOf OXM_JAXB_ELEMENT_IMPL
public static final JavaClassInstanceOf OXM_OBJECT_FACTORY_IMPL
public static final JavaClassInstanceOf XJC_JAVA_CLASS_IMPL
public static JavaClassInstanceOf[] values()
for (JavaClassInstanceOf c : JavaClassInstanceOf.values()) System.out.println(c);
public static JavaClassInstanceOf valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null