|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwox.serial.TypeMapping
wox.serial.SimpleReader
public class SimpleReader
This is a simple XML to object de-serializer. The SimpleReader class
implements ObjectReader. It reads an object from a JDOM element
and puts it back to a live Java object. The XML representation of the
object is a standard WOX representation. For more information about
the XML representation please visit: http://woxserializer.sourceforge.net/
| Field Summary |
|---|
| Fields inherited from class wox.serial.TypeMapping |
|---|
mapArrayJavaToWOX, mapArrayWOXToJava, mapJavaToWOX, mapWOXToJava |
| Fields inherited from interface wox.serial.Serial |
|---|
ARRAY, ARRAYLIST, DECLARED, ELEMENT_TYPE, ENTRY, FIELD, ID, IDREF, KEY, KEY_TYPE, LENGTH, MAP, NAME, OBJECT, primitiveArrays, primitiveArraysWOX, primitives, primitiveWrappers, TYPE, VALUE, VALUE_TYPE |
| Constructor Summary | |
|---|---|
SimpleReader()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
read(org.jdom.Element xob)
This is the only public method of SimpleReader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleReader()
| Method Detail |
|---|
public java.lang.Object read(org.jdom.Element xob)
SimpleReader.
This method reads a JDOM element (which represents the object),
and returns a live java object. The JDOM element is the object
in a standard XML representation defined by WOX.
This is the low level entry point of the WOX de-serializer.
read in interface ObjectReaderxob - The JDOM element that represents the object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||