|
||||||||||
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.RelativeUriDecorator
public class RelativeUriDecorator
Translates relative URIs in blog entries and static pages into absolute URLs.
Constructor Summary | |
---|---|
RelativeUriDecorator()
|
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 |
Constructor Detail |
---|
public RelativeUriDecorator()
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 |