abc.parser
Class TuneParserAdapter

java.lang.Object
  extended byabc.parser.TuneParserAdapter
All Implemented Interfaces:
java.util.EventListener, TuneParserListenerInterface

public class TuneParserAdapter
extends java.lang.Object
implements TuneParserListenerInterface

An empty implementation of a tune parser listener that does nothing.


Constructor Summary
TuneParserAdapter()
           
 
Method Summary
 void invalidCharacter(InvalidCharacterEvent evt)
          Invoked when an invalid character has been parsed.
 void invalidToken(InvalidTokenEvent evt)
          Invoked when an invalid token has been parsed.
 void tuneBegin()
          Invoked when the parser reaches the beginning of a tune.
 void tuneEnd(Tune tune)
          Invoked when the parser reaches the end of a tune.
 void validToken(TokenEvent evt)
          Invoked when a valid token has been parsed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TuneParserAdapter

public TuneParserAdapter()
Method Detail

tuneBegin

public void tuneBegin()
Invoked when the parser reaches the beginning of a tune.

Specified by:
tuneBegin in interface TuneParserListenerInterface

invalidToken

public void invalidToken(InvalidTokenEvent evt)
Invoked when an invalid token has been parsed.

Specified by:
invalidToken in interface TuneParserListenerInterface
Parameters:
evt - An event describing the invalid token.

validToken

public void validToken(TokenEvent evt)
Invoked when a valid token has been parsed.

Specified by:
validToken in interface TuneParserListenerInterface
Parameters:
evt - An event describing the valid token.

invalidCharacter

public void invalidCharacter(InvalidCharacterEvent evt)
Invoked when an invalid character has been parsed.

Specified by:
invalidCharacter in interface TuneParserListenerInterface
Parameters:
evt - An event describing the invalid character.

tuneEnd

public void tuneEnd(Tune tune)
Invoked when the parser reaches the end of a tune.

Specified by:
tuneEnd in interface TuneParserListenerInterface
Parameters:
tune - The tune that has just been parsed.