|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.export.ObjectMarshaller
public class ObjectMarshaller
Used to read and write object fields.
| Method Summary | |
|---|---|
static ObjectMarshaller |
getObjectMarshaller(Class<?> clazz)
Retrieves or creates a marshaller for objects of the specified class. |
Object |
getPrototype()
Returns a reference to the prototype object (used to determine field defaults). |
void |
readFields(Object object,
Importer importer,
boolean useReader)
Reads the fields of an object from the specified importer. |
void |
writeFields(Object object,
Exporter exporter,
boolean useWriter)
Writes the fields of an object to the specified exporter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ObjectMarshaller getObjectMarshaller(Class<?> clazz)
public Object getPrototype()
public void readFields(Object object,
Importer importer,
boolean useReader)
throws IOException
IOException
public void writeFields(Object object,
Exporter exporter,
boolean useWriter)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||