|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.template.ComposeStackUtil
public final class ComposeStackUtil
Utilities to work with compose stacks.
Field Summary | |
---|---|
static String |
COMPOSE_STACK_ATTRIBUTE_NAME
The name of the attribute that holds the compose stack. |
Method Summary | |
---|---|
static Object |
findAncestorWithClass(Deque<Object> composeStack,
Class<?> clazz)
Finds the first ancestor in the stack, that is assignable to the given class. |
static Deque<Object> |
getComposeStack(org.apache.tiles.request.Request request)
Returns the current compose stack, or creates a new one if not present. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPOSE_STACK_ATTRIBUTE_NAME
Method Detail |
---|
public static Object findAncestorWithClass(Deque<Object> composeStack, Class<?> clazz)
composeStack
- The compose stack to evaluate.clazz
- The class to check.
public static Deque<Object> getComposeStack(org.apache.tiles.request.Request request)
request
- The request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |