|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simBio.serialize.SerializerFactory
public class SerializerFactory
SerializerFactory.
Method Summary | |
---|---|
static Serializer |
getSerializer(java.io.File file)
Takes an XML file as input and returns an XMLSerializer which can parse it. |
static Serializer |
getSerializer(org.xml.sax.InputSource source)
Takes an XML input source as a parameter and returns an XMLSerializer to parse the XML. |
static Serializer |
getSerializer(org.xml.sax.InputSource source,
java.lang.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(java.io.File file) throws java.io.FileNotFoundException
file
- model xml file
java.io.FileNotFoundException
public static Serializer getSerializer(org.xml.sax.InputSource source)
source
- model xml
public static Serializer getSerializer(org.xml.sax.InputSource source, java.lang.ClassLoader loader)
source
- model xmlloader
- class loader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |