public interface XmlService
Modifier and Type | Method and Description |
---|---|
<T> T |
getObject(File in,
Class<T> type) |
<T> T |
getObject(InputStream in,
Class<T> type) |
<T> T |
getObject(String location,
Class<T> type) |
<T> T |
getObjectFromXml(String xml,
String encoding,
Class<T> type) |
String |
toString(Object object,
String encoding)
Deprecated.
Use toXML(object,encoding) instead
|
String |
toXml(Object object,
String encoding) |
void |
write(File file,
Object object) |
void |
write(OutputStream out,
Object object) |
<T> T getObject(InputStream in, Class<T> type)
<T> T getObjectFromXml(String xml, String encoding, Class<T> type)
void write(OutputStream out, Object object)
@Deprecated String toString(Object object, String encoding)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.