| Modifier | Constructor and Description |
|---|---|
protected |
SimpleObject()
A readable object must have a no-args constructor
|
|
SimpleObject(int x,
java.lang.String y) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
print(ObjectPrinter<?> printer)
Prints the content of the object into an object printer
|
JsonTest.SimpleObject |
read(ObjectReader<?> reader,
java.lang.Object o)
Reads an object.
|
protected SimpleObject()
public SimpleObject(int x,
java.lang.String y)
public java.lang.Object print(ObjectPrinter<?> printer) throws PrintException
Printableprint in interface Printableprinter - The printer to print the object toPrintException - Thrown if the operation cannot be carried onpublic JsonTest.SimpleObject read(ObjectReader<?> reader, java.lang.Object o) throws ReadException
Readableread in interface Readablereader - The object readero - The printed version of the objectReadException - Thrown if the object cannot be readCopyright © Sylvain HallĂ©. All Rights Reserved.