E
- is the type of the enum.public abstract class XmlAdapterEnum<E extends Enum<E>> extends XmlAdapter<String,E>
Constructor and Description |
---|
XmlAdapterEnum()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Class<E> |
getEnumClass()
This method gets the
Class reflecting the enum. |
String |
marshal(E value) |
protected String |
normalize(String enumName)
|
E |
unmarshal(String value) |
protected abstract Class<E> getEnumClass()
Class
reflecting the enum.protected String normalize(String enumName)
enumName
- is the name
.Copyright © 2001–2016 mmm-Team. All rights reserved.