public class ElementUtils extends Object
Constructor and Description |
---|
ElementUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
findHandlerInStackByType(ExecutionContext context,
Class<?> type)
Finds a handler or element in the current stack by a specific type
This method searches from the top of the stack down to the root element.
|
static List<Object> |
findHandlersInStackByType(ExecutionContext context,
Class<?> type)
Finds list of handlers or elements in the current stack by a specific type
This method searches from the top of the stack down to the root element.
|
static void |
initialize(Element element)
Calls initialize on all objects contained in the element that implement Initializable.
|
static void |
initialize(Element parent,
Object object)
Initialize an object with the given parent Element.
|
public static void initialize(Element element)
public static void initialize(Element parent, Object object)
parent
- object
- public static Object findHandlerInStackByType(ExecutionContext context, Class<?> type)
public static List<Object> findHandlersInStackByType(ExecutionContext context, Class<?> type)
Copyright © 2013. All Rights Reserved.