public abstract class JAXBObject<T> extends JAXBClass<T>
Modifier and Type | Field and Description |
---|---|
protected QName |
xmlRootElement |
protected QName |
xmlType |
dependencies, type
Modifier | Constructor and Description |
---|---|
protected |
JAXBObject(Class<T> type,
QName xmlRootElement,
QName xmlType,
Class<? extends JAXBClass>... dependencies) |
Modifier and Type | Method and Description |
---|---|
QName |
getXmlRootElement() |
QName |
getXmlType() |
T |
read(InputStream is) |
T |
read(InputStream is,
RuntimeContext context) |
T |
read(XMLStreamReader reader) |
T |
read(XMLStreamReader reader,
RuntimeContext context) |
abstract T |
read(XoXMLStreamReader reader,
RuntimeContext context) |
void |
write(OutputStream is,
T o) |
void |
write(OutputStream is,
T o,
RuntimeContext context) |
void |
write(XMLStreamWriter writer,
T o) |
void |
write(XMLStreamWriter writer,
T o,
RuntimeContext context) |
void |
write(XoXMLStreamWriter writer,
T o) |
abstract void |
write(XoXMLStreamWriter writer,
T o,
RuntimeContext context) |
getDependencies, getType
public QName getXmlRootElement()
public QName getXmlType()
public T read(InputStream is) throws Exception
Exception
public T read(InputStream is, RuntimeContext context) throws Exception
Exception
public T read(XMLStreamReader reader) throws Exception
Exception
public T read(XMLStreamReader reader, RuntimeContext context) throws Exception
Exception
public abstract T read(XoXMLStreamReader reader, RuntimeContext context) throws Exception
Exception
public void write(OutputStream is, T o) throws Exception
Exception
public void write(OutputStream is, T o, RuntimeContext context) throws Exception
Exception
public void write(XMLStreamWriter writer, T o) throws Exception
Exception
public void write(XMLStreamWriter writer, T o, RuntimeContext context) throws Exception
Exception
public void write(XoXMLStreamWriter writer, T o) throws Exception
Exception
public abstract void write(XoXMLStreamWriter writer, T o, RuntimeContext context) throws Exception
Exception
Copyright © 2007–2018. All rights reserved.