public abstract class AbstractJibxLoader<T> extends Object
| Constructor and Description |
|---|
AbstractJibxLoader() |
| Modifier and Type | Method and Description |
|---|---|
T |
fromXml(String xml) |
abstract JibxMarshaller |
getMarshaller() |
T |
load(File file) |
T |
load(InputStream inputStream) |
T |
load(String filename) |
String |
toXml(T object) |
void |
write(T object,
File file) |
void |
write(T object,
OutputStream outputStream) |
void |
write(T object,
String filename) |
public abstract JibxMarshaller getMarshaller()
public T load(String filename) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionpublic T load(File file) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionpublic T load(InputStream inputStream) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionpublic void write(T object, String filename) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionpublic void write(T object, File file) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionpublic void write(T object, OutputStream outputStream) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionpublic T fromXml(String xml) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionpublic String toXml(T object) throws XmlMappingException, IOException
XmlMappingExceptionIOExceptionCopyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.