org.odata4j.format.xml
Class AtomRequestEntryFormatWriter

java.lang.Object
  extended by org.odata4j.format.xml.AtomRequestEntryFormatWriter
All Implemented Interfaces:
FormatWriter<Entry>

public class AtomRequestEntryFormatWriter
extends Object
implements FormatWriter<Entry>


Constructor Summary
AtomRequestEntryFormatWriter()
           
 
Method Summary
 String getContentType()
          Recover the MIME content type for the stream
 void write(UriInfo uriInfo, Writer w, Entry target)
          Write an object to the formatted version of the stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomRequestEntryFormatWriter

public AtomRequestEntryFormatWriter()
Method Detail

getContentType

public String getContentType()
Description copied from interface: FormatWriter
Recover the MIME content type for the stream

Specified by:
getContentType in interface FormatWriter<Entry>
Returns:
the MIME content type to be used for the content of this stream

write

public void write(UriInfo uriInfo,
                  Writer w,
                  Entry target)
Description copied from interface: FormatWriter
Write an object to the formatted version of the stream

Specified by:
write in interface FormatWriter<Entry>
Parameters:
uriInfo - the base uri of the entity documents
w - the underlying "stream" to write to
target - the object to be written


http://odata4j.org