org.jlab.coda.jevio
Interface IEvioListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Demo

public interface IEvioListener
extends java.util.EventListener

In SAX like behavior, implementors will listen for structures encountered when an event is parsed.

Author:
heddle

Method Summary
 void endEventParse(BaseStructure structure)
          Done parsing a new evio structure.
 void gotStructure(BaseStructure topStructure, IEvioStructure structure)
          Called when a structure is read while parsing an event.
 void startEventParse(BaseStructure structure)
          Starting to parse a new evio structure.
 

Method Detail

gotStructure

void gotStructure(BaseStructure topStructure,
                  IEvioStructure structure)
Called when a structure is read while parsing an event. NOTE: the user should NOT modify the arguments.

Parameters:
topStructure - the evio structure at the top of the search/parse
structure - the full structure, including header

startEventParse

void startEventParse(BaseStructure structure)
Starting to parse a new evio structure.

Parameters:
structure - the evio structure in question.

endEventParse

void endEventParse(BaseStructure structure)
Done parsing a new evio structure.

Parameters:
structure - the evio structure in question.