|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.markup.MarkupCache
Load markup and cache it for fast retrieval. If markup file changes, it'll be automatically reloaded.
| Constructor Summary | |
MarkupCache(Application application)
Constructor. |
|
| Method Summary | |
void |
clear()
Clear markup cache and force reload of all markup data |
MarkupStream |
getMarkupStream(MarkupContainer container,
java.lang.Class clazz)
Gets a fresh markup stream that contains the (immutable) markup resource for this class. |
boolean |
hasAssociatedMarkup(MarkupContainer container,
java.lang.Class clazz)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MarkupCache(Application application)
application - | Method Detail |
public final MarkupStream getMarkupStream(MarkupContainer container,
java.lang.Class clazz)
container - The container the markup should be associated withclazz - The class to get the associated markup for. If null, the the
container's class is used, but it can be a parent class of
container as well.
public final boolean hasAssociatedMarkup(MarkupContainer container,
java.lang.Class clazz)
container - clazz -
public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||