public abstract class AbstractHelper extends Object implements MarshallHelper
| Constructor and Description |
|---|
AbstractHelper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
renderValue(Object aObj,
JSONObject aParent,
JSONMarshall aMarshall,
HashMap aPool)
Convert an element to JSON.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseValuegetHelpedClasspublic void renderValue(Object aObj, JSONObject aParent, JSONMarshall aMarshall, HashMap aPool) throws MarshallException
MarshallHelperrenderValue in interface MarshallHelperaObj - Instance that should be rendered to JSON.aParent - The parent element where we have to put the rendered information. A helper is allowed to add
child elements.aMarshall - The marshall we can use to recursively render parts of our own object.aPool - A pool of objects already encountered. Is used to resolve references.MarshallExceptionCopyright © 2013. All Rights Reserved.