Interface XmlMarshaller

All Known Implementing Classes:
TreeXmlMarshaller

public interface XmlMarshaller
Contract to marshall XML from an object.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    marshall(Object source, XmlOutput output)
    Marshalls the source object as XML to the output.
  • Method Details

    • marshall

      void marshall(Object source, XmlOutput output) throws XmlMarshallException
      Marshalls the source object as XML to the output.
      Parameters:
      source - Object to marshall into XML.
      output - Output to send the XML.
      Throws:
      XmlMarshallException - If fails to marshall source.