|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwodka.util.Marshaller
Converts a soda model from and to xml.
Method Summary | |
static Marshaller |
current()
|
void |
marshalModel(java.io.Writer out,
Model model)
Writes a model as xml stream on the output stream. |
void |
marshalRace(java.io.Writer out,
java.util.Collection models,
java.lang.String terrain)
|
Model |
unmarshal(java.io.Reader reader)
Reads an xml from the input stream and creates a model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Marshaller current()
public void marshalModel(java.io.Writer out, Model model) throws java.io.IOException
java.io.IOException
public void marshalRace(java.io.Writer out, java.util.Collection models, java.lang.String terrain) throws java.io.IOException, org.jdom.JDOMException
java.io.IOException
org.jdom.JDOMException
public Model unmarshal(java.io.Reader reader) throws org.jdom.JDOMException
org.jdom.JDOMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |