org.odata4j.format.xml
Class AtomSingleLinksFormatWriter

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

public class AtomSingleLinksFormatWriter
extends Object
implements FormatWriter<SingleLinks>


Constructor Summary
AtomSingleLinksFormatWriter()
           
 
Method Summary
 String getContentType()
          Recover the MIME content type for the stream
 void write(UriInfo uriInfo, Writer w, SingleLinks 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

AtomSingleLinksFormatWriter

public AtomSingleLinksFormatWriter()
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<SingleLinks>
Returns:
the MIME content type to be used for the content of this stream

write

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

Specified by:
write in interface FormatWriter<SingleLinks>
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