Class XmlObjectSerializerServiceImpl

java.lang.Object
org.kuali.rice.krad.service.impl.XmlObjectSerializerServiceImpl
All Implemented Interfaces:
XmlObjectSerializerService, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
XmlObjectSerializerIgnoreMissingFieldsServiceImpl

public class XmlObjectSerializerServiceImpl extends Object implements XmlObjectSerializerService, org.springframework.beans.factory.InitializingBean
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.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

    • lda

      protected LegacyDataAdapter lda
    • xStreamSecurityService

      protected org.kuali.rice.core.framework.security.XStreamSecurityService xStreamSecurityService
    • xstream

      protected com.thoughtworks.xstream.XStream xstream
  • Constructor Details

    • XmlObjectSerializerServiceImpl

      public XmlObjectSerializerServiceImpl()
  • Method Details

    • setLegacyDataAdapter

      public void setLegacyDataAdapter(LegacyDataAdapter lda)
    • setXStreamSecurityService

      public void setXStreamSecurityService(org.kuali.rice.core.framework.security.XStreamSecurityService xStreamSecurityService)
    • toXml

      public String toXml(Object object)
      Specified by:
      toXml in interface XmlObjectSerializerService
    • fromXml

      public Object fromXml(String xml)
      Specified by:
      fromXml in interface XmlObjectSerializerService
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean