org.kuali.rice.krad.service.impl
Class XmlObjectSerializerServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.XmlObjectSerializerServiceImpl
All Implemented Interfaces:
XmlObjectSerializerService

public class XmlObjectSerializerServiceImpl
extends Object
implements XmlObjectSerializerService

This class is the service implementation for the XmlObjectSerializer structure. This is the default implementation that gets delivered with Kuali. It utilizes the XStream open source libraries and framework.


Nested Class Summary
 class XmlObjectSerializerServiceImpl.ProxyAwareJavaReflectionProvider
           
 class XmlObjectSerializerServiceImpl.ProxyConverter
          This custom converter only handles proxies for BusinessObjects.
 
Constructor Summary
XmlObjectSerializerServiceImpl()
           
 
Method Summary
 Object fromXml(String xml)
          Retrieves an Object instance from a String of XML - unmarshals.
 PersistenceService getPersistenceService()
           
 String toXml(Object object)
          Marshals out XML from an object instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlObjectSerializerServiceImpl

public XmlObjectSerializerServiceImpl()
Method Detail

toXml

public String toXml(Object object)
Description copied from interface: XmlObjectSerializerService
Marshals out XML from an object instance.

Specified by:
toXml in interface XmlObjectSerializerService
Returns:
See Also:
org.kuali.rice.krad.service.XmlObjectSerializer#toXml(java.lang.Object)

fromXml

public Object fromXml(String xml)
Description copied from interface: XmlObjectSerializerService
Retrieves an Object instance from a String of XML - unmarshals.

Specified by:
fromXml in interface XmlObjectSerializerService
Returns:
See Also:
org.kuali.rice.krad.service.XmlObjectSerializer#fromXml(java.lang.String)

getPersistenceService

public PersistenceService getPersistenceService()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.