public final class ComposeStackUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMPOSE_STACK_ATTRIBUTE_NAME
The name of the attribute that holds the compose stack.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String COMPOSE_STACK_ATTRIBUTE_NAME
public static Object findAncestorWithClass(Deque<Object> composeStack, Class<?> clazz)
composeStack
- The compose stack to evaluate.clazz
- The class to check.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.