org.odata4j.format.xml
Class AtomEntryFormatWriter
java.lang.Object
org.odata4j.format.xml.XmlFormatWriter
org.odata4j.format.xml.AtomEntryFormatWriter
- All Implemented Interfaces:
- FormatWriter<EntityResponse>
public class AtomEntryFormatWriter
- extends XmlFormatWriter
- implements FormatWriter<EntityResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseUri
protected String baseUri
AtomEntryFormatWriter
public AtomEntryFormatWriter()
getContentType
public String getContentType()
- Description copied from interface:
FormatWriter
- Recover the MIME content type for the stream
- Specified by:
getContentType
in interface FormatWriter<EntityResponse>
- Returns:
- the MIME content type to be used for the content of this stream
write
public void write(UriInfo uriInfo,
Writer w,
EntityResponse target)
- Description copied from interface:
FormatWriter
- Write an object to the formatted version of the stream
- Specified by:
write
in interface FormatWriter<EntityResponse>
- Parameters:
uriInfo
- the base uri of the entity documentsw
- the underlying "stream" to write totarget
- the object to be written
writeRequestEntry
public void writeRequestEntry(Writer w,
Entry entry)
http://odata4j.org