Class JsonServiceDocumentFormatWriter

  extended by org.odata4j.format.json.JsonFormatWriter<EdmDataServices>
      extended by org.odata4j.format.json.JsonServiceDocumentFormatWriter
All Implemented Interfaces:

public class JsonServiceDocumentFormatWriter
extends JsonFormatWriter<EdmDataServices>

Constructor Summary
JsonServiceDocumentFormatWriter(String jsonpCallback)
Method Summary
 void writeContent(UriInfo uriInfo, JsonWriter jw, EdmDataServices target)
          A strategy method to actually write content objects
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

Constructor Detail


public JsonServiceDocumentFormatWriter(String jsonpCallback)
Method Detail


public void writeContent(UriInfo uriInfo,
                         JsonWriter jw,
                         EdmDataServices target)
Description copied from class: JsonFormatWriter
A strategy method to actually write content objects

Specified by:
writeContent in class JsonFormatWriter<EdmDataServices>
uriInfo - the base URI that indicates where in the schema we are
jw - the JSON writer object
target - the content value to be written