|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.decorator.ContentDecoratorSupport
net.sourceforge.pebble.decorator.ExcerptDecorator
public class ExcerptDecorator
Automatically creates an excerpt for blog entries if one doesn't already exist.
Field Summary | |
---|---|
static java.lang.String |
MAX_LENGTH_KEY
the name of the maxLength property |
Constructor Summary | |
---|---|
ExcerptDecorator()
|
Method Summary | |
---|---|
void |
decorate(ContentDecoratorContext context,
BlogEntry blogEntry)
Decorates the specified blog entry. |
void |
decorate(ContentDecoratorContext context,
StaticPage staticPage)
Decorates the specified static page. |
Methods inherited from class net.sourceforge.pebble.decorator.ContentDecoratorSupport |
---|
decorate, decorate, getBlog, setBlog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MAX_LENGTH_KEY
Constructor Detail |
---|
public ExcerptDecorator()
Method Detail |
---|
public void decorate(ContentDecoratorContext context, BlogEntry blogEntry)
decorate
in interface ContentDecorator
decorate
in class ContentDecoratorSupport
context
- the context in which the decoration is runningblogEntry
- the blog entry to be decoratedpublic void decorate(ContentDecoratorContext context, StaticPage staticPage)
decorate
in interface ContentDecorator
decorate
in class ContentDecoratorSupport
context
- the context in which the decoration is runningstaticPage
- the static page to be decorated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |