org.kuali.common.util.xml.service
Interface XmlService

All Known Implementing Classes:
JAXBXmlService

public interface XmlService


Method Summary
<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)
           
 

Method Detail

getObject

<T> T getObject(InputStream in,
                Class<T> type)

getObject

<T> T getObject(File in,
                Class<T> type)

getObject

<T> T getObject(String location,
                Class<T> type)

getObjectFromXml

<T> T getObjectFromXml(String xml,
                       String encoding,
                       Class<T> type)

write

void write(File file,
           Object object)

write

void write(OutputStream out,
           Object object)

toXml

String toXml(Object object,
             String encoding)

toString

@Deprecated
String toString(Object object,
                           String encoding)
Deprecated. Use toXML(object,encoding) instead



Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.