Interface XmlWriter

All Known Implementing Classes:
AbstractTypeXmlMapping, AbstractValueXmlMapping, AbstractXmlMapping, AttributeXmlMapping, CollectionXmlMapping, ObjectXmlMapping, StaticXmlMapping, TreeXmlMarshaller, TypeXmlMapping, ValueXmlMapping

public interface XmlWriter
Writes the XML for an object.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeXml(Object object, XmlOutput output)
    Writes the XML for the input object.
  • Method Details

    • writeXml

      void writeXml(Object object, XmlOutput output) throws XmlMarshallException
      Writes the XML for the input object.
      Parameters:
      object - Object to have XML written for it.
      output - Output to write the XML.
      Throws:
      XmlMarshallException - If fails to write the object into XML.