public class EToken extends Object
Equivalence
.Constructor and Description |
---|
EToken() |
EToken(BasicToken basicToken)
Creates a new
EToken from the given witness token. |
EToken(Token token) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNormalizedContent()
The (normalized) content of the token.
|
Position |
getPosition()
The position of the token in its witness.
|
TokenType |
getType() |
int |
hashCode() |
void |
setNormalizedContent(String normalizedContent) |
void |
setPosition(Position position) |
void |
setType(TokenType type) |
String |
toString() |
public EToken()
public EToken(BasicToken basicToken)
EToken
from the given witness token.basicToken
- The token in a witness.public EToken(Token token)
EToken(BasicToken)
public String getNormalizedContent()
public void setNormalizedContent(String normalizedContent)
public TokenType getType()
public void setType(TokenType type)
public Position getPosition()
public void setPosition(Position position)
Copyright © 2013 TextGrid. All Rights Reserved.