public class TextBlock extends Object
Constructor and Description |
---|
TextBlock() |
Modifier and Type | Method and Description |
---|---|
void |
addText(char[] ch,
int start,
int length) |
void |
addToken(Token token) |
String |
getText() |
List<Token> |
getTokens() |
void |
visitTokens(TokenVisitor visitor) |
public String getText()
public void addToken(Token token)
public void addText(char[] ch, int start, int length)
public void visitTokens(TokenVisitor visitor)