public class ProcessElementHandler extends Object implements ElementHandler
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultProcessImplementation |
(package private) static org.slf4j.Logger |
log |
protected ObjectFactory |
objectFactory |
protected ProcessorFactory |
processorFactory |
| Constructor and Description |
|---|
ProcessElementHandler(ObjectFactory objectFactory,
ProcessorFactory processorFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Processor> |
createNestedProcessors(IContainer container,
Element child,
Variables local,
DependencyInjection dependencyInjection) |
protected Processor |
createProcessor(IContainer container,
Element child,
Variables local,
DependencyInjection dependencyInjection) |
String |
getKey() |
void |
handleElement(ProcessContainer container,
Element element,
Variables variables,
DependencyInjection dependencyInjection) |
boolean |
handlesElement(Element element) |
static org.slf4j.Logger log
protected final ObjectFactory objectFactory
protected final ProcessorFactory processorFactory
protected final String defaultProcessImplementation
public ProcessElementHandler(ObjectFactory objectFactory, ProcessorFactory processorFactory)
public String getKey()
getKey in interface ElementHandlerElementHandler.getKey()public boolean handlesElement(Element element)
handlesElement in interface ElementHandlerElementHandler.handlesElement(org.w3c.dom.Element)public void handleElement(ProcessContainer container, Element element, Variables variables, DependencyInjection dependencyInjection) throws Exception
handleElement in interface ElementHandlerExceptionstream.runtime.ElementHandler#handleElement(stream.container.ProcessContainer
, org.w3c.dom.Element)protected Processor createProcessor(IContainer container, Element child, Variables local, DependencyInjection dependencyInjection) throws Exception
Exceptionprotected List<Processor> createNestedProcessors(IContainer container, Element child, Variables local, DependencyInjection dependencyInjection) throws Exception
container - child - variables - dependencyInjection - ExceptionCopyright © 2018. All rights reserved.