COM.hugin.HAPI
Interface ParseListener

All Known Subinterfaces:
ClassParseListener, ExpressionParseListener, NetParseListener
All Known Implementing Classes:
DefaultClassParseListener

public interface ParseListener

The ParseListener interface is a general interface for parsing Hugin NET files, Hugin case files, and strings representing Expressions.

The parse listener used when one wants to call the Domain constructor should be created by implementing the NetParseListener subclass.

The parse listener used when calling the parseClasses method of the ClassCollection class should be created by implementing the ClassParseListener subclass.

The parse listener used when parsing strings representing Expressions should be created by implementing the ExpressionParseListener subclass.


Method Summary
 void parseError(int position, java.lang.String msg)
          Handles parse errors occuring during parsing of Hugin NET files and strings representing Expressions.
 

Method Detail

parseError

public void parseError(int position,
                       java.lang.String msg)
Handles parse errors occuring during parsing of Hugin NET files and strings representing Expressions.

Parameters:
position - the position at which the parse error occurred.
msg - the parse error message generated by Hugin.