|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simBio.serialize.SerializerFactory
public class SerializerFactory
SerializerFactory.
Method Summary | |
---|---|
static Serializer |
getSerializer(File file)
Takes an XML file as input and returns an XMLSerializer which can parse it. |
static Serializer |
getSerializer(InputSource source)
Takes an XML input source as a parameter and returns an XMLSerializer to parse the XML. |
static Serializer |
getSerializer(InputSource source,
ClassLoader loader)
Takes an XML input source and a class loader as parameters and returns an XMLSerializer to parse the XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Serializer getSerializer(File file) throws FileNotFoundException
file
- model xml file
FileNotFoundException
public static Serializer getSerializer(InputSource source)
source
- model xml
public static Serializer getSerializer(InputSource source, ClassLoader loader)
source
- model xmlloader
- class loader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |