Modifier and Type | Method and Description |
---|---|
EvioEvent |
EventBuilder.getEvent()
Get the underlying event.
|
EvioEvent |
EvioReader.getEvent(int index)
Get the event in the file/buffer at a given index (starting at 1).
|
EvioEvent |
EvioReader.gotoEventNumber(int evNumber)
Go to a specific event in the file.
|
EvioEvent |
EvioReader.nextEvent()
Get the next event in the file/buffer.
|
static EvioEvent |
Utilities.nodeToEvent(EvioNode node)
This method takes an EvioNode object and converts it to an EvioEvent object.
|
EvioEvent |
EvioReader.parseEvent(int index)
This is a workhorse method.
|
EvioEvent |
EvioReader.parseNextEvent()
This is a workhorse method.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<EvioEvent> |
Utilities.toEvents(java.lang.String xmlString)
This method takes a string representation of evio events
(each starting with lt; event gt;)
and converts them to a list of EvioEvent objects.
|
static java.util.List<EvioEvent> |
Utilities.toEvents(java.lang.String xmlString,
int maxEvents,
int skip,
EvioXMLDictionary dictionary,
boolean debug)
This method takes a string representation of evio events
(each starting with lt; event gt;)
and converts them to a list of EvioEvent objects.
|
Modifier and Type | Method and Description |
---|---|
protected void |
EventParser.notifyEvioListeners(EvioEvent evioEvent,
IEvioStructure structure)
This is when a structure is encountered while parsing an event.
|
protected void |
EventParser.notifyStart(EvioEvent evioEvent)
Notify listeners we are starting to parse a new event
|
protected void |
EventParser.notifyStop(EvioEvent evioEvent)
Notify listeners we are done to parsing a new event
|
void |
EvioReader.parseEvent(EvioEvent evioEvent)
This will parse an event, SAX-like.
|
void |
EventParser.parseEvent(EvioEvent evioEvent)
This is the workhorse method for parsing the event.
|
void |
EventBuilder.setEvent(EvioEvent event)
Set the underlying event.
|
Constructor and Description |
---|
EventBuilder(EvioEvent event)
This is the constructor to use when you want to manipulate an existing event.
|