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

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

public class AtomFeedRepresentation
extends Representation<com.sun.syndication.feed.atom.Feed>

Adaptor class for working with ROME Feed instances as Representations.


Constructor Summary
AtomFeedRepresentation(com.sun.syndication.feed.atom.Feed feed)
          Creates a new instance of AtomFeedRepresentation 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

AtomFeedRepresentation

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

Parameters:
feed - Feed instance to wrap as a Representation