Class TreeXmlMarshallerFactory
- java.lang.Object
-
- net.officefloor.plugin.xml.marshall.tree.TreeXmlMarshallerFactory
-
public class TreeXmlMarshallerFactory extends java.lang.Object
Factory for the creation of a
TreeXmlMarshaller
.This is to ease obtaining a
TreeXmlMarshaller
but if utilising office floor framework should plug-in viaTreeXmlMarshallerManagedObjectSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeXmlMarshaller
createMarshaller(java.io.InputStream configuration)
Creates theTreeXmlMarshaller
from the input configuration.static TreeXmlMarshallerFactory
getInstance()
Obtains the singletonTreeXmlMarshallerFactory
.
-
-
-
Method Detail
-
getInstance
public static TreeXmlMarshallerFactory getInstance()
Obtains the singletonTreeXmlMarshallerFactory
.- Returns:
- Singleton
TreeXmlMarshallerFactory
.
-
createMarshaller
public TreeXmlMarshaller createMarshaller(java.io.InputStream configuration) throws XmlMarshallException
Creates theTreeXmlMarshaller
from the input configuration.- Parameters:
configuration
- Configuration of theTreeXmlMarshaller
.- Returns:
- Configured
TreeXmlMarshaller
. - Throws:
XmlMarshallException
- If fails to create theTreeXmlMarshaller
.
-
-