com.jp.protection.priv.pro.parser
Interface OrderParserListener

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

public interface OrderParserListener
extends java.util.EventListener

The listener interface for receiving "interesting" events fired by order parser during parsing process.


Method Summary
 void error(OrderParser aSource, OrderParser.Error anError)
          Notifies interested parties about an error occurred during order parsing
 void parseFinished(OrderParser aSource)
          Notifies interested parties that order parsing is finished
 void parseStarted(OrderParser aSource)
          Notifies interested parties that order parsing is started
 void propertyRead(OrderParser aSource, OrderParser.PropertyValue aValue)
          Notifies interested parties about reading of a property
 

Method Detail

parseStarted

void parseStarted(OrderParser aSource)
Notifies interested parties that order parsing is started

Parameters:
aSource - an order parser

parseFinished

void parseFinished(OrderParser aSource)
Notifies interested parties that order parsing is finished

Parameters:
aSource - an order parser

propertyRead

void propertyRead(OrderParser aSource,
                  OrderParser.PropertyValue aValue)
Notifies interested parties about reading of a property

Parameters:
aSource - an order parser
aValue - a property has been read

error

void error(OrderParser aSource,
           OrderParser.Error anError)
Notifies interested parties about an error occurred during order parsing

Parameters:
aSource - an order parser
anError - an error occurred