修飾子とタイプ | フィールドと説明 |
---|---|
static int |
BUFFER_LARGE
バッファの初期容量を通常より大幅に多い目に設定します。
|
static int |
BUFFER_MIDDLE
バッファの初期容量を通常より多い目に設定します。
|
static int |
BUFFER_SMALL
バッファの初期容量を通常より若干多い目に設定します。
|
static String |
CR
システム依存の改行記号をセットします。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static String |
addURLCheckKey(String href,
String key,
String userid,
long time)
URLチェック用のキーを返します。
|
static String |
addURLCheckKey(String href,
String key,
String userid,
long time,
HybsCryptography crypt)
URLチェック用のキーを返します。
|
static String |
addUrlEncode(String url,
String encode)
URL文字列に、URLエンコード文字列を連結します。
|
static String |
addUrlEncode(String url,
String encode,
String join)
URL文字列に、URLエンコード文字列を連結します。
|
static String |
button(Attributes attri)
ボタンを作成します。
|
static String |
embedURLCheckKey(String tag,
String key,
String userid,
long time)
Aタグの文字列を解析して、href属性にURLチェック用の暗号化文字列を付加した形で、
Aタグを再構築し、返します。
|
static String |
embedURLCheckKey(String tag,
String key,
String userid,
long time,
HybsCryptography crypt)
Aタグの文字列を解析して、href属性にURLチェック用の暗号化文字列を付加した形で、
Aタグを再構築し、返します。
|
static String |
form(Attributes attri)
フォームを作成します。
|
static String |
frame(Attributes attri)
フレームタグを作成します。
|
static String |
frame(Attributes attri,
String urlEncode)
フレームタグを作成します。
|
static String |
hidden(String name,
String value)
HIDDEN フォームを作成します。
|
static String |
hidden(String name,
String value,
String id)
HIDDEN フォームを作成します。
|
static String |
iframe(Attributes attri,
String urlEncode)
インラインフレームタグを作成します。
|
static String |
img(Attributes attri)
指定位置に画像を配置します。
|
static String |
input(Attributes attri)
入力フォームを作成します。
|
static String |
input(Attributes attri,
String name,
String value,
String optAttri)
入力フォームを作成します。
|
static String |
inputAttri(Attributes attri)
入力フォームの属性情報のみの文字列を作成します。
|
static String |
link(Attributes attri)
ページリンクを作成します。
|
static String |
link(Attributes attri,
String urlEncode)
ページリンクを作成します。
|
static String |
option(Attributes attri)
オプションを作成します。
|
static String |
pre(Attributes attri)
整形済みテキスト(PRE)を作成します。
|
static String |
select(Attributes attri,
Options opt)
メニューを作成します。
|
static String |
select(Attributes attri,
Options opt,
String name,
String optAttri)
メニューを作成します。
|
static String |
selectAttri(Attributes attri)
プルダウン等のメニューの属性情報のみの文字列を作成します。
|
static String |
span(Attributes attri)
汎用インライン要素(SPAN)を作成します。
|
static String |
textarea(Attributes attri)
テキストエリアを作成します。
|
static String |
textareaAttri(Attributes attri)
テキストエリアの属性情報のみの文字列を作成します。
|
static String |
urlEncode(String[] key,
String[] val)
URLエンコード文字列を作成します。
|
static String |
urlEncode(String[] key,
String[] val,
String join)
URLエンコード文字列を作成します。
|
static String |
urlEncode(String keys,
String values)
URLエンコード文字列を作成します。
|
static String |
urlEncode(String keys,
String values,
String join)
URLエンコード文字列を作成します。
|
static String |
xlink(Attributes attri,
String urlEncode)
xlink 形式のページリンクを作成します。
|
public static final int BUFFER_SMALL
public static final int BUFFER_MIDDLE
public static final int BUFFER_LARGE
public static String button(Attributes attri)
name="名前" | オプション | LabelResource.properties のキー |
type="形式" | 必須 | submit/reset/button |
value="値" | オプション | name属性と共に送信される値 |
disabled="disabled" | オプション | ボタンを利用できない状態にする場合に指定 |
tabindex="Tab移動順" | オプション | 0~32767の範囲で数字で指定(小さい順に移動) |
accesskey="ショートカットキー" | オプション | 文字セット中の1文字:WindowsであればAltキーと同時使用 |
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
body="表示するタグ文字列" | オリジナル | 画像や文字などボタン上に表示させたいタグの文字列 |
attri
- 属性群public static String input(Attributes attri)
attri
- 属性群input( Attributes attri,String name,String value,String optAtt )
public static String input(Attributes attri, String name, String value, String optAttri)
name="名前" | オプション | LabelResource.properties のキー |
type="形式" | 必須 | text/password/checkbox/radio/submit/reset/button/image/file/hidden |
value="値" | オプション | name属性と共に送信される値 |
size="30" | オプション | inputタグの大きさ |
maxlength="50" | オプション | type属性が「text」,「password」 のときの最大文字数 |
checked="checked" | オプション | type属性が「checkbox」,「radio」 の場合に選択されている状態にする。 |
disabled="disabled" | オプション | 選択や変更の操作をできない状態にする場合に指定 |
accept="MIMEタイプ" | オプション | type属性が「file」の場合に処理可能なMIMEタイプを指定 |
tabindex="Tab移動順" | オプション | 0~32767の範囲で数字で指定(小さい順に移動) |
accesskey="ショートカットキー" | オプション | 文字セット中の1文字:WindowsであればAltキーと同時使用 |
src="URL" | オプション | type属性が「image」の場合送信ボタンの画像URLを指定 |
alt="代替文字列" | オプション | type属性が「image」の場合、画像が表示できないときの代替文字列を指定 |
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
body="表示するタグ文字列" | オリジナル | 画像や文字などボタン上に表示させたいタグの文字列 |
サポート外 | 未実装 | readonly属性、usemap属性、ismap属性、align属性 |
attri
- 属性群name
- 名前value
- 値optAttri
- オプション文字列(タグ属性定義されていない属性の登録用文字列)public static String inputAttri(Attributes attri)
attri
- 属性リストpublic static String textareaAttri(Attributes attri)
attri
- 属性リストpublic static String selectAttri(Attributes attri)
attri
- 属性リストpublic static String hidden(String name, String value)
name
- フォームの名前value
- 値5.5.4.0 (2012/07/02) ID属性追加 |
public static String hidden(String name, String value, String id)
name
- フォームの名前value
- 値id
- フォームのID5.5.4.0 (2012/07/02) ID属性追加 |
public static String textarea(Attributes attri)
name="名前" | オプション | LabelResource.properties のキー |
rows="行数" | オプション | 入力フィールドの表示行数 |
cols="幅" | オプション | 入力フィールドの表示幅(文字数) |
disabled="disabled" | オプション | 選択や変更の操作をできない状態にする場合に指定 |
tabindex="Tab移動順" | オプション | 0~32767の範囲で数字で指定(小さい順に移動) |
accesskey="ショートカットキー" | オプション | 文字セット中の1文字:WindowsであればAltキーと同時使用 |
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
value="値" | オリジナル | name属性と共に送信される値 |
body="表示するタグ文字列" | オリジナル | 画像や文字などボタン上に表示させたいタグの文字列 |
サポート外 | 未実装 | readonly属性 |
attri
- 属性群public static String link(Attributes attri)
href="URL" | 必須 | リンク先のURLを指定します。 |
charset="文字セット" | オプション | リンク先の文字コードセットを指定します。 |
hreflang="言語セット" | オプション | リンク先の基本となる言語コードを指定します。 |
type="MIMEタイプ" | オプション | リンク先のMIMEタイプを指定します。 |
name="名前" | オプション | この要素をリンクの到達点とするための名前を指定します。 |
rel="リンクタイプ" | オプション | この文書からみた href 属性で指定されるリンク先との関係 |
rev="リンクタイプ" | オプション | href 属性で指定されるリンク先からみた、この文書との関係 |
tabindex="Tab移動順" | オプション | 0~32767の範囲で数字で指定(小さい順に移動) |
accesskey="ショートカットキー" | オプション | 文字セット中の1文字:WindowsであればAltキーと同時使用 |
target="フレーム名" | オプション | リンク先のフレーム名 |
body="表示するタグ文字列" | オリジナル | 画像や文字などをリンクにできます。 |
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
サポート外 | 未実装 | shape属性、coords属性 |
attri
- 属性群public static String link(Attributes attri, String urlEncode)
attri
- 属性群urlEncode
- 文字列 ( ?key1=val1&・・・・ という文字列 無いときは "" )public static String xlink(Attributes attri, String urlEncode)
attri
- 属性群urlEncode
- 文字列 ( ?key1=val1&・・・・ という文字列 無いときは "" )public static String select(Attributes attri, Options opt)
attri
- 属性群opt
- 選択肢(オプション)public static String select(Attributes attri, Options opt, String name, String optAttri)
name="名前" | オプション | LabelResource.properties のキー |
size="行数" | オプション | select要素をリストボックスとして表示する場合の行数 |
multiple="multiple" | オプション | 選択肢の中から複数選択出来るようにする。 |
disabled="disabled" | オプション | 選択や変更の操作をできない状態にする場合に指定 |
tabindex="Tab移動順" | オプション | 0~32767の範囲で数字で指定(小さい順に移動) |
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
attri
- 属性群opt
- 選択肢(オプション)name
- 名前optAttri
- オプション属性public static String option(Attributes attri)
value="値" | オプション | 送信する値 |
selected="selected" | オプション | 選択肢をあらかじめ選択された状態にしておく |
disabled="disabled" | オプション | 選択や変更の操作をできない状態にする場合に指定 |
body="表示するタグ文字列" | オリジナル | 選択肢に表示させたいタグの文字列 |
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
attri
- 属性群public static String frame(Attributes attri)
src="URL" | オプション | フレームの表示先URLを指定します。 |
name="フレーム名" | オプション | フレームに付ける名前を指定します。 |
longdesc="URI" | オプション | フレームの詳しい説明のURI |
marginwidth="左右のマージン" | オプション | フレーム内の左右のマージンを指定します。 |
marginheight="上下のマージン" | オプション | フレーム内の上下のマージンを指定します。 |
noresize="noresize" | オプション | フレームサイズを変更できないようにします。 |
scrolling="スクロールの制御" | オプション | yes:スクロールバーを表示 no:表示しない auto:必要に応じて表示(デフォルト) |
frameborder="枠の表示" | オプション | 0:枠を表示しない 1:枠を表示する。(デフォルト) |
keys="引数にセットするキー" | オプション | URI の引数にセットするキーを CSV 形式でセットします。 |
value="引数にセットする値" | オプション | URI の引数にセットする値を CSV 形式でセットします。 |
汎用属性 | オプション | class,id,title,style |
attri
- 属性群public static String frame(Attributes attri, String urlEncode)
attri
- 属性群urlEncode
- 文字列 ( ?key1=val1&・・・・ という文字列 無いときは "" )public static String iframe(Attributes attri, String urlEncode)
attri
- 属性群urlEncode
- 文字列 ( ?key1=val1&・・・・ という文字列 無いときは "" )5.9.1.2 (2015/10/23) 新規追加 |
public static String urlEncode(String keys, String values)
keys
- URLの引数となるキー群values
- URLの引数となる値群public static String urlEncode(String keys, String values, String join)
keys
- URLの引数となるキー群values
- URLの引数となる値群join
- URLの引数群を連結させる文字列public static String urlEncode(String[] key, String[] val)
key
- URLの引数となるキーの配列val
- URLの引数となる値の配列public static String urlEncode(String[] key, String[] val, String join)
key
- URLの引数となるキーの配列val
- URLの引数となる値の配列join
- URLの引数群を連結させる文字列4.3.3.3 (2008/10/22) valに対して副作用を及ぼさないように修正 |
public static String addUrlEncode(String url, String encode)
url
- URL文字列encode
- URLエンコード文字列public static String addUrlEncode(String url, String encode, String join)
url
- URL文字列encode
- URLエンコード文字列join
- URLの引数群を連結させる文字列5.2.1.0 (2010/10/01) urlがnullの場合に、NullPointerExceptionが発生するバグを修正 |
public static String img(Attributes attri)
attri
- 属性群public static String form(Attributes attri)
action="URI" | 必須 | 送信されたフォームデータを処理するプログラムURI |
method="HTTPメソッド" | オプション | get/post |
enctype="MIMEタイプ" | オプション | フォームデータ送信時のMIMEタイプ |
accept-charset="文字セット" | オプション | データとして受付可能な文字セットの指定 |
accept="MIMEタイプ" | オプション | データとして処理可能なMIMEタイプを指定 |
name="名前" | オプション | スクリプト等から参照する場合の名前 |
target="フレーム名" | オプション | フォームを送信した結果を表示させるフレーム |
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
body="フォーム等の文字列" | 必須 | input 等のフォーム要素 |
attri
- 属性群public static String span(Attributes attri)
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
body="テキスト等の文字列" | オプション | このテキストを修飾します。 |
attri
- 属性群public static String pre(Attributes attri)
汎用属性 | オプション | class,id,title,style,lang,dir,xml:lang |
body="テキスト等の文字列" | オプション | このテキストを修飾します。 |
attri
- 属性群public static String addURLCheckKey(String href, String key, String userid, long time)
href
- チェック対象のURLkey
- チェックキーのパラメーターキーuserid
- ユーザーIDtime
- 有効時間HybsCryptography
4.3.7.1 (2009/06/08) 新規追加 |
4.3.7.4 (2009/07/01) 循環参照を解消 |
5.8.8.0 (2015/06/05) キー指定対応で別メソッドに処理を委譲 |
public static String addURLCheckKey(String href, String key, String userid, long time, HybsCryptography crypt)
href
- チェック対象のURLkey
- チェックキーのパラメーターキーuserid
- ユーザーIDtime
- 有効時間crypt
- 暗号化クラスHybsCryptography
5.8.8.0 (2015/06/05) 新規作成 |
public static String embedURLCheckKey(String tag, String key, String userid, long time)
tag
- Aタグ文字列key
- チェックキーのパラメーターキーuserid
- ユーザーIDtime
- 有効時間4.3.7.1 (2009/06/08) 新規追加 |
4.3.7.4 (2009/07/01) 循環参照を解消 |
5.8.8.0 (2015/06/05) キー指定対応で別メソッドに処理を委譲 |
public static String embedURLCheckKey(String tag, String key, String userid, long time, HybsCryptography crypt)
tag
- Aタグ文字列key
- チェックキーのパラメーターキーuserid
- ユーザーIDtime
- 有効時間crypt
- 暗号化クラス5.8.8.0 (2015/06/05) 新規作成 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.