java.lang.Object
org.media.mn8.util.textparser.Token
- Direct Known Subclasses:
- EmptyLine, Paragraph
- public abstract class Token
- extends java.lang.Object
- Version:
- $Revision: 1.8 $ $Date: 2002/07/02 01:44:41 $
|
Constructor Summary |
Token()
|
startLineNr
public int startLineNr
startColumnNr
public int startColumnNr
_nextToken
protected Token _nextToken
_previousToken
protected Token _previousToken
_firstChild
protected Token _firstChild
_value
protected java.lang.StringBuffer _value
Token
public Token()
getTokenType
public int getTokenType()
setNextToken
public void setNextToken(Token nextToken)
getNextToken
public Token getNextToken()
setPreviousToken
public void setPreviousToken(Token previousToken)
getPreviousToken
public Token getPreviousToken()
setFirstChild
public void setFirstChild(Token firstChild)
getFirstChild
public Token getFirstChild()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
toXML
public java.lang.String toXML()
getValue
public java.lang.StringBuffer getValue()