|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.input.GeneralHeadlessXMLSerializerFactory
ch.sahits.codegen.ui.input.GeneralXMLSerializerFactory
ch.sahits.codegen.ui.wizards.XMLSerializerFactory
public class XMLSerializerFactory
This Serialize factory retrives an instance of a IXMLSerializer.
There are two different methods for retrieveing an IXMLSerializer instance:
For De-serialisation,
where you have an existing XML file and need the deserializer for the maching version,
and for serialisation where the configuration is stored with the most current version.
| Constructor Summary | |
|---|---|
protected |
XMLSerializerFactory()
Default constructor may only be called from whithin the class hierarchy |
| Method Summary | |
|---|---|
static XMLSerializerFactory |
getInstance()
Retrieve an instance of this factory The instance may only be called from XMLSerializerFactroryFactory |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected XMLSerializerFactory()
| Method Detail |
|---|
public static XMLSerializerFactory getInstance()
public GerneralHeadLessXMLSerializer getXMLDeSerializer(java.lang.String inputFile)
throws JDOMException,
java.io.IOException
getXMLDeSerializer in interface IXMLSerializerFactorygetXMLDeSerializer in class GeneralXMLSerializerFactoryinputFile - path to the XML file
JDOMException
java.io.IOException
public GerneralHeadLessXMLSerializer getXMLSerializer(java.lang.String inputFile)
throws JDOMException,
java.io.IOException
getXMLSerializer in interface IXMLSerializerFactorygetXMLSerializer in class GeneralXMLSerializerFactoryinputFile - path to the XML file
JDOMException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||