org.kuali.rice.krad.service.impl
Class XmlObjectSerializerServiceImpl
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlObjectSerializerServiceImpl
public XmlObjectSerializerServiceImpl()
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 © 2005-2012 The Kuali Foundation. All Rights Reserved.