abc4j API Specification

scanner
Interface PositionableInCharStream

All Known Implementing Classes:
InvalidCharacterEvent, InvalidTokenEvent, PositionableMultiNote, PositionableNote, Token, TokenEvent

public interface PositionableInCharStream

Interface that should be implemented by any object that has a position in a char stream.


Method Summary
 int getLength()
          Returns the length of this positionable object.
 CharStreamPosition getPosition()
          Returns the start position.
 

Method Detail

getPosition

CharStreamPosition getPosition()
Returns the start position.

Returns:
The start position.

getLength

int getLength()
Returns the length of this positionable object.

Returns:
The length of this positionable object.

abc4j API Specification

Submit a bug or feature