net.sourceforge.pebble.decorator
Class ReadMoreDecorator

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

public class ReadMoreDecorator
extends ContentDecoratorSupport

Adds a read more link : - when the entry is aggregated - when an excerpt is present, in the summary view

Author:
Simon Brown

Constructor Summary
ReadMoreDecorator()
           
 
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

ReadMoreDecorator

public ReadMoreDecorator()
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.