public abstract class JAXBEnum<T> extends JAXBObject<T>
xmlRootElement, xmlType
dependencies, 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, write
getDependencies, getType
public abstract T parse(XoXMLStreamReader reader, RuntimeContext context, String value) throws Exception
Exception
public abstract String toString(Object bean, String paramName, RuntimeContext context, T enumConst) throws Exception
Exception
public T read(XoXMLStreamReader reader, RuntimeContext context) throws Exception
read
in class JAXBObject<T>
Exception
public void write(XoXMLStreamWriter writer, T enumConst, RuntimeContext context) throws Exception
write
in class JAXBObject<T>
Exception
Copyright © 2007–2015. All rights reserved.