This project has retired. For details please refer to its
Attic page.
ComposeStackUtil (Tiles 2 2.2.2 API)
org.apache.tiles.template
Class ComposeStackUtil
java.lang.Object
org.apache.tiles.template.ComposeStackUtil
public final class ComposeStackUtil
- extends Object
Utilities to work with compose stacks.
- Since:
- 2.2.0
- Version:
- $Rev: 797765 $ $Date: 2009-07-25 15:20:26 +0200 (sab, 25 lug 2009) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
findAncestorWithClass
public static Object findAncestorWithClass(ArrayStack<Object> composeStack,
Class<?> clazz)
- Finds the first ancestor in the stack, that is assignable to the given class.
- Parameters:
composeStack
- The compose stack to evaluate.clazz
- The class to check.
- Returns:
- The first ancestor that is assignable to the class, or null if not found.
- Since:
- 2.2.0
Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.