|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.decorator.ContentDecoratorSupport
public abstract class ContentDecoratorSupport
Starting point for BlogEntryDecorator implementations to extend.
Constructor Summary | |
---|---|
ContentDecoratorSupport()
|
Method Summary | |
---|---|
void |
decorate(ContentDecoratorContext context,
BlogEntry blogEntry)
Decorates the specified blog entry. |
void |
decorate(ContentDecoratorContext context,
Comment comment)
Decorates the specified comment. |
void |
decorate(ContentDecoratorContext context,
StaticPage staticPage)
Decorates the specified static page. |
void |
decorate(ContentDecoratorContext context,
TrackBack trackBack)
Decorates the specified TrackBack. |
Blog |
getBlog()
Gets the blog to which this decorator is associated. |
void |
setBlog(Blog blog)
Sets the blog to which this decorator is associated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentDecoratorSupport()
Method Detail |
---|
public Blog getBlog()
getBlog
in interface ContentDecorator
public void setBlog(Blog blog)
setBlog
in interface ContentDecorator
blog
- a Blog instancepublic void decorate(ContentDecoratorContext context, BlogEntry blogEntry)
decorate
in interface ContentDecorator
context
- the context in which the decoration is runningblogEntry
- the blog entry to be decoratedpublic void decorate(ContentDecoratorContext context, Comment comment)
decorate
in interface ContentDecorator
context
- the context in which the decoration is runningcomment
- the comment to be decoratedpublic void decorate(ContentDecoratorContext context, TrackBack trackBack)
decorate
in interface ContentDecorator
context
- the context in which the decoration is runningtrackBack
- the TrackBack to be decoratedpublic void decorate(ContentDecoratorContext context, StaticPage staticPage)
decorate
in interface ContentDecorator
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 |