org.odata4j.format.json
Class JsonSimpleFormatWriter
java.lang.Object
   org.odata4j.format.json.JsonFormatWriter<SimpleResponse>
org.odata4j.format.json.JsonFormatWriter<SimpleResponse>
       org.odata4j.format.json.JsonSimpleFormatWriter
org.odata4j.format.json.JsonSimpleFormatWriter
- All Implemented Interfaces: 
- FormatWriter<SimpleResponse>
- public class JsonSimpleFormatWriter 
- extends JsonFormatWriter<SimpleResponse>
write a single value that has an EdmSimpleType type
 
 
| Methods inherited from class org.odata4j.format.json.JsonFormatWriter | 
| getContentType, getJsonpCallback, write, writeCollection, writeComplexObject, writeLinks, writeOEntity, writeOProperties, writeProperty, writeRequestLink, writeResponseLink, writeValue | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JsonSimpleFormatWriter
public JsonSimpleFormatWriter(String jsonpCallback)
writeContent
protected void writeContent(UriInfo uriInfo,
                            JsonWriter jw,
                            SimpleResponse target)
- Description copied from class: JsonFormatWriter
- A strategy method to actually write content objects
 
- 
- Specified by:
- writeContentin class- JsonFormatWriter<SimpleResponse>
 
- 
- Parameters:
- uriInfo- the base URI that indicates where in the schema we are
- jw- the JSON writer object
- target- the content value to be written
 
http://odata4j.org