Interface XmlObjectSerializerService


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

    Modifier and Type
    Method
    Description
    Retrieves an Object instance from a String of XML - unmarshals.
    toXml(Object object)
    Marshals out XML from an object instance.
  • Method Details

    • 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: