Class JsonSingleLinkFormatWriter

  extended by org.odata4j.format.json.JsonFormatWriter<SingleLink>
      extended by org.odata4j.format.json.JsonSingleLinkFormatWriter
All Implemented Interfaces:

public class JsonSingleLinkFormatWriter
extends JsonFormatWriter<SingleLink>

Constructor Summary
JsonSingleLinkFormatWriter(String jsonpCallback)
Method Summary
protected  void writeContent(UriInfo uriInfo, JsonWriter jw, SingleLink link)
          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 JsonSingleLinkFormatWriter(String jsonpCallback)
Method Detail


protected void writeContent(UriInfo uriInfo,
                            JsonWriter jw,
                            SingleLink link)
Description copied from class: JsonFormatWriter
A strategy method to actually write content objects

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