artisynth.core.util
Class ScanToken

java.lang.Object
  extended by artisynth.core.util.ScanToken
Direct Known Subclasses:
IntegerToken, ObjectToken, StringToken

public class ScanToken
extends java.lang.Object

Base class for tokens used in postscaning. Post scannning is the "second pass" used to read in ArtiSynth model components, in which items (such as component references) that could not be resolved by Scannable.scan() during the first pass are stored in a queue of tokens that are then processed in a second pass by a postscan() method.


Field Summary
static ScanToken BEGIN
           
static ScanToken END
           
 
Constructor Summary
ScanToken()
           
ScanToken(int lineno)
           
 
Method Summary
 int lineno()
           
 java.lang.String toString()
           
 java.lang.Object value()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

END

public static final ScanToken END

BEGIN

public static final ScanToken BEGIN
Constructor Detail

ScanToken

public ScanToken()

ScanToken

public ScanToken(int lineno)
Method Detail

lineno

public final int lineno()

value

public java.lang.Object value()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object