com.sun.ws.rest.api.representation
Class AtomEntryRepresentation

java.lang.Object
  extended by com.sun.ws.rest.api.representation.Representation<com.sun.syndication.feed.atom.Entry>
      extended by com.sun.ws.rest.api.representation.AtomEntryRepresentation
All Implemented Interfaces:
Entity<com.sun.syndication.feed.atom.Entry>

public class AtomEntryRepresentation
extends Representation<com.sun.syndication.feed.atom.Entry>

Adaptor class for working with ROME Entry instances as Representations.


Constructor Summary
AtomEntryRepresentation(com.sun.syndication.feed.atom.Entry entry)
          Creates a new instance of AtomEntryRepresentation with a media type of application/atom+xml.
 
Method Summary
 
Methods inherited from class com.sun.ws.rest.api.representation.Representation
addResponseHeaders, getContent, getContentLocation, getETag, getLanguage, getLastModified, getMediaType, setContent, setContentLocation, setETag, setETag, setLanguage, setLastModified, setMediaType, setMediaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomEntryRepresentation

public AtomEntryRepresentation(com.sun.syndication.feed.atom.Entry entry)
Creates a new instance of AtomEntryRepresentation with a media type of application/atom+xml.

Parameters:
entry - Entry instance to wrap as a Representation