org.odata4j.format.json
Class JsonFeedFormatWriter
java.lang.Object
org.odata4j.format.json.JsonFormatWriter<EntitiesResponse>
org.odata4j.format.json.JsonFeedFormatWriter
- All Implemented Interfaces:
- FormatWriter<EntitiesResponse>
public class JsonFeedFormatWriter
- extends JsonFormatWriter<EntitiesResponse>
Write an RSS Feed in JSON format
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 |
JsonFeedFormatWriter
public JsonFeedFormatWriter(String jsonpCallback)
writeContent
public void writeContent(UriInfo uriInfo,
JsonWriter jw,
EntitiesResponse target)
- Description copied from class:
JsonFormatWriter
- A strategy method to actually write content objects
- Specified by:
writeContent
in class JsonFormatWriter<EntitiesResponse>
- Parameters:
uriInfo
- the base URI that indicates where in the schema we arejw
- the JSON writer objecttarget
- the content value to be written
http://odata4j.org