@ParametersAreNonnullByDefault public interface Notifier
Handler
s 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
IOException
notifyComplete()
,
Handler.onInitialize()
void notifyStartElement(ProxyElement element) throws IOException
element
- the element of the new elementIOException
notifyEndElement()
,
Handler.onStartElement(ProxyElement)
void notifyAttribute(ProxyAttribute attribute) throws IOException
attribute
- the new attributeIOException
Handler.onAttribute(ProxyAttribute)
void notifyReference(ProxyReference reference) throws IOException
reference
- the new referenceIOException
Handler.onReference(ProxyReference)
void notifyEndElement() throws IOException
IOException
notifyStartElement(ProxyElement)
,
Handler.onEndElement()
void notifyComplete() throws IOException
IOException
notifyInitialize()
,
Handler.onComplete()
Copyright © 2013–2019 Atlanmod. All rights reserved.