net.sourceforge.pebble.web.view.impl
Class AtomResponsesView

java.lang.Object
  extended by net.sourceforge.pebble.web.view.View
      extended by net.sourceforge.pebble.web.view.JspView
          extended by net.sourceforge.pebble.web.view.XmlView
              extended by net.sourceforge.pebble.web.view.impl.AbstractFeedView
                  extended by net.sourceforge.pebble.web.view.impl.AtomResponsesView

public class AtomResponsesView
extends AbstractFeedView

Represents an Atom newsfeed for blog entry responses.

Author:
Simon Brown

Constructor Summary
AtomResponsesView()
           
 
Method Summary
 java.lang.String getContentType()
          Gets the content type of this view.
 java.lang.String getUri()
          Gets the URI that implements this view.
 
Methods inherited from class net.sourceforge.pebble.web.view.impl.AbstractFeedView
prepare
 
Methods inherited from class net.sourceforge.pebble.web.view.XmlView
dispatch
 
Methods inherited from class net.sourceforge.pebble.web.view.View
getModel, getServletContext, setModel, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomResponsesView

public AtomResponsesView()
Method Detail

getContentType

public java.lang.String getContentType()
Gets the content type of this view. Overidden because Atom feeds require a specific content type of "application/atom+xml".

Overrides:
getContentType in class AbstractFeedView
Returns:
the content type as a String

getUri

public java.lang.String getUri()
Gets the URI that implements this view.

Specified by:
getUri in class JspView
Returns:
the URI as a String


Copyright © 2003-2006, Simon Brown. All Rights Reserved.