Class TreeXmlUnmarshallerFactory
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.tree.TreeXmlUnmarshallerFactory
-
public class TreeXmlUnmarshallerFactory extends java.lang.Object
Factory for the creation of a
TreeXmlUnmarshaller
.This is to ease obtaining a
TreeXmlUnmarshaller
but 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 TreeXmlUnmarshaller
createUnmarshaller(java.io.InputStream configuration)
Creates theTreeXmlUnmarshaller
from the input configuration.TreeXmlUnmarshaller
createUnmarshaller(XmlMappingMetaData configuration)
Creates theTreeXmlUnmarshaller
from the input configuration.static TreeXmlUnmarshallerFactory
getInstance()
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 theTreeXmlUnmarshaller
from the input configuration.- Parameters:
configuration
- Configuration of theTreeXmlUnmarshaller
.- Returns:
TreeXmlUnmarshaller
from the configuration.- Throws:
XmlMarshallException
- If fails to create theTreeXmlUnmarshaller
.
-
createUnmarshaller
public TreeXmlUnmarshaller createUnmarshaller(XmlMappingMetaData configuration) throws XmlMarshallException
Creates theTreeXmlUnmarshaller
from the input configuration.- Parameters:
configuration
- Configuration of theTreeXmlUnmarshaller
.- Returns:
TreeXmlUnmarshaller
from the configuration.- Throws:
XmlMarshallException
- If fails to create theTreeXmlUnmarshaller
.
-
-