Package net.officefloor.plugin.xml
Interface XmlMarshaller
-
- All Known Implementing Classes:
TreeXmlMarshaller
public interface XmlMarshallerContract to marshall XML from an object.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmarshall(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 XmlMarshallExceptionMarshalls 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.
-
-