@ParametersAreNonnullByDefault public interface Notifier
Handlers of events during an I/O process.Handler| Modifier and Type | Method and Description |
|---|---|
void |
notifyAttribute(ProxyAttribute attribute)
Notifies all registered handlers of a new attribute.
|
void |
notifyComplete()
Notifies all registered handlers of the end of the current task.
|
void |
notifyEndElement()
Notifies all registered handlers of the end of the current element.
|
void |
notifyInitialize()
Notifies all registered handlers of the start of a task.
|
void |
notifyReference(ProxyReference reference)
Notifies all registered handlers of a new reference.
|
void |
notifyStartElement(ProxyElement element)
Notifies all registered handlers of the start of a new element.
|
void notifyInitialize()
throws IOException
IOExceptionnotifyComplete(),
Handler.onInitialize()void notifyStartElement(ProxyElement element) throws IOException
element - the element of the new elementIOExceptionnotifyEndElement(),
Handler.onStartElement(ProxyElement)void notifyAttribute(ProxyAttribute attribute) throws IOException
attribute - the new attributeIOExceptionHandler.onAttribute(ProxyAttribute)void notifyReference(ProxyReference reference) throws IOException
reference - the new referenceIOExceptionHandler.onReference(ProxyReference)void notifyEndElement()
throws IOException
IOExceptionnotifyStartElement(ProxyElement),
Handler.onEndElement()void notifyComplete()
throws IOException
IOExceptionnotifyInitialize(),
Handler.onComplete()Copyright © 2013–2019 Atlanmod. All rights reserved.