public interface

FormatWriter

org.odata4j.format.FormatWriter<T>
Known Indirect Subclasses

Class Overview

Write entities to an output stream in a particular format

Summary

Public Methods
abstract String getContentType()
Recover the MIME content type for the stream
abstract void write(UriInfo uriInfo, Writer w, T target)
Write an object to the formatted version of the stream

Public Methods

public abstract String getContentType ()

Recover the MIME content type for the stream

Returns
  • the MIME content type to be used for the content of this stream

public abstract void write (UriInfo uriInfo, Writer w, T target)

Write an object to the formatted version of the stream

Parameters
uriInfo The base uri of the entity documents
w The underlying "stream" to write to
target The object to be written