|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpebble.decorator.BlogEntryDecoratorSupport
de.speexx.pebble.decorator.EmoticonDecorator
Replaces Emoticon characters with <img>-elements.
Dedicated to the best wife of all Gabi.
Pattern| Constructor Summary | |
EmoticonDecorator()
|
|
| Method Summary | |
void |
decorate(pebble.decorator.BlogEntryDecoratorChain chain,
pebble.decorator.BlogEntryDecoratorContext context)
|
java.util.List |
getEmoticonsForBlog(pebble.blog.Blog blog)
Returns the emoticons. |
java.util.regex.Pattern |
getEscapeSequencePattern()
Returns the escape sequence pattern. |
void |
setBlog(pebble.blog.Blog blog)
Calls supery and inits the decorator. |
void |
setEmoticonsForBlog(pebble.blog.Blog blog,
java.util.List emoticons)
Puts a list with emoticons. |
| Methods inherited from class pebble.decorator.BlogEntryDecoratorSupport |
getBlog |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EmoticonDecorator()
| Method Detail |
public void decorate(pebble.decorator.BlogEntryDecoratorChain chain,
pebble.decorator.BlogEntryDecoratorContext context)
throws pebble.decorator.BlogEntryDecoratorException
pebble.decorator.BlogEntryDecoratorExceptionpublic void setBlog(pebble.blog.Blog blog)
supery and inits the decorator.
public java.util.regex.Pattern getEscapeSequencePattern()
public final java.util.List getEmoticonsForBlog(pebble.blog.Blog blog)
In the list are only Emoticon instances.
Note, that this method may change later to generic support upcoming with Java 5.
blog - the blog of the emoticons.
public final void setEmoticonsForBlog(pebble.blog.Blog blog,
java.util.List emoticons)
There must be only Emoticon instances in the list.
Note, that this method may change later to generic support upcoming with Java 5.
emoticons - The emoticons to set.blog - the blog of the emoticons.
java.lang.IllegalArgumentException - if there are other instance than that
of Emoticon in the list.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||