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
XmlMappingException
IOException
public T load(File file) throws XmlMappingException, IOException
XmlMappingException
IOException
public T load(InputStream inputStream) throws XmlMappingException, IOException
XmlMappingException
IOException
public void write(T object, String filename) throws XmlMappingException, IOException
XmlMappingException
IOException
public void write(T object, File file) throws XmlMappingException, IOException
XmlMappingException
IOException
public void write(T object, OutputStream outputStream) throws XmlMappingException, IOException
XmlMappingException
IOException
public T fromXml(String xml) throws XmlMappingException, IOException
XmlMappingException
IOException
public String toXml(T object) throws XmlMappingException, IOException
XmlMappingException
IOException
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.