Interface ResourcePropertyTransformer
-
- All Known Implementing Classes:
FieldNameResolverForData
public interface ResourcePropertyTransformer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JSONObject
transform(Resource resource, java.lang.String parentSOM)
Transform the resource into a JSONObject.
-
-
-
Method Detail
-
transform
JSONObject transform(Resource resource, java.lang.String parentSOM) throws JSONException
Transform the resource into a JSONObject.- Parameters:
resource
- Resource whose JSON representation has to be returnedparentSOM
-- Returns:
- JSON Object of the resource
- Throws:
JSONException
-
-