|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.hishidama.html.lexer.token.Token jp.hishidama.html.lexer.token.ListToken jp.hishidama.html.lexer.token.ValueToken
public class ValueToken
HtHtmlLexerトークン(属性値).
属性値を保持するトークン。
コンストラクタの概要 | |
---|---|
ValueToken()
コンストラクター. |
メソッドの概要 | |
---|---|
ValueToken |
clone()
|
String |
getQuote1()
クォーテーション取得. |
AtomToken |
getQuote1Atom()
クォーテーション取得. |
String |
getQuote2()
クォーテーション取得. |
AtomToken |
getQuote2Atom()
クォーテーション取得. |
String |
getValue()
値取得. |
String |
getValue(boolean quote)
属性値取得. |
TextToken |
getValueToken()
値取得. |
void |
setQuote1(String s)
クォーテーション設定. |
void |
setQuote1(StringBuilder sb)
クォーテーション設定. |
void |
setQuote1Atom(AtomToken atom)
クォーテーション設定. |
void |
setQuote2(String s)
クォーテーション設定. |
void |
setQuote2(StringBuilder sb)
クォーテーション設定. |
void |
setQuote2Atom(AtomToken atom)
クォーテーション設定. |
void |
setValue(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 ValueToken()
メソッドの詳細 |
---|
public ValueToken clone() throws CloneNotSupportedException
ListToken
内の clone
CloneNotSupportedException
public void setQuote1(StringBuilder sb)
属性値の先頭のクォーテーション。
sb
- クォーテーションpublic void setQuote1(String s)
属性値の先頭のクォーテーション。
s
- クォーテーションpublic void setQuote1Atom(AtomToken atom)
属性値の先頭のクォーテーション。
atom
- クォーテーションpublic void setValue(TextToken text)
text
- 値public void setQuote2(StringBuilder sb)
属性値の末尾のクォーテーション。
sb
- クォーテーションpublic void setQuote2(String s)
属性値の末尾のクォーテーション。
s
- クォーテーションpublic void setQuote2Atom(AtomToken atom)
属性値の末尾のクォーテーション。
atom
- クォーテーションpublic String getQuote1()
属性値の先頭のクォーテーション。
public AtomToken getQuote1Atom()
属性値の先頭のクォーテーション。
public TextToken getValueToken()
public String getValue()
クォーテーションは含まれない。
public String getValue(boolean quote)
quote
- trueの場合、クォーテーションを含む。
public String getQuote2()
属性値の末尾のクォーテーション。
public AtomToken getQuote2Atom()
属性値の末尾のクォーテーション。
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |