Class DesignateXmlUnmarshaller
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.designate.DesignateXmlUnmarshaller
-
public class DesignateXmlUnmarshaller extends java.lang.Object
XmlUnmarshaller
that delegates to XML specificXmlUnmarshaller
instances.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
DesignateXmlUnmarshaller.DelegateMetaData
Meta-data of the delegateTreeXmlUnmarshaller
.protected class
DesignateXmlUnmarshaller.DesignateHandler
DefaultHandler
to designate to the delegateDefaultHandler
.
-
Constructor Summary
Constructors Constructor Description DesignateXmlUnmarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerTreeXmlUnmarshaller(java.io.InputStream configuration)
Registers a delegateTreeXmlUnmarshaller
.java.lang.Object
unmarshall(java.io.InputStream xml)
Unmarshalls the input XML returning the unmarshalled object.
-
-
-
Method Detail
-
registerTreeXmlUnmarshaller
public void registerTreeXmlUnmarshaller(java.io.InputStream configuration) throws XmlMarshallException
Registers 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 XmlMarshallException
Unmarshalls the input XML returning the unmarshalled object.- Parameters:
xml
- XML.- Returns:
- Unmarshalled object.
- Throws:
XmlMarshallException
- If fails to unmarshall the XML.
-
-