Class TreeXmlMarshallerFactory
- java.lang.Object
-
- net.officefloor.plugin.xml.marshall.tree.TreeXmlMarshallerFactory
-
public class TreeXmlMarshallerFactory extends java.lang.ObjectFactory for the creation of a
TreeXmlMarshaller.This is to ease obtaining a
TreeXmlMarshallerbut 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 TreeXmlMarshallercreateMarshaller(java.io.InputStream configuration)Creates theTreeXmlMarshallerfrom the input configuration.static TreeXmlMarshallerFactorygetInstance()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 theTreeXmlMarshallerfrom the input configuration.- Parameters:
configuration- Configuration of theTreeXmlMarshaller.- Returns:
- Configured
TreeXmlMarshaller. - Throws:
XmlMarshallException- If fails to create theTreeXmlMarshaller.
-
-