net.sourceforge.pebble.decorator
Class DisableCommentsDecorator

java.lang.Object
  extended by net.sourceforge.pebble.decorator.ContentDecoratorSupport
      extended by net.sourceforge.pebble.decorator.DisableCommentsDecorator
All Implemented Interfaces:
ContentDecorator

public class DisableCommentsDecorator
extends ContentDecoratorSupport

Disables comments for the blog entry.

Author:
Simon Brown

Constructor Summary
DisableCommentsDecorator()
           
 
Method Summary
 void decorate(ContentDecoratorContext context, BlogEntry blogEntry)
          Decorates the specified blog entry.
 
Methods inherited from class net.sourceforge.pebble.decorator.ContentDecoratorSupport
decorate, decorate, decorate, getBlog, setBlog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisableCommentsDecorator

public DisableCommentsDecorator()
Method Detail

decorate

public void decorate(ContentDecoratorContext context,
                     BlogEntry blogEntry)
Decorates the specified blog entry.

Specified by:
decorate in interface ContentDecorator
Overrides:
decorate in class ContentDecoratorSupport
Parameters:
context - the context in which the decoration is running
blogEntry - the blog entry to be decorated


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