|
JBoss XML Binding 2.0.3.GA-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.xb.builder.runtime.EnumValueAdapter
public class EnumValueAdapter
EnumValueAdapter.
Field Summary |
---|
Fields inherited from interface org.jboss.xb.binding.sunday.unmarshalling.ValueAdapter |
---|
NOOP |
Constructor Summary | |
---|---|
EnumValueAdapter(QName qName,
org.jboss.reflect.spi.EnumInfo enumInfo,
org.jboss.reflect.spi.TypeInfo enumType)
Create a new EnumValueAdapter. |
Method Summary | |
---|---|
Object |
cast(Object o,
Class<?> c)
An implementation should make sure that an object past in as the first parameter can be set as a value of a field that is of a type passed in as the second parameter |
Map<Object,Object> |
getMapping()
Get the mapping |
protected boolean |
isCaseIgnored()
Check if we should ignore case. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnumValueAdapter(QName qName, org.jboss.reflect.spi.EnumInfo enumInfo, org.jboss.reflect.spi.TypeInfo enumType)
qName
- the qNameenumInfo
- the enumerationenumType
- the enumType
IllegalArgumentException
- for a null enumInfo or enumTypeMethod Detail |
---|
protected boolean isCaseIgnored()
public Map<Object,Object> getMapping()
public Object cast(Object o, Class<?> c)
ValueAdapter
cast
in interface ValueAdapter
|
JBoss XML Binding 2.0.3.GA-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |