@ParametersAreNonnullByDefault public abstract class AbstractProcessor extends AbstractNotifier<Processor> implements Processor
| Constructor and Description |
|---|
AbstractProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAttribute(ProxyAttribute attribute)
Handles an attribute in the current element.
|
void |
onComplete()
Handles the end of the current task.
|
void |
onEndElement()
Handles the end of the current element.
|
void |
onInitialize()
Handles the start of a task.
|
void |
onReference(ProxyReference reference)
Handles a reference from the current element to another.
|
void |
onStartElement(ProxyElement element)
Handles the start of an element.
|
addNext, addNext, notifyAttribute, notifyComplete, notifyEndElement, notifyInitialize, notifyReference, notifyStartElement, supportsMultiTargetspublic void onInitialize()
throws IOException
HandleronInitialize in interface HandlerIOExceptionHandler.onComplete(),
Notifier.notifyInitialize()public void onStartElement(ProxyElement element) throws IOException
HandleronStartElement in interface Handlerelement - the element of the new elementIOExceptionHandler.onEndElement(),
Notifier.notifyStartElement(ProxyElement)public void onAttribute(ProxyAttribute attribute) throws IOException
HandleronAttribute in interface Handlerattribute - the new attributeIOExceptionHandler.onStartElement(ProxyElement),
Notifier.notifyAttribute(ProxyAttribute)public void onReference(ProxyReference reference) throws IOException
HandleronReference in interface Handlerreference - the new referenceIOExceptionHandler.onStartElement(ProxyElement),
Notifier.notifyReference(ProxyReference)public void onEndElement()
throws IOException
HandleronEndElement in interface HandlerIOExceptionHandler.onStartElement(ProxyElement),
Notifier.notifyEndElement()public void onComplete()
throws IOException
HandleronComplete in interface HandlerIOExceptionHandler.onInitialize(),
Notifier.notifyComplete()Copyright © 2013–2019 Atlanmod. All rights reserved.