Interface XmlUnmarshaller

All Known Implementing Classes:
FlatXmlUnmarshaller, TreeXmlUnmarshaller

public interface XmlUnmarshaller
Contract to unmarshall XML onto an object.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Unmarshalls the input xml onto the input target object.
  • Method Details

    • unmarshall

      void unmarshall(InputStream xml, Object target) throws XmlMarshallException
      Unmarshalls the input xml onto the input target object.
      Parameters:
      xml - XML to unmarshall.
      target - Target object to load XML data onto.
      Throws:
      XmlMarshallException - Should fail to load XML data onto the target object.