View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   
6   package ca.uhn.hl7v2.model;
7   
8   import java.util.List;
9   
10  /**
11   *
12   * @author t3903uhn
13   */
14  public interface MessageVisitor {
15  
16  	void startGroup(List<Structure> thePathToGroup, AbstractGroup theGroup);
17  
18  	void endGroup(List<Structure> thePathToGroup, AbstractGroup theGroup);
19  
20  	void startSegment(List<Structure> thePathToGroup, AbstractSegment theSegment);
21  
22  	void endSegment(List<Structure> thePathToGroup, AbstractSegment theSegment);
23  
24  	void value(AbstractSegment theSegment, int theFieldNum, Type theDataType);
25  
26  }