Class TreeXmlUnmarshallerFactory
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.tree.TreeXmlUnmarshallerFactory
-
public class TreeXmlUnmarshallerFactory extends java.lang.ObjectFactory for the creation of a
TreeXmlUnmarshaller.This is to ease obtaining a
TreeXmlUnmarshallerbut if utilising office floor framework should plug-in viaTreeXmlUnmarshallerManagedObjectSource.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeXmlUnmarshallercreateUnmarshaller(java.io.InputStream configuration)Creates theTreeXmlUnmarshallerfrom the input configuration.TreeXmlUnmarshallercreateUnmarshaller(XmlMappingMetaData configuration)Creates theTreeXmlUnmarshallerfrom the input configuration.static TreeXmlUnmarshallerFactorygetInstance()Obtains the singletonTreeXmlUnmarshaller.
-
-
-
Method Detail
-
getInstance
public static TreeXmlUnmarshallerFactory getInstance()
Obtains the singletonTreeXmlUnmarshaller.- Returns:
- Singleton
TreeXmlUnmarshaller.
-
createUnmarshaller
public TreeXmlUnmarshaller createUnmarshaller(java.io.InputStream configuration) throws XmlMarshallException
Creates theTreeXmlUnmarshallerfrom the input configuration.- Parameters:
configuration- Configuration of theTreeXmlUnmarshaller.- Returns:
TreeXmlUnmarshallerfrom the configuration.- Throws:
XmlMarshallException- If fails to create theTreeXmlUnmarshaller.
-
createUnmarshaller
public TreeXmlUnmarshaller createUnmarshaller(XmlMappingMetaData configuration) throws XmlMarshallException
Creates theTreeXmlUnmarshallerfrom the input configuration.- Parameters:
configuration- Configuration of theTreeXmlUnmarshaller.- Returns:
TreeXmlUnmarshallerfrom the configuration.- Throws:
XmlMarshallException- If fails to create theTreeXmlUnmarshaller.
-
-