Package org.oddjob.arooa.parsing
Interface ElementHandler<P extends ParseContext<P>>
- Type Parameters:
P- The type of Parse Context.
- All Known Implementing Classes:
SimpleParseContext.CallbackElementHandler
public interface ElementHandler<P extends ParseContext<P>>
Something that is able to handle configuration events.
- Author:
- Rob Gordon.
-
Method Summary
Modifier and TypeMethodDescriptiononStartElement(ArooaElement element, P parentContext) Handles a configuration element.
-
Method Details
-
onStartElement
ParseHandle<P> onStartElement(ArooaElement element, P parentContext) throws ArooaConfigurationException Handles a configuration element.- Parameters:
element- The configuration element.parentContext- The parent ArooaContext.- Returns:
- A new ArooaContext for this element.
- Throws:
ArooaConfigurationException
-