org.apache.tiles.template
public final class ComposeStackUtil extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
findAncestorWithClass(ArrayStack<java.lang.Object> composeStack,
java.lang.Class<?> clazz)
Finds the first ancestor in the stack, that is assignable to the given class.
|
public static java.lang.Object findAncestorWithClass(ArrayStack<java.lang.Object> composeStack, java.lang.Class<?> clazz)
composeStack
- The compose stack to evaluate.clazz
- The class to check.