edu.swri.swiftvis.sources
Class SpecialFormatReader.RealToken

java.lang.Object
  extended by edu.swri.swiftvis.sources.SpecialFormatReader.RealToken
All Implemented Interfaces:
SpecialFormatReader.Token, java.io.Serializable
Enclosing class:
SpecialFormatReader

private class SpecialFormatReader.RealToken
extends java.lang.Object
implements SpecialFormatReader.Token


Field Summary
private static long serialVersionUID
           
private  SpecialFormatReader.Store store
           
private  int type
           
 
Constructor Summary
SpecialFormatReader.RealToken(java.lang.String str)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private int type

store

private SpecialFormatReader.Store store

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SpecialFormatReader.RealToken

public SpecialFormatReader.RealToken(java.lang.String str)
Method Detail

process

public void process()
             throws java.io.IOException
Description copied from interface: SpecialFormatReader.Token
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

Specified by:
process in interface SpecialFormatReader.Token
Throws:
java.io.IOException

getStore

public SpecialFormatReader.Store getStore()
Description copied from interface: SpecialFormatReader.Token
Returns the store used by this token.

Specified by:
getStore in interface SpecialFormatReader.Token
Returns:
The store that things should go in for this token.

reset

public void reset()
Description copied from interface: SpecialFormatReader.Token
This can be used to make sure that a token starts "processing" at the beginning. Currently this is only really needed for the BracketToken.

Specified by:
reset in interface SpecialFormatReader.Token