Package net.officefloor.plugin.xml
Interface XmlUnmarshaller
-
- All Known Implementing Classes:
FlatXmlUnmarshaller,TreeXmlUnmarshaller
public interface XmlUnmarshallerContract to unmarshall XML onto an object.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidunmarshall(java.io.InputStream xml, java.lang.Object target)Unmarshalls the input xml onto the input target object.
-
-
-
Method Detail
-
unmarshall
void unmarshall(java.io.InputStream xml, java.lang.Object target) throws XmlMarshallExceptionUnmarshalls 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.
-
-