org.oddjob.arooa.handlers
Interface ElementAction<R>
- Type Parameters:
R
- The type of thing created for the element.
- All Known Implementing Classes:
- ValueConfigurationCreator
public interface ElementAction<R>
Performs an action with an element. Typically this will
be creating a configuration node for the element.
- Author:
- rob
onElement
R onElement(ArooaElement element,
ArooaContext context)
throws ArooaElementException
- Perform an action on the given element.
- Parameters:
element
- The element.context
- The context.
- Returns:
- The thing created as a result.
- Throws:
ArooaElementException