edu.swri.swiftvis.sources
Interface SpecialFormatReader.Token

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SpecialFormatReader.BracketToken, SpecialFormatReader.ConstantToken, SpecialFormatReader.IntToken, SpecialFormatReader.RealToken, SpecialFormatReader.StringToken
Enclosing class:
SpecialFormatReader

private static interface SpecialFormatReader.Token
extends java.io.Serializable


Method Summary
 SpecialFormatReader.Store getStore()
          Returns the store used by this token.
 void process()
          This function will start at the token it is called on processing it in whatever way is needed.
 void reset()
          This can be used to make sure that a token starts "processing" at the beginning.
 

Method Detail

process

void process()
             throws java.io.IOException
This function will start at the token it is called on processing it in whatever way is needed. When this function returns, a full element has been read and nextToRead is set to the

Throws:
java.io.IOException

getStore

SpecialFormatReader.Store getStore()
Returns the store used by this token.

Returns:
The store that things should go in for this token.

reset

void reset()
This can be used to make sure that a token starts "processing" at the beginning. Currently this is only really needed for the BracketToken.