|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.JiBXParser
public class JiBXParser
A helper class to parser xml files using the JiBX Library (http://jibx.sourceforge.net/). In order to use this class a JiBX binding definition xml file is required and an implementing java object class.
Constructor Summary | |
---|---|
JiBXParser()
|
Method Summary | |
---|---|
static java.lang.Object |
parse(java.io.File file,
java.lang.Class<?> c)
Parses the given xml file using the JiBX Library. |
static java.lang.Object |
parse(java.lang.String filename,
java.lang.Class<?> c)
Parses the given xml file using the JiBX Library. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiBXParser()
Method Detail |
---|
public static java.lang.Object parse(java.lang.String filename, java.lang.Class<?> c)
filename
- the xml file to be parsed.c
- the class to bind the xml data.
Object
of the appropriate type, as specified by the
file passed in and the JiBX bindings.public static java.lang.Object parse(java.io.File file, java.lang.Class<?> c)
file
- the xml file to be parsed.c
- the class to bind the xml data.
Object
of the appropriate type, as specified by the
file passed in and the JiBX bindings.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |