org.kuali.rice.krad.service
Interface XmlObjectSerializerService

All Known Implementing Classes:
XmlObjectSerializerIgnoreMissingFieldsServiceImpl, XmlObjectSerializerServiceImpl

public interface XmlObjectSerializerService

This interface defines methods that an XmlObjectSerializer Service must provide. This will wrap our needs for xml to object and object to xml functionality.


Method Summary
 Object fromXml(String xml)
          Retrieves an Object instance from a String of XML - unmarshals.
 String toXml(Object object)
          Marshals out XML from an object instance.
 

Method Detail

toXml

String toXml(Object object)
Marshals out XML from an object instance.

Parameters:
object -
Returns:

fromXml

Object fromXml(String xml)
Retrieves an Object instance from a String of XML - unmarshals.

Parameters:
xml -
Returns:


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.