edu.swri.swiftvis.sources
Class SpecialFormatReader.BracketToken
java.lang.Object
edu.swri.swiftvis.sources.SpecialFormatReader.BracketToken
- All Implemented Interfaces:
- SpecialFormatReader.Token, java.io.Serializable
- Enclosing class:
- SpecialFormatReader
private class SpecialFormatReader.BracketToken
- extends java.lang.Object
- implements SpecialFormatReader.Token
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
private SpecialFormatReader.BracketToken parent
childTokens
private java.util.Vector<SpecialFormatReader.Token> childTokens
stopType
private int stopType
stopData
private int stopData
stopStore
private SpecialFormatReader.Store stopStore
numReads
private int numReads
currentChild
private int currentChild
NO_STOP
private final int NO_STOP
- See Also:
- Constant Field Values
CONST_STOP
private final int CONST_STOP
- See Also:
- Constant Field Values
STORE_STOP
private final int STORE_STOP
- See Also:
- Constant Field Values
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
SpecialFormatReader.BracketToken
public SpecialFormatReader.BracketToken(java.lang.String str)
SpecialFormatReader.BracketToken
public SpecialFormatReader.BracketToken(SpecialFormatReader.BracketToken p,
java.lang.String str)
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
parseString
private void parseString(java.lang.String str)
findVariableStore
private SpecialFormatReader.Store findVariableStore(java.lang.String name)
stopCount
private int stopCount()
checkForNextToRead
private void checkForNextToRead()