Package net.officefloor.plugin.xml
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 TypeMethodDescriptionvoidunmarshall(InputStream xml, Object target) Unmarshalls the input xml onto the input target object.
-
Method Details
-
unmarshall
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.
-