ch.sahits.codegen.input
Interface IXMLSerializerFactory

All Known Implementing Classes:
GeneralHeadlessXMLSerializerFactory, GeneralXMLSerializerFactory, XMLHeadlessSerializerFactory, XMLSerializerFactory

public interface IXMLSerializerFactory

This interace defines the methods of the XML Serializer factory

Since:
1.2.0
Author:
Andi Hotz

Method Summary
 GerneralHeadLessXMLSerializer getXMLDeSerializer(java.lang.String inputFile)
          Get instance of a serializer for deserializing a XML file
 GerneralHeadLessXMLSerializer getXMLSerializer(java.lang.String inputFile)
          Retrieve the XML serialisation instance that serializes the configuration for the current XML version
 

Method Detail

getXMLDeSerializer

GerneralHeadLessXMLSerializer getXMLDeSerializer(java.lang.String inputFile)
                                                 throws JDOMException,
                                                        java.io.IOException
Get instance of a serializer for deserializing a XML file

Parameters:
inputFile - path to the XML file
Returns:
De-Serializing instance
Throws:
JDOMException
java.io.IOException

getXMLSerializer

GerneralHeadLessXMLSerializer getXMLSerializer(java.lang.String inputFile)
                                               throws JDOMException,
                                                      java.io.IOException
Retrieve the XML serialisation instance that serializes the configuration for the current XML version

Parameters:
inputFile - path to the XML file
Returns:
Serializing instance
Throws:
JDOMException
java.io.IOException