public abstract class JAXBEnum<T> extends JAXBObject<T>
xmlRootElement, xmlTypedependencies, type| Constructor and Description |
|---|
JAXBEnum(Class<T> type,
QName xmlRootElement,
QName xmlType) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
parse(XoXMLStreamReader reader,
RuntimeContext context,
String value) |
T |
read(XoXMLStreamReader reader,
RuntimeContext context) |
abstract String |
toString(Object bean,
String paramName,
RuntimeContext context,
T enumConst) |
void |
write(XoXMLStreamWriter writer,
T enumConst,
RuntimeContext context) |
getXmlRootElement, getXmlType, read, read, read, read, write, write, write, write, writegetDependencies, getTypepublic abstract T parse(XoXMLStreamReader reader, RuntimeContext context, String value) throws Exception
Exceptionpublic abstract String toString(Object bean, String paramName, RuntimeContext context, T enumConst) throws Exception
Exceptionpublic T read(XoXMLStreamReader reader, RuntimeContext context) throws Exception
read in class JAXBObject<T>Exceptionpublic void write(XoXMLStreamWriter writer, T enumConst, RuntimeContext context) throws Exception
write in class JAXBObject<T>ExceptionCopyright © 2007–2021. All rights reserved.