org.jlab.coda.jevio
Interface INameProvider

All Known Implementing Classes:
EvioXMLDictionary

public interface INameProvider

This interface must be implemented by dictionary readers. For example, a dictionary reader that parses standard CODA dictionary plain text files, or a dictionary reader that processes the xml dictionary Maurizio uses for GEMC.

Author:
heddle

Method Summary
 java.lang.String getName(BaseStructure structure)
          Returns the pretty name of some evio structure.
 

Method Detail

getName

java.lang.String getName(BaseStructure structure)
Returns the pretty name of some evio structure. Typically this is involve the use of the "tag" and, if present, "num" fields. There may also be a hierarchical dependence.

Parameters:
structure - the structure to find the name of.
Returns:
a descriptive name, e.g., "Edep".