|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||
java.lang.Objectjp.hishidama.html.lexer.token.Token
jp.hishidama.html.lexer.token.ListToken
jp.hishidama.html.lexer.token.TextToken
public class TextToken
HtHtmlLexerトークン(テキスト).
テキスト(複数の文字列)を保持するトークン。
| コンストラクタの概要 | |
|---|---|
TextToken()
コンストラクター. |
|
TextToken(int size)
コンストラクター. |
|
| メソッドの概要 | |
|---|---|
void |
add(WordAtom word)
文字列追加. |
TextToken |
clone()
|
void |
setText(TextToken text)
文字列設定. |
| クラス jp.hishidama.html.lexer.token.ListToken から継承されたメソッド |
|---|
add, add, calcLine, cut, cut, cutWithPreSkip, get, getLast, getTextLength, iterator, remove, set, size, writeTo, writeTo |
| クラス jp.hishidama.html.lexer.token.Token から継承されたメソッド |
|---|
getLine, getText |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public TextToken()
public TextToken(int size)
size - 内部リストの初期サイズ| メソッドの詳細 |
|---|
public TextToken clone()
throws CloneNotSupportedException
ListToken 内の cloneCloneNotSupportedExceptionpublic void add(WordAtom word)
word - 文字列public void setText(TextToken text)
内部に保持しているリストを、渡されたテキスト内のリストに置き換える。
text - テキスト
|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||