org.odata4j.format.xml
Class AtomSingleLinksFormatWriter
java.lang.Object
   org.odata4j.format.xml.AtomSingleLinksFormatWriter
org.odata4j.format.xml.AtomSingleLinksFormatWriter
- All Implemented Interfaces: 
- FormatWriter<SingleLinks>
- public class AtomSingleLinksFormatWriter 
- extends Object- implements FormatWriter<SingleLinks>
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AtomSingleLinksFormatWriter
public AtomSingleLinksFormatWriter()
getContentType
public String getContentType()
- Description copied from interface: FormatWriter
- Recover the MIME content type for the stream
 
- 
- Specified by:
- getContentTypein 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:
- writein 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