public class CompositeTypeProcessor extends Object implements TypeProcessor<CompositeType>
| Constructor and Description |
|---|
CompositeTypeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.jettison.json.JSONObject |
processObject(Object object)
Returns an
Object which has been processed for serving by a JSON
REST resource. |
public org.codehaus.jettison.json.JSONObject processObject(Object object) throws org.codehaus.jettison.json.JSONException
TypeProcessorObject which has been processed for serving by a JSON
REST resource.
The object parameter must be the correct OpenType.
Should return either an Object or a JSONObject.processObject in interface TypeProcessor<CompositeType>object - The object to process.Object form of object.org.codehaus.jettison.json.JSONExceptionCopyright © 2017. All rights reserved.