org.odata4j.format.json
Class JsonPropertyFormatWriter

java.lang.Object
  extended by org.odata4j.format.json.JsonFormatWriter<PropertyResponse>
      extended by org.odata4j.format.json.JsonPropertyFormatWriter
All Implemented Interfaces:
FormatWriter<PropertyResponse>

public class JsonPropertyFormatWriter
extends JsonFormatWriter<PropertyResponse>


Constructor Summary
JsonPropertyFormatWriter(String jsonpCallback)
           
 
Method Summary
protected  void writeContent(UriInfo uriInfo, JsonWriter jw, PropertyResponse 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

JsonPropertyFormatWriter

public JsonPropertyFormatWriter(String jsonpCallback)
Method Detail

writeContent

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

Specified by:
writeContent in class JsonFormatWriter<PropertyResponse>
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