|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.export.FieldMarshaller
public abstract class FieldMarshaller
Used to read and write individual fields.
| Constructor Summary | |
|---|---|
FieldMarshaller()
|
|
| Method Summary | |
|---|---|
static FieldMarshaller |
getFieldMarshaller(Field field)
Retrieves a field marshaller for the specified field. |
abstract void |
readField(Field field,
String name,
Object target,
Object prototype,
Importer importer)
Reads the contents of the supplied field from the supplied importer and sets it in the object. |
abstract void |
writeField(Field field,
String name,
Object source,
Object prototype,
Exporter exporter)
Writes the contents of the supplied field in the supplied object to the exporter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldMarshaller()
| Method Detail |
|---|
public static FieldMarshaller getFieldMarshaller(Field field)
public abstract void readField(Field field,
String name,
Object target,
Object prototype,
Importer importer)
throws IOException,
IllegalAccessException
IOException
IllegalAccessException
public abstract void writeField(Field field,
String name,
Object source,
Object prototype,
Exporter exporter)
throws IOException,
IllegalAccessException
IOException
IllegalAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||