|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.hizlab.kagetaka.token.TokenTypes
トークンのタイプを識別する定数を定義します。
フィールドの概要 | |
static int |
A_END
アンカー終了 |
static int |
A_START
アンカー開始 |
static int |
ABBR_END
ABBR 終了 |
static int |
ABBR_START
ABBR 開始 |
static int |
ACRONYM_END
ACRONYM 終了 |
static int |
ACRONYM_START
ACRONYM 開始 |
static int |
ADDRESS_END
アドレス終了 |
static int |
ADDRESS_START
アドレス開始 |
static int |
B_END
B 終了 |
static int |
B_START
B 開始 |
static int |
BASE
ベース |
static int |
BIG_END
BIG 終了 |
static int |
BIG_START
BIG 開始 |
static int |
BLOCKQUOTE_END
引用文終了 |
static int |
BLOCKQUOTE_START
引用文開始 |
static int |
BODY_END
本文終了 |
static int |
BODY_START
本文開始 |
static int |
BR
改行 |
static int |
BUTTON_END
BUTTON 終了 |
static int |
BUTTON_START
BUTTON 開始 |
static int |
CAPTION_END
CAPTION 終了 |
static int |
CAPTION_START
CAPTION 開始 |
static int |
CENTER_END
センタリング終了 |
static int |
CENTER_START
センタリング開始 |
static int |
CITE_END
CITE 終了 |
static int |
CITE_START
CITE 開始 |
static int |
CODE_END
CODE 終了 |
static int |
CODE_START
CODE 開始 |
static int |
COMMENT
コメント |
static int |
DD_END
定義の説明終了 |
static int |
DD_START
定義の説明開始 |
static int |
DFN_END
DFN 終了 |
static int |
DFN_START
DFN 開始 |
static int |
DIR_END
ディレクトリ終了 |
static int |
DIR_START
ディレクトリ開始 |
static int |
DIV_END
ブロック終了 |
static int |
DIV_START
ブロック開始 |
static int |
DL_END
定義リスト終了 |
static int |
DL_START
定義リスト開始 |
static int |
DT_END
定義語終了 |
static int |
DT_START
定義語開始 |
static int |
DTD
DTD |
static int |
EM_END
EM 終了 |
static int |
EM_START
EM 開始 |
static int |
FIELDSET_END
FIELDSET 終了 |
static int |
FIELDSET_START
FIELDSET 開始 |
static int |
FONT_END
FONT 終了 |
static int |
FONT_START
FONT 開始 |
static int |
FORM_END
FORM 終了 |
static int |
FORM_START
FORM 開始 |
static int |
FRAME
フレーム |
static int |
FRAMESET_END
フレームセット終了 |
static int |
FRAMESET_START
フレームセット開始 |
static int |
H1_END
見出し1終了 |
static int |
H1_START
見出し1開始 |
static int |
H2_END
見出し2終了 |
static int |
H2_START
見出し2開始 |
static int |
H3_END
見出し3終了 |
static int |
H3_START
見出し3開始 |
static int |
H4_END
見出し4終了 |
static int |
H4_START
見出し4開始 |
static int |
H5_END
見出し5終了 |
static int |
H5_START
見出し5開始 |
static int |
H6_END
見出し6終了 |
static int |
H6_START
見出し6開始 |
static int |
HEAD_END
ヘッダー終了 |
static int |
HEAD_START
ヘッダー開始 |
static int |
HR
線 |
static int |
HTML_END
文書終了 |
static int |
HTML_START
文書開始 |
static int |
I_END
I 終了 |
static int |
I_START
I 開始 |
static int |
IMG
イメージ |
static int |
INPUT
INPUT 開始 |
static int |
KBD_END
KBD 終了 |
static int |
KBD_START
KBD 開始 |
static int |
LABEL_END
LABEL 終了 |
static int |
LABEL_START
LABEL 開始 |
static int |
LEGEND_END
LEGEND 終了 |
static int |
LEGEND_START
LEGEND 開始 |
static int |
LI_END
リスト項目終了 |
static int |
LI_START
リスト項目開始 |
static int |
LINK
リンク情報 |
static int |
MENU_END
メニュー終了 |
static int |
MENU_START
メニュー開始 |
static int |
META
メタ情報 |
static int |
MISC
その他 |
static int |
NOFRAMES_END
フレーム無し終了 |
static int |
NOFRAMES_START
フレーム無し開始 |
static int |
NOSCRIPT_END
非スクリプト終了 |
static int |
NOSCRIPT_START
非スクリプト開始 |
static int |
OL_END
順序リスト終了 |
static int |
OL_START
順序リスト開始 |
static int |
OPTGROUP_END
OPTGROUP 終了 |
static int |
OPTGROUP_START
OPTGROUP 開始 |
static int |
OPTION_END
OPTION 終了 |
static int |
OPTION_START
OPTION 開始 |
static int |
P_END
段落終了 |
static int |
P_START
段落開始 |
static int |
PI
処理命令 |
static int |
PRE_END
整形済み段落終了 |
static int |
PRE_START
整形済み段落開始 |
static int |
Q_END
Q 終了 |
static int |
Q_START
Q 開始 |
static int |
RB_END
RB 終了 |
static int |
RB_START
RB 開始 |
static int |
RP_END
RP 終了 |
static int |
RP_START
RP 開始 |
static int |
RT_END
RT 終了 |
static int |
RT_START
RT 開始 |
static int |
RUBY_END
RUBY 終了 |
static int |
RUBY_START
RUBY 開始 |
static int |
S_END
S 終了 |
static int |
S_START
S 開始 |
static int |
SAMP_END
SAMP 終了 |
static int |
SAMP_START
SAMP 開始 |
static int |
SCRIPT_END
スクリプト終了 |
static int |
SCRIPT_START
スクリプト開始 |
static int |
SELECT_END
SELECT 終了 |
static int |
SELECT_START
SELECT 開始 |
static int |
SMALL_END
SMALL 終了 |
static int |
SMALL_START
SMALL 開始 |
static int |
SPAN_END
SPAN 終了 |
static int |
SPAN_START
SPAN 開始 |
static int |
STRIKE_END
STRIKE 終了 |
static int |
STRIKE_START
STRIKE 開始 |
static int |
STRONG_END
STRONG 終了 |
static int |
STRONG_START
STRONG 開始 |
static int |
STYLE_END
スタイル終了 |
static int |
STYLE_START
スタイル開始 |
static int |
SUB_END
SUB 終了 |
static int |
SUB_START
SUB 開始 |
static int |
SUP_END
SUP 終了 |
static int |
SUP_START
SUP 開始 |
static int |
TABLE_END
TABLE 終了 |
static int |
TABLE_START
TABLE 開始 |
static int |
TBODY_END
TBODY 終了 |
static int |
TBODY_START
TBODY 開始 |
static int |
TD_END
TD 終了 |
static int |
TD_START
TD 開始 |
static int |
TEXT
テキスト |
static int |
TEXTAREA_END
TEXTAREA 終了 |
static int |
TEXTAREA_START
TEXTAREA 開始 |
static int |
TFOOT_END
TFOOT 終了 |
static int |
TFOOT_START
TFOOT 開始 |
static int |
TH_END
TH 終了 |
static int |
TH_START
TH 開始 |
static int |
THEAD_END
THEAD 終了 |
static int |
THEAD_START
THEAD 開始 |
static int |
TITLE_END
タイトル終了 |
static int |
TITLE_START
タイトル開始 |
static int |
TR_END
TR 終了 |
static int |
TR_START
TR 開始 |
static int |
TT_END
TT 終了 |
static int |
TT_START
TT 開始 |
static int |
U_END
U 終了 |
static int |
U_START
U 開始 |
static int |
UL_END
箇条書き終了 |
static int |
UL_START
箇条書き開始 |
static int |
UNKNOWN
不明 |
static int |
VAR_END
VAR 終了 |
static int |
VAR_START
VAR 開始 |
static int |
X_BLOCK_END
仮想ブロック終了 |
static int |
X_BLOCK_START
仮想ブロック開始 |
メソッドの概要 | |
static boolean |
canHaveBlock(int type)
指定されたタイプ内に、ブロック要素を持てる場合 true を返します。 |
static boolean |
canHaveText(int type)
指定されたタイプがテキストトークンを含むことが出来る場合 true を返します。 |
static boolean |
canSetMargin(int type)
指定されたタイプが、マージンを設定できる場合 true を返します。 |
static String |
getName(int type)
指定されたタイプの文字列表現を返します。 |
static String[] |
getTraps(int type)
タグの中身を解釈せずに、トークンの中身として保存する場合に、 トークンの中身には含まないトークン名を返します。 |
static int |
getType(String name)
指定された文字列から、タイプを返します。 |
static boolean |
isBlock(int type)
指定されたタイプがブロック要素の場合は true を返します。 |
static boolean |
isBlockEx(int type)
指定されたタイプがスタイルのブロック要素として扱える場合 true を返します。 |
static boolean |
isBody(int type)
指定されたタイプが BODY 部分の場合は true を返します。 |
static boolean |
isContent(int type)
タグの中身を解釈せずに、トークンの中身として保存するかを返します。 |
static boolean |
isEmpty(int type)
指定されたタイプが空要素の場合は true を返します。 |
static boolean |
isForm(int type)
指定されたタイプがフォーム要素の場合は true を返します。 |
static boolean |
isFormItem(int type)
指定されたタイプがフォームの内部要素の場合は true を返します。 |
static boolean |
isFrame(int type)
指定されたタイプがフレーム要素の場合は true を返します。 |
static boolean |
isInline(int type)
指定されたタイプがインライン要素の場合は true を返します。 |
static boolean |
isRuby(int type)
指定されたタイプがルビ要素の場合は true を返します。 |
static boolean |
isRubyItem(int type)
指定されたタイプがルビの内部要素の場合は true を返します。 |
static boolean |
isTable(int type)
指定されたタイプがテーブル要素の場合は true を返します。 |
static boolean |
isTableItem(int type)
指定されたタイプがテーブルの内部要素の場合は true を返します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final int A_END
public static final int A_START
public static final int ABBR_END
public static final int ABBR_START
public static final int ACRONYM_END
public static final int ACRONYM_START
public static final int ADDRESS_END
public static final int ADDRESS_START
public static final int B_END
public static final int B_START
public static final int BASE
public static final int BIG_END
public static final int BIG_START
public static final int BLOCKQUOTE_END
public static final int BLOCKQUOTE_START
public static final int BODY_END
public static final int BODY_START
public static final int BR
public static final int BUTTON_END
public static final int BUTTON_START
public static final int CAPTION_END
public static final int CAPTION_START
public static final int CENTER_END
public static final int CENTER_START
public static final int CITE_END
public static final int CITE_START
public static final int CODE_END
public static final int CODE_START
public static final int COMMENT
public static final int DD_END
public static final int DD_START
public static final int DFN_END
public static final int DFN_START
public static final int DIR_END
public static final int DIR_START
public static final int DIV_END
public static final int DIV_START
public static final int DL_END
public static final int DL_START
public static final int DT_END
public static final int DT_START
public static final int DTD
public static final int EM_END
public static final int EM_START
public static final int FIELDSET_END
public static final int FIELDSET_START
public static final int FONT_END
public static final int FONT_START
public static final int FORM_END
public static final int FORM_START
public static final int FRAME
public static final int FRAMESET_END
public static final int FRAMESET_START
public static final int H1_END
public static final int H1_START
public static final int H2_END
public static final int H2_START
public static final int H3_END
public static final int H3_START
public static final int H4_END
public static final int H4_START
public static final int H5_END
public static final int H5_START
public static final int H6_END
public static final int H6_START
public static final int HEAD_END
public static final int HEAD_START
public static final int HR
public static final int HTML_END
public static final int HTML_START
public static final int I_END
public static final int I_START
public static final int IMG
public static final int INPUT
public static final int KBD_END
public static final int KBD_START
public static final int LABEL_END
public static final int LABEL_START
public static final int LEGEND_END
public static final int LEGEND_START
public static final int LI_END
public static final int LI_START
public static final int LINK
public static final int MENU_END
public static final int MENU_START
public static final int META
public static final int MISC
public static final int NOFRAMES_END
public static final int NOFRAMES_START
public static final int NOSCRIPT_END
public static final int NOSCRIPT_START
public static final int OL_END
public static final int OL_START
public static final int OPTGROUP_END
public static final int OPTGROUP_START
public static final int OPTION_END
public static final int OPTION_START
public static final int P_END
public static final int P_START
public static final int PI
public static final int PRE_END
public static final int PRE_START
public static final int Q_END
public static final int Q_START
public static final int RB_END
public static final int RB_START
public static final int RP_END
public static final int RP_START
public static final int RT_END
public static final int RT_START
public static final int RUBY_END
public static final int RUBY_START
public static final int S_END
public static final int S_START
public static final int SAMP_END
public static final int SAMP_START
public static final int SCRIPT_END
public static final int SCRIPT_START
public static final int SELECT_END
public static final int SELECT_START
public static final int SMALL_END
public static final int SMALL_START
public static final int SPAN_END
public static final int SPAN_START
public static final int STRIKE_END
public static final int STRIKE_START
public static final int STRONG_END
public static final int STRONG_START
public static final int STYLE_END
public static final int STYLE_START
public static final int SUB_END
public static final int SUB_START
public static final int SUP_END
public static final int SUP_START
public static final int TABLE_END
public static final int TABLE_START
public static final int TBODY_END
public static final int TBODY_START
public static final int TD_END
public static final int TD_START
public static final int TEXT
public static final int TEXTAREA_END
public static final int TEXTAREA_START
public static final int TFOOT_END
public static final int TFOOT_START
public static final int TH_END
public static final int TH_START
public static final int THEAD_END
public static final int THEAD_START
public static final int TITLE_END
public static final int TITLE_START
public static final int TR_END
public static final int TR_START
public static final int TT_END
public static final int TT_START
public static final int U_END
public static final int U_START
public static final int UL_END
public static final int UL_START
public static final int UNKNOWN
public static final int VAR_END
public static final int VAR_START
public static final int X_BLOCK_END
public static final int X_BLOCK_START
メソッドの詳細 |
public static boolean canHaveBlock(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean canHaveText(int type)
true
を返します。
type
- トークンタイプ
true
、
そうでない場合は false
public static boolean canSetMargin(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static String getName(int type)
type
- トークンタイプ
null
public static String[] getTraps(int type)
type
- トークンタイプ
null
の場合は対応する閉じタグまでを中身とするトークン、
それ以外の場合は、中身のトークンを解析し、
トークンの終わりとなるトークンを返すpublic static int getType(String name)
name
- 文字列
UNKNOWN
public static boolean isBlock(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isBlockEx(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isBody(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isContent(int type)
type
- トークンタイプ
true
、
通常の場合は false
public static boolean isEmpty(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isForm(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isFormItem(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isFrame(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isInline(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isRuby(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isRubyItem(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isTable(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
public static boolean isTableItem(int type)
true
を返します。
type
- トークンタイプ
true
、
それ以外の場合は false
|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'