Class DesignateXmlUnmarshaller
java.lang.Object
net.officefloor.plugin.xml.unmarshall.designate.DesignateXmlUnmarshaller
XmlUnmarshaller that delegates to XML
specific XmlUnmarshaller instances.- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classMeta-data of the delegateTreeXmlUnmarshaller.protected classDefaultHandlerto designate to the delegateDefaultHandler. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterTreeXmlUnmarshaller(InputStream configuration) Registers a delegateTreeXmlUnmarshaller.unmarshall(InputStream xml) Unmarshalls the input XML returning the unmarshalled object.
-
Constructor Details
-
DesignateXmlUnmarshaller
public DesignateXmlUnmarshaller()
-
-
Method Details
-
registerTreeXmlUnmarshaller
Registers a delegateTreeXmlUnmarshaller.- Parameters:
configuration- Configuration of theTreeXmlUnmarshaller.- Throws:
XmlMarshallException- If fails to register theTreeXmlUnmarshaller.
-
unmarshall
Unmarshalls the input XML returning the unmarshalled object.- Parameters:
xml- XML.- Returns:
- Unmarshalled object.
- Throws:
XmlMarshallException- If fails to unmarshall the XML.
-