Class DesignateXmlUnmarshaller
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.designate.DesignateXmlUnmarshaller
-
public class DesignateXmlUnmarshaller extends java.lang.ObjectXmlUnmarshallerthat delegates to XML specificXmlUnmarshallerinstances.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classDesignateXmlUnmarshaller.DelegateMetaDataMeta-data of the delegateTreeXmlUnmarshaller.protected classDesignateXmlUnmarshaller.DesignateHandlerDefaultHandlerto designate to the delegateDefaultHandler.
-
Constructor Summary
Constructors Constructor Description DesignateXmlUnmarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterTreeXmlUnmarshaller(java.io.InputStream configuration)Registers a delegateTreeXmlUnmarshaller.java.lang.Objectunmarshall(java.io.InputStream xml)Unmarshalls the input XML returning the unmarshalled object.
-
-
-
Method Detail
-
registerTreeXmlUnmarshaller
public void registerTreeXmlUnmarshaller(java.io.InputStream configuration) throws XmlMarshallExceptionRegisters a delegateTreeXmlUnmarshaller.- Parameters:
configuration- Configuration of theTreeXmlUnmarshaller.- Throws:
XmlMarshallException- If fails to register theTreeXmlUnmarshaller.
-
unmarshall
public java.lang.Object unmarshall(java.io.InputStream xml) throws XmlMarshallExceptionUnmarshalls the input XML returning the unmarshalled object.- Parameters:
xml- XML.- Returns:
- Unmarshalled object.
- Throws:
XmlMarshallException- If fails to unmarshall the XML.
-
-