public class EventParser
extends java.lang.Object
Constructor and Description |
---|
EventParser() |
Modifier and Type | Method and Description |
---|---|
void |
addEvioListener(IEvioListener listener)
Add an Evio listener.
|
boolean |
isNotificationActive()
Get the flag determining whether notification of listeners is active.
|
void |
parseEvent(EvioEvent evioEvent)
This is the workhorse method for parsing the event.
|
void |
removeEvioListener(IEvioListener listener)
Remove an Evio listener.
|
void |
setEvioFilter(IEvioFilter evioFilter)
Set the global filter used for filtering structures.
|
void |
setNotificationActive(boolean notificationActive)
Set the flag determining whether notification of listeners is active.
|
public void parseEvent(EvioEvent evioEvent) throws EvioException
event.getTreeModel()
.evioEvent
- the event to parse.EvioException
public void removeEvioListener(IEvioListener listener)
listener
- The Evio listener to remove.public void addEvioListener(IEvioListener listener)
listener
- The Evio listener to add.public boolean isNotificationActive()
true
if notification of events to the listeners is active.public void setNotificationActive(boolean notificationActive)
notificationActive
- set true
if notification of events to the listeners is active.public void setEvioFilter(IEvioFilter evioFilter)
null
, the default, then all
structures will be sent to the listeners.evioFilter
- the filter to set.IEvioFilter