Package net.officefloor.plugin.xml
Interface XmlMarshaller
-
- All Known Implementing Classes:
TreeXmlMarshaller
public interface XmlMarshaller
Contract to marshall XML from an object.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
marshall(java.lang.Object source, XmlOutput output)
Marshalls the source object as XML to the output.
-
-
-
Method Detail
-
marshall
void marshall(java.lang.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.
-
-