94
Oracle Application Server JServlet Toolkit クイック・リファレンス リリース 4.0.8.2 2000 11 部品番号 : J01426-01

Oracle Application ServerOracle Application Server JServlet Toolkit クイック・リファレンス, リリース4.0.8.2 部品番号: J01426-01 原本名:Oracle Application Server

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

  • Oracle Application Server

    JServlet Toolkit クイック・リファレンス

    リリース 4.0.8.2

    2000年 11月

    部品番号 : J01426-01

  • Oracle Application Server JServlet Toolkit クイック・リファレンス , リリース 4.0.8.2

    部品番号 : J01426-01

    原本名:Oracle Application Server Release 4.0.8.2 JServlet Toolkit Quick Reference

    原本部品番号:A73044-03

    原本著者:Sanjay Singh

    原本協力者:Zhou Ye, Sumathi Gopalakrishnan, Ramani Jagedeba, Jerry Bortved, Jun Wang

    Copyright © 1999, 2000, Oracle Corporation. All rights reserved.

    Printed in Japan.

    制限付権利の説明

    プログラムの使用、複製または開示は、オラクル社との契約に記された制約条件に従うものとします。著作権、特許権およびその他の知的財産権に関する法律により保護されています。

    当ソフトウェア(プログラム)のリバース・エンジニアリングは禁止されております。

    このドキュメントの情報は、予告なしに変更されることがあります。オラクル社は本ドキュメントの無謬性を保証しません。

    * オラクル社とは、Oracle Corporation(米国オラクル)または日本オラクル株式会社(日本オラクル)を指します。

    危険な用途への使用について

    オラクル社製品は、原子力、航空産業、大量輸送、医療あるいはその他の危険が伴うアプリケーションを用途として開発されておりません。オラクル社製品を上述のようなアプリケーションに使用することについての安全確保は、顧客各位の責任と費用により行ってください。万一かかる用途での使用によりクレームや損害が発生いたしましても、日本オラクル株式会社と開発元である Oracle Corporation(米国オラクル)およびその関連会社は一切責任を負いかねます。 当プログラムを米国国防総省の米国政府機関に提供する際には、『Restricted Rights』と共に提供してください。この場合次の Legendが適用されます。

    Restricted Rights Legend

    Programs delivered subject to the DOD FAR Supplement are "commercial computer software" and use, duplication and disclosure of the Programs shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-14, Rights in Data -- General, including Alternate III (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065.

    このドキュメントに記載されているその他の会社名および製品名は、あくまでその製品および会社を識別する目的にのみ使用されており、それぞれの所有者の商標または登録商標です。

  • 目次概略目次概略目次概略目次概略

    oracle.htmlパッケージパッケージパッケージパッケージ .......................................................................................... 1

    oracle.OAS.servlet.httpパッケージパッケージパッケージパッケージ ..................................................................... 49

    oracle.owas.wrb.WRBパッケージパッケージパッケージパッケージ ....................................................................... 55

    oracle.OAS.Services.ICXパッケージパッケージパッケージパッケージ .................................................................. 57

    oracle.langパッケージパッケージパッケージパッケージ ......................................................................................... 59

    oracle.owas.nlsパッケージパッケージパッケージパッケージ .................................................................................. 61

    oracle.plsqlパッケージパッケージパッケージパッケージ ........................................................................................ 67

    oracle.rdbmsパッケージパッケージパッケージパッケージ ...................................................................................... 73

    クラス階層クラス階層クラス階層クラス階層 ............................................................................................................. 77

    iii

  • iv

  • 目次目次目次目次

    oracle.htmlパッケージパッケージパッケージパッケージIHAlignインタフェースインタフェースインタフェースインタフェース .......................................................................................................................................... 1IHtmlItemインタフェースインタフェースインタフェースインタフェース ...................................................................................................................................... 1ITableFrameインタフェースインタフェースインタフェースインタフェース .................................................................................................................................. 2ITableRulesインタフェースインタフェースインタフェースインタフェース ................................................................................................................................... 2ITargetインタフェースインタフェースインタフェースインタフェース ............................................................................................................................................ 3IVAlignインタフェースインタフェースインタフェースインタフェース ........................................................................................................................................... 3Addressクラスクラスクラスクラス ........................................................................................................................................................... 3Anchorクラスクラスクラスクラス ............................................................................................................................................................ 4Appletクラスクラスクラスクラス ............................................................................................................................................................. 4BaseFontクラスクラスクラスクラス ......................................................................................................................................................... 5BlockQuoteクラスクラスクラスクラス .................................................................................................................................................... 5CheckBoxクラスクラスクラスクラス ....................................................................................................................................................... 6Colorクラスクラスクラスクラス ................................................................................................................................................................ 6Commentクラスクラスクラスクラス ........................................................................................................................................................ 7CompoundItemクラスクラスクラスクラス ............................................................................................................................................. 8Containerクラスクラスクラスクラス ........................................................................................................................................................ 8DefinitionListクラスクラスクラスクラス ................................................................................................................................................ 9DirectoryListクラスクラスクラスクラス .................................................................................................................................................. 9DynamicTableクラスクラスクラスクラス ............................................................................................................................................ 10Embedクラスクラスクラスクラス .......................................................................................................................................................... 10Fontクラスクラスクラスクラス ............................................................................................................................................................... 11Formクラスクラスクラスクラス ............................................................................................................................................................. 11FormElementクラスクラスクラスクラス .............................................................................................................................................. 12Frameクラスクラスクラスクラス ........................................................................................................................................................... 13Framesetクラスクラスクラスクラス ...................................................................................................................................................... 14HeadLinkクラスクラスクラスクラス .................................................................................................................................................... 15

    v

  • Headingクラスクラスクラスクラス ....................................................................................................................................................... 15Hiddenクラスクラスクラスクラス ......................................................................................................................................................... 16HorizontalRuleクラスクラスクラスクラス .......................................................................................................................................... 16HtmlBodyクラスクラスクラスクラス .................................................................................................................................................... 16HtmlFileクラスクラスクラスクラス ...................................................................................................................................................... 17HtmlHeadクラスクラスクラスクラス ................................................................................................................................................... 18HtmlPageクラスクラスクラスクラス ..................................................................................................................................................... 19HtmlStreamクラスクラスクラスクラス ................................................................................................................................................ 21HtmlStringBufferクラスクラスクラスクラス ...................................................................................................................................... 22IHtmlItemImplクラスクラスクラスクラス .......................................................................................................................................... 23Imageクラスクラスクラスクラス ........................................................................................................................................................... 24ImageMapクラスクラスクラスクラス ................................................................................................................................................... 25ImageMapAreaクラスクラスクラスクラス .......................................................................................................................................... 25Itemクラスクラスクラスクラス .............................................................................................................................................................. 25LineBreakクラスクラスクラスクラス .................................................................................................................................................... 29Linkクラスクラスクラスクラス .............................................................................................................................................................. 30Listクラスクラスクラスクラス ................................................................................................................................................................ 30ListItemクラスクラスクラスクラス ....................................................................................................................................................... 31MenuListクラスクラスクラスクラス ..................................................................................................................................................... 32MetaInfoクラスクラスクラスクラス ...................................................................................................................................................... 32Optionクラスクラスクラスクラス .......................................................................................................................................................... 32OrderedListクラスクラスクラスクラス ................................................................................................................................................. 33Paragraphクラスクラスクラスクラス .................................................................................................................................................... 33PasswordFieldクラスクラスクラスクラス ............................................................................................................................................ 33Preformatクラスクラスクラスクラス ..................................................................................................................................................... 33Radioクラスクラスクラスクラス ............................................................................................................................................................ 34Resetクラスクラスクラスクラス ............................................................................................................................................................. 34Scriptクラスクラスクラスクラス ............................................................................................................................................................ 34Selectクラスクラスクラスクラス ............................................................................................................................................................ 35SimpleItemクラスクラスクラスクラス ................................................................................................................................................. 35Styleクラスクラスクラスクラス ............................................................................................................................................................. 36StyleElementクラスクラスクラスクラス .............................................................................................................................................. 37Submitクラスクラスクラスクラス ......................................................................................................................................................... 38Tableクラスクラスクラスクラス ............................................................................................................................................................ 38TableCellクラスクラスクラスクラス ..................................................................................................................................................... 40TableDataCellクラスクラスクラスクラス ............................................................................................................................................ 41TableHeaderCellクラスクラスクラスクラス ....................................................................................................................................... 42TableRowクラスクラスクラスクラス .................................................................................................................................................... 43

    vi

  • TableRowCellクラスクラスクラスクラス ............................................................................................................................................ 44TextAreaクラスクラスクラスクラス ...................................................................................................................................................... 44TextFieldクラスクラスクラスクラス ..................................................................................................................................................... 44UnOrderedListクラスクラスクラスクラス ........................................................................................................................................... 45XObjectクラスクラスクラスクラス ........................................................................................................................................................ 45HtmlExceptionクラスクラスクラスクラス ........................................................................................................................................... 46HtmlRuntimeExceptionクラスクラスクラスクラス ........................................................................................................................... 46HtmlInternalErrorクラスクラスクラスクラス ..................................................................................................................................... 47

    oracle.OAS.servlet.httpパッケージパッケージパッケージパッケージoracle.OAS.servlet.ServletRequest ..................................................................................................................... 49HttpSessionクラスクラスクラスクラス ................................................................................................................................................ 49InactiveSessionExceptionクラスクラスクラスクラス ........................................................................................................................ 51InvalidNameExceptionクラスクラスクラスクラス ............................................................................................................................. 51NullSessionStateExceptionクラスクラスクラスクラス ..................................................................................................................... 51ObjectLookupFailureExceptionクラスクラスクラスクラス ............................................................................................................. 51ObjectNotFoundExceptionクラスクラスクラスクラス ...................................................................................................................... 52ObjectUpdateFailureExceptionクラスクラスクラスクラス .............................................................................................................. 52SessionDestroyFailureExceptionクラスクラスクラスクラス ........................................................................................................... 52SessionExceptionクラスクラスクラスクラス ....................................................................................................................................... 52SessionLockedExceptionクラスクラスクラスクラス ......................................................................................................................... 53SessionLookupFailureExceptionクラスクラスクラスクラス ............................................................................................................ 53SessionNotFoundExceptionクラスクラスクラスクラス .................................................................................................................... 53

    oracle.owas.wrb.WRBパッケージパッケージパッケージパッケージWRBRunnableクラスクラスクラスクラス ........................................................................................................................................... 55WRBNotRunningExceptionクラスクラスクラスクラス .................................................................................................................... 55WRBRuntimeExceptionクラスクラスクラスクラス ........................................................................................................................... 55

    oracle.OAS.Services.ICXパッケージパッケージパッケージパッケージICXRequestクラスクラスクラスクラス ................................................................................................................................................. 57ICXResponseクラスクラスクラスクラス .............................................................................................................................................. 58ICXInitFailedExceptionクラスクラスクラスクラス ............................................................................................................................ 58IncompatibleWithProtocolExceptionクラスクラスクラスクラス .................................................................................................... 58

    vii

  • oracle.langパッケージパッケージパッケージパッケージNLSクラスクラスクラスクラス ............................................................................................................................................................... 59NLSRuntimeExceptionクラスクラスクラスクラス ............................................................................................................................. 60CharacterSetExceptionクラスクラスクラスクラス ............................................................................................................................. 60

    oracle.owas.nlsパッケージパッケージパッケージパッケージCharacterSetクラスクラスクラスクラス ............................................................................................................................................... 61CharacterSetManagerクラスクラスクラスクラス ............................................................................................................................... 63NLS_LANGクラスクラスクラスクラス ................................................................................................................................................ 64CharacterSetExceptionクラスクラスクラスクラス ............................................................................................................................. 65NLSRuntimeExceptionクラスクラスクラスクラス ............................................................................................................................. 65

    oracle.plsqlパッケージパッケージパッケージパッケージPBooleanクラスクラスクラスクラス ..................................................................................................................................................... 67PByteArrayクラスクラスクラスクラス .................................................................................................................................................. 67PDateクラスクラスクラスクラス ............................................................................................................................................................ 68PDoubleクラスクラスクラスクラス ....................................................................................................................................................... 68PIntegerクラスクラスクラスクラス ....................................................................................................................................................... 69PStringBufferクラスクラスクラスクラス ............................................................................................................................................. 69PValueクラスクラスクラスクラス ......................................................................................................................................................... 70NonUniformSizeExceptionクラスクラスクラスクラス ..................................................................................................................... 70NullValueExceptionクラスクラスクラスクラス ................................................................................................................................. 71PLSQLRuntimeExceptionクラスクラスクラスクラス ........................................................................................................................ 71

    oracle.rdbmsパッケージパッケージパッケージパッケージSessionクラスクラスクラスクラス ......................................................................................................................................................... 73ServerExceptionクラスクラスクラスクラス ......................................................................................................................................... 75

    クラス階層クラス階層クラス階層クラス階層

    oracle.htmlパッケージ ................................................................................................................................... 78

    oracle.html.Itemクラス .................................................................................................................................. 79

    oracle.htmlサブクラスの一部 ....................................................................................................................... 80

    oracle.OAS.servlet.httpパッケージ .............................................................................................................. 81

    oracle.owas.wrbパッケージ .......................................................................................................................... 81

    oracle.OAS.Services.ICXパッケージ ............................................................................................................ 82

    viii

  • oracle.langパッケージ ................................................................................................................................... 82

    oracle.owas.nlsパッケージ ............................................................................................................................ 83

    oracle.plsqlパッケージ .................................................................................................................................. 83

    oracle.rdbmsパッケージ ................................................................................................................................ 84

    ix

  • x

  • oracle.htmlパッケージパッケージパッケージパッケージ

    IHAlignIHAlignIHAlignIHAlignインタフェースインタフェースインタフェースインタフェース

    IHtmlItemIHtmlItemIHtmlItemIHtmlItemインタフェースインタフェースインタフェースインタフェース

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    CENTER public static final int CENTER 水平方向に中央揃えにします。

    LEFT public static final int LEFT 左側に揃えます。

    MAX public static final int MAX

    MIN public static final int MIN

    NONE public static final int NONE 水平位置合せを指定しません。

    RIGHT public static final int RIGHT 右側に揃えます。

    Str public static final String Str[] 属性値の String配列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    print public abstract void print()

    public abstract void print(OutputStream out)

    toHTML public abstract String toHTML() このオブジェクトの内容を表す HTML文字列。

    oracle.htmlパッケージ 1

  • ITableFrameインタフェース

    ITableFrameITableFrameITableFrameITableFrameインタフェースインタフェースインタフェースインタフェース

    ITableRulesITableRulesITableRulesITableRulesインタフェースインタフェースインタフェースインタフェース

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    ABOVE public static final int ABOVE フレームの上の側面を描きます。

    BELOW public static final int BELOW フレームの下の側面を描きます。

    BORDER public static final int BORDER フレームの四方すべての側面を描きます。

    BOX public static final int BOX フレームの四方すべての側面を描きます。

    HSIDES public static final int HSIDES フレームの上と下の側面を描きます。

    LHS public static final int LHS フレームの左側面を描きます。

    RHS public static final int RHS フレームの右側面を描きます。

    Str public static final String Str[] 属性値の String配列。

    VOLD public static final int VOLD フレームのどの側面も描きません。

    VSIDES public static final int VSIDES フレームの左側面と右側面を描きます。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    ALL public static final int ALL すべての行と列の間に罫線を引きます。ユーザー・エージェントは、強調のために行と列のグループの間に太い罫線を使用するように選択できます。

    BASIC public static final int BASIC THEAD、TFOOT、TBODYエレメントによって、テーブルを行のグループに分けます。これを選択すると、このような各グループ間に水平に罫線を引きます。

    COLS public static final int COLS COLSETおよび COLエレメントによって指定されたように、列のグループ間に垂直な罫線を引きます。さらに、行グループ間に水平な罫線を引きます。

    NONE public static final int NONE 内側の罫線を非表示にします。

    ROWS public static final int ROWS すべての行間に水平な罫線を引きます。ユーザー・エージェントは、行グループの間に太い罫線を使用するように選択できます。

    Str public static final String Str[] 属性値の String配列。

    2 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Addressクラス

    ITargetITargetITargetITargetインタフェースインタフェースインタフェースインタフェース

    IVAlignIVAlignIVAlignIVAlignインタフェースインタフェースインタフェースインタフェース

    AddressAddressAddressAddressクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    BLANK public static final int BLANK

    PARENT public static final int PARENT

    SELF public static final int SELF

    Str public static final String Str[]

    TOP public static final int TOP

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    BASELINE public static final int BASELINE (TableCellにのみ適用)valign=baselineになっている同一行のセルはすべて垂直に配置して、各セルの最初のテキスト行が共通のベースライン上に表示されるようにします。この制約は、これらのセル内の後続のテキスト行には適用されません。

    BOTTOM public static final int BOTTOM 一番下に揃えます。

    MAX public static final int MAX

    MIDDLE public static final int MIDDLE 垂直方向に中央に揃えます。

    MIN public static final int MIN

    NONE public static final int NONE 垂直文字位置属性を指定しません。

    Str public static final String Str[] 属性値の String配列。

    TOP public static final int TOP 一番上に揃えます。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Addressコンストラクタコンストラクタコンストラクタコンストラクタ

    public Address()

    oracle.htmlパッケージ 3

  • Anchorクラス

    AnchorAnchorAnchorAnchorクラスクラスクラスクラス

    AppletAppletAppletAppletクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Anchorコンストラクタコンストラクタコンストラクタコンストラクタ

    public Anchor(String name,IHtmlItem item)

    public Anchor(String name,String text)

    ...

    addItem public Anchor addItem(IHtmlItem item)

    name public String name() このアンカーの名前。

    setName public Anchor setName(String name)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public String toString() このオブジェクトの内容(通常の文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Appletコンストラクタコンストラクタコンストラクタコンストラクタ

    public Applet(String code,int width,int height)

    addParam public Applet addParam(String name,String value)

    setAlign public Applet setAlign(String align)

    setAltHtml public Applet setAltHtml(Item item)

    public Applet setAltHtml(Container cItems)

    setAltText public Applet setAltText(String text)

    setCode public Applet setCode(String code)

    setCodebase public Applet setCodebase(String codebase)

    setHeight public Applet setHeight(int height)

    setHSpace public Applet setHSpace(int hspace)

    4 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • BlockQuoteクラス

    BaseFontBaseFontBaseFontBaseFontクラスクラスクラスクラス

    BlockQuoteBlockQuoteBlockQuoteBlockQuoteクラスクラスクラスクラス

    setName public Applet setName(String name)

    setVSpace public Applet setVSpace(int vspace)

    setWidth public Applet setWidth(int width)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString() このオブジェクトの文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    BaseFontコンストラクタコンストラクタコンストラクタコンストラクタ

    public BaseFont(int size)

    public BaseFont(Color color,String name,int size)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    BlockQuoteコンストラクタコンストラクタコンストラクタコンストラクタ

    public BlockQuote()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 5

  • CheckBoxクラス

    CheckBoxCheckBoxCheckBoxCheckBoxクラスクラスクラスクラス

    ColorColorColorColorクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    CheckBoxコンストラクタコンストラクタコンストラクタコンストラクタ

    public CheckBox(String name,String value)

    public CheckBox(String name,String value,boolean state)

    startTag public String startTag() このオブジェクトの開始タグ。

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    aqua public static final Color aqua 水色

    black public static final Color black 黒

    blue public static final Color blue 青

    cyan public static final Color cyan シアン

    darkGray public static final Color darkGray ダーク・グレー

    fuchsia public static final Color fuchsia 赤紫

    gray public static final Color gray グレー

    green public static final Color green 緑

    lightGray public static final Color lightGray ライト・グレー

    lime public static final Color lime ライム

    magenta public static final Color magenta マジェンタ

    maroon public static final Color maroon 栗色

    navy public static final Color navy 濃紺

    olive public static final Color olive オリーブ

    orange public static final Color orange オレンジ

    pink public static final Color pink ピンク

    red public static final Color red 赤

    6 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Commentクラス

    CommentCommentCommentCommentクラスクラスクラスクラス

    silver public static final Color silver 銀

    teal public static final Color teal 暗い青緑

    white public static final Color white 白

    yellow public static final Color yellow 黄

    Colorコンストラクタコンストラクタコンストラクタコンストラクタ public Color(String rgb)

    public Color(String r,String g,String b)

    public Color(int r,int g,int b)

    public Color(Color color)

    toString public String toString() この Colorオブジェクトの文字列("#rrggbb"で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Commentコンストラクタコンストラクタコンストラクタコンストラクタ

    public Comment(String content)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 7

  • CompoundItemクラス

    CompoundItemCompoundItemCompoundItemCompoundItemクラスクラスクラスクラス

    ContainerContainerContainerContainerクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    INITIAL_CAPACITY

    public static final int INITIAL_CAPACITY

    CompoundItemコンストラクタコンストラクタコンストラクタコンストラクタ

    public CompoundItem()

    public CompoundItem(int initCapacity)

    addItem public synchronized CompoundItem addItem(IHtmlItem item)

    public synchronized CompoundItem addItem(String string)

    this

    itemAt public synchronized IHtmlItem itemAt(int index)

    指定した位置に存在する項目。

    items public synchronized Enumeration items()

    setItemAt public synchronized CompoundItem setItemAt(

    IHtmlItem item,int index)

    this

    size public int size() このオブジェクトの項目数。

    toHTML public synchronized String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString() このオブジェクトの文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Containerコンストラクタコンストラクタコンストラクタコンストラクタ

    public Container()

    public Container(int initCapacity)

    addItem public synchronized Container addItem(IHtmlItem item)

    public synchronized Container addItem(String str)

    this

    itemAt public synchronized IHtmlItem itemAt(int index)

    指定した位置に存在する項目。

    items public synchronized Enumeration items()

    8 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • DirectoryListクラス

    DefinitionListDefinitionListDefinitionListDefinitionListクラスクラスクラスクラス

    DirectoryListDirectoryListDirectoryListDirectoryListクラスクラスクラスクラス

    setItemAt public synchronized Container setItemAt(

    IHtmlItem item,int index)

    this

    size public int size() この Containerオブジェクトの項目数。

    toHTML public synchronized String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString() このオブジェクトの文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    DefinitionListコンストラクタコンストラクタコンストラクタコンストラクタ

    public DefinitionList()

    public DefinitionList(boolean compact)

    addDef public DefinitionList addDef(IHtmlItem defterm,IHtmlItem def

    public DefinitionList addDef(Container defterms,IHtmlItem defn)

    this

    toHTML public String toHTML()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    DirectoryListコンストラクタコンストラクタコンストラクタコンストラクタ

    public DirectoryList()

    public DirectoryList(boolean compact)

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 9

  • DynamicTableクラス

    DynamicTableDynamicTableDynamicTableDynamicTableクラスクラスクラスクラス

    EmbedEmbedEmbedEmbedクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    DynamicTableコンストラクタコンストラクタコンストラクタコンストラクタ

    public DynamicTable(int cols)

    addRow public DynamicTable addRow()

    public DynamicTable addRow(int numRows)

    public DynamicTable addRow(TableRow row)

    getNumRows public int getNumRows() この動的テーブルの現在の行数。

    setCellAt public DynamicTable setCellAt(int col_num,int row_num,SimpleItem item)

    toHTML public synchronized String toHTML() この動的テーブルの内容(HTML文字列で)。

    toString public synchronized String toString() この動的テーブルの内容(通常の文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Embedコンストラクタコンストラクタコンストラクタコンストラクタ public Embed(String src,int width,int height)

    addParam public Embed addParam(String name,String value)

    this

    setHeight, setWidth public Embed setHeight(int height)

    public Embed setWidth(int width)

    this

    setSrc public Embed setSrc(String src) this

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString()

    10 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Formクラス

    FontFontFontFontクラスクラスクラスクラス

    FormFormFormFormクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Fontコンストラクタコンストラクタコンストラクタコンストラクタ public Font(int size)

    public Font(String size)

    public Font(Color color,String name,int size

    public Font(Color color,String name,String size)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Formコンストラクタコンストラクタコンストラクタコンストラクタ public Form(String method,String action)

    public Form(String method,String action,String target)

    public Form(String method,String action,String target,String enctype)

    toString public synchronized String toString() このオブジェクトの文字列。

    oracle.htmlパッケージ 11

  • FormElementクラス

    FormElementFormElementFormElementFormElementクラスクラスクラスクラス名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    TYPE_CHECKBOX public static final int TYPE_CHECKBOX

    TYPE_FILE public static final int TYPE_FILE

    TYPE_HIDDEN public static final int TYPE_HIDDEN

    TYPE_IMAGE public static final int TYPE_IMAGE

    TYPE_PASSWORD public static final int TYPE_PASSWORD

    TYPE_RADIO public static final int TYPE_RADIO

    TYPE_RESET public static final int TYPE_RESET

    TYPE_SUBMIT public static final int TYPE_SUBMIT

    TYPE_TEXTFIELD public static final int TYPE_TEXTFIELD

    FormElementコンストラクタコンストラクタコンストラクタコンストラクタ

    public FormElement(int type)

    public FormElement(String type)

    public FormElement(int type,String name,String value,boolean checked,int size,int maxlength,String src,String align,String accept)

    public FormElement(String type,String name,String value,boolean checked,int size,int maxlength,String src,String align,String accept)

    setAccept public FormElement setAccept(String accept)

    this

    12 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Frameクラス

    FrameFrameFrameFrameクラスクラスクラスクラス

    setAlign public FormElement setAlign(String align)

    this

    setDefaultCheckValue public FormElement setDefaultCheckValue(boolean val)

    this

    setDefaultValue public FormElement setDefaultValue(String val)

    this

    setMaxLength public FormElement setMaxLength(int maxlength)

    this

    setName public FormElement setName(String name)

    this

    setSize public FormElement setSize(int size) this

    setSrcURL public FormElement setSrcURL(String url)

    this

    toHTML public String toHTML()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Frameコンストラクタコンストラクタコンストラクタコンストラクタ public Frame(String src)

    public Frame(String src,String name)

    public Frame(String src,String name,int marginWidth,int marginHeight,String scrolling,boolean noresize)

    setMarginHeight public Frame setMarginHeight(int marginHeight)

    setMarginWidth public Frame setMarginWidth(int marginWidth)

    setName public Frame setName(String name)

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 13

  • Framesetクラス

    FramesetFramesetFramesetFramesetクラスクラスクラスクラス

    setNoResize public Frame setNoResize(boolean noresize)

    setScrolling public Frame setScrolling(String scrolling)

    setSrc public Frame setSrc(String src)

    toHTML public String toHTML() フレームの内容(HTML文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Framesetコンストラクタコンストラクタコンストラクタコンストラクタ

    public Frameset()

    public Frameset(String rows,String cols)

    public Frameset(String rows,String cols,CompoundItem altHtml,Container frames)

    addFrame public Frameset addFrame(Frame frame)

    setAltHtml public Frameset setAltHtml(SimpleItem altHtml)

    public Frameset setAltHtml(CompoundItem altHtml)

    setCols, public Frameset setCols(String cols)

    setRows public Frameset setRows(String rows)

    toHTML public String toHTML() フレームセットの内容(HTML文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    14 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Headingクラス

    HeadLinkHeadLinkHeadLinkHeadLinkクラスクラスクラスクラス

    HeadingHeadingHeadingHeadingクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    HeadLinkコンストラクタコンストラクタコンストラクタコンストラクタ

    public HeadLink(String href,String rel)

    public HeadLink(String href,String rel,String rev,String title,String type)

    toHTML public synchronized String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Headingコンストラクタコンストラクタコンストラクタコンストラクタ

    public Heading(int heading,String str)

    public Heading(int heading,IHtmlItem item)

    public Heading(int heading,String align,String str)

    public Heading(int heading,String align,IHtmlItem item)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public String toString() このオブジェクトの文字列。

    oracle.htmlパッケージ 15

  • Hiddenクラス

    HiddenHiddenHiddenHiddenクラスクラスクラスクラス

    HorizontalRuleHorizontalRuleHorizontalRuleHorizontalRuleクラスクラスクラスクラス

    HtmlBodyHtmlBodyHtmlBodyHtmlBodyクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Hiddenコンストラクタコンストラクタコンストラクタコンストラクタ

    public Hidden(String nm,String val)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    HorizontalRuleコンストラクタコンストラクタコンストラクタコンストラクタ

    public HorizontalRule(String align,boolean noShade,int size,String width)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    HtmlBodyコンストラクタコンストラクタコンストラクタコンストラクタ public HtmlBody()

    public HtmlBody(String bimg,String bcolor,String fcolor,String flinkcolor,String uflinkcolor,String alinkcolor)

    addItem public HtmlBody addItem(Container containerItem)

    setActivatedLinkColor public HtmlBody setActivatedLinkColor(String color)

    public HtmlBody setActivatedLinkColor(Color color)

    16 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • HtmlFileクラス

    HtmlFileHtmlFileHtmlFileHtmlFileクラスクラスクラスクラス

    setBackgroundColor public HtmlBody setBackgroundColor(String color)

    public HtmlBody setBackgroundColor(Color color)

    setBackgroundImage public HtmlBody setBackgroundImage(String img)

    setFollowedLinkColor public HtmlBody setFollowedLinkColor(String color)

    public HtmlBody setFollowedLinkColor(Color color)

    setForegroundColor public HtmlBody setForegroundColor(String color)

    public HtmlBody setForegroundColor(Color color)

    setUnfollowedLinkColor public HtmlBody setUnfollowedLinkColor(String color)

    public HtmlBody setUnfollowedLinkColor(Color color)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public String toString() このオブジェクトの内容(通常の文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    HtmlFileコンストラクタコンストラクタコンストラクタコンストラクタ

    public HtmlFile(String filename)

    public HtmlFile(File file)

    public HtmlFile(File file,int numKeys)

    clone public Object clone()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 17

  • HtmlHeadクラス

    HtmlHeadHtmlHeadHtmlHeadHtmlHeadクラスクラスクラスクラス

    setItemAt public HtmlFile setItemAt(String tag,IHtmlItem item)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    HtmlHeadコンストラクタコンストラクタコンストラクタコンストラクタ

    public HtmlHead()

    public HtmlHead(String title)

    public HtmlHead(String title,String base,String baseTarget,boolean index)

    addlink public HtmlHead addLink(IHtmlItem hi)

    public HtmlHead addLink(HeadLink link)

    this

    addMetaInfo public HtmlHead addMetaInfo(MetaInfo mi)

    addStyle public HtmlHead addStyle(Style s) this

    setBase public HtmlHead setBase(URL base)

    public HtmlHead setBase(String base)

    this

    setBaseTarget public HtmlHead setBaseTarget(String baseTarget)

    setTitle public HtmlHead setTitle(String title)

    toHTML public synchronized String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString() このオブジェクトの内容(通常の文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    18 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • HtmlPageクラス

    HtmlPageHtmlPageHtmlPageHtmlPageクラスクラスクラスクラス名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    FILE_DOC public static final int FILE_DOC 既存の HTMLページ。

    FRAME_DOC public static final int FRAME_DOC フレーム・ベースのページ。

    NORMAL_DOC public static final int NORMAL_DOC 通常の HTMLページ。

    HtmlPageコンストラクタコンストラクタコンストラクタコンストラクタ public HtmlPage()

    public HtmlPage(String title)

    public HtmlPage(File file)

    public HtmlPage(HtmlHead head,HtmlBody body)

    public HtmlPage(HtmlHead head,Frameset frameset)

    public HtmlPage(int type,HtmlHead head,HtmlBody body,Frameset frameset,File file)

    addItem public HtmlPage addItem(IHtmlItem item)

    clone public Object clone()

    getBody public HtmlBody getBody() このページの BODYエレメント。

    getHead public HtmlHead getHead() このページの HEADエレメント。

    printHeader public void printHeader()

    public void printHeader(OutputStream out)

    setActivatedLinkColor public HtmlPage setActivatedLinkColor(String color)

    public HtmlPage setActivatedLinkColor(Color color)

    oracle.htmlパッケージ 19

  • HtmlPageクラス

    setBackgroundColor public HtmlPage setBackgroundColor(String color)

    public HtmlPage setBackgroundColor(Color color)

    setBackgroundImage public HtmlPage setBackgroundImage(String img)

    setBody public HtmlPage setBody(HtmlBody body)

    setForegroundColor public HtmlPage setForegroundColor(String color)

    public HtmlPage setForegroundColor(Color color)

    setFollowedLinkColor public HtmlPage setFollowedLinkColor(String color)

    public HtmlPage setFollowedLinkColor(Color color)

    setHead public HtmlPage setHead(HtmlHead head)

    setItemAt public HtmlPage setItemAt(String tag,IHtmlItem item)

    setTitle public HtmlPage setTitle(String title)

    setUnfollowedLinkColor public HtmlPage setUnfollowedLinkColor(String color)

    public HtmlPage setUnfollowedLinkColor(Color color)

    toHTML public String toHTML() このページの内容(HTML文字列で)。

    toString public String toString() このページの内容(通常の文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    20 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • HtmlStreamクラス

    HtmlStreamHtmlStreamHtmlStreamHtmlStreamクラスクラスクラスクラス名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    print public synchronized void print(IHtmlItem item)

    public synchronized void print(Object obj)

    public synchronized void print(String str)

    public synchronized void print(String str,boolean bUnicode)

    println public synchronized void println()

    public synchronized void println(String str)

    public synchronized void println(String str,boolean bUnicode)

    unicodeOutput public boolean unicodeOutput() 文字列が Unicode形式で出力される場合はtrue、それ以外の場合は false。

    setUnicodeOutput public synchronized void setUnicodeOutput(boolean bUnicode)

    theStream public static HtmlStream theStream() HtmlStreamの 1つのインスタンス。

    write public synchronized void write(int b) throws IOException

    public synchronized void write(byte b[]) throws

    IOException

    public synchronized void write(byte b[],int offset,int length) throws

    IOException

    oracle.htmlパッケージ 21

  • HtmlStringBufferクラス

    HtmlStringBufferHtmlStringBufferHtmlStringBufferHtmlStringBufferクラスクラスクラスクラス名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    DOUBLE_QUOTE_CHAR

    public static char DOUBLE_QUOTE_CHAR 二重引用符文字

    NEWLINE_CHAR public static char NEWLINE_CHAR 改行文字

    SINGLE_QUOTE_CHAR

    public static char SINGLE_QUOTE_CHAR 引用符文字

    HtmlStringBufferコンストラクタコンストラクタコンストラクタコンストラクタ

    public HtmlStringBuffer()

    public HtmlStringBuffer(int length)

    public HtmlStringBuffer(String str)

    append public synchronized HtmlStringBuffer append(boolean b)

    public synchronized HtmlStringBuffer append(int i)

    public synchronized HtmlStringBuffer append(char ch)

    public synchronized HtmlStringBuffer append(String str)

    public synchronized HtmlStringBuffer append(char str[])

    public synchronized HtmlStringBuffer append(

    char str[],int offset,int length)

    public synchronized HtmlStringBuffer append(

    String str,char quoteChar)

    22 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • IHtmlItemImplクラス

    IHtmlItemImplIHtmlItemImplIHtmlItemImplIHtmlItemImplクラスクラスクラスクラス

    append(続き)(続き)(続き)(続き)

    public synchronized HtmlStringBuffer append(

    String str,boolean quote)

    public synchronized HtmlStringBuffer append(Object obj)

    public synchronized HtmlStringBuffer append(IHtmlItem item)

    this

    appendln public synchronized HtmlStringBuffer appendln(String str)

    this

    getChars public synchronized char[] getChars()

    public synchronized void getChars(int srcBegin,int srcEnd,char dst[],int dstBegin)

    getChars()のみ :この文字列バッファの内容が入った新規文字配列。

    length public int length() この文字列バッファの文字数。

    print public void print()

    public void print(OutputStream out)

    toHTML public String toHTML()

    toString public String toString() 文字列バッファの文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    IHtmlItemImplコンストラクタコンストラクタコンストラクタコンストラクタ

    public IHtmlItemImpl()

    print public synchronized void print()

    public synchronized void print(OutputStream out)

    toHTML public abstract synchronized String toHTML()

    このオブジェクトの内容を表すHTML文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 23

  • Imageクラス

    ImageImageImageImageクラスクラスクラスクラス名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Imageコンストラクタコンストラクタコンストラクタコンストラクタ public Image(String imgURI)

    public Image(String imgURI,String altTxt,int align,boolean ismap)

    public Image(String imgURI,String altTxt,int align,boolean ismap,String usemap)

    public Image(String imgURI,String altTxt,int halign,int valign,int width,int height,int border,int hspace,int vspace,boolean ismap,String usemap)

    startTag public String startTag() このオブジェクトの開始タグ。

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public String toString() このオブジェクトの文字列。

    24 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Itemクラス

    ImageMapImageMapImageMapImageMapクラスクラスクラスクラス

    ImageMapAreaImageMapAreaImageMapAreaImageMapAreaクラスクラスクラスクラス

    ItemItemItemItemクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    ImageMapコンストラクタコンストラクタコンストラクタコンストラクタ

    public ImageMap(String name)

    addArea public ImageMap addArea(ImageMapArea area)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    ImageMapAreaコンストラクタコンストラクタコンストラクタコンストラクタ

    public ImageMapArea(String shape,String coords,String href)

    public ImageMapArea(String shape,String coords,String href,String altTxt)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    ATTR_ALGN_CENTER public static final int ATTR_ALGN_CENTER

    ATTR_BIG public static final int ATTR_BIG

    ATTR_BOLD public static final int ATTR_BOLD

    ATTR_CITATION public static final int ATTR_CITATION

    ATTR_CODE public static final int ATTR_CODE

    ATTR_DEFINITION public static final int ATTR_DEFINITION

    ATTR_EMPHASIS public static final int ATTR_EMPHASIS

    oracle.htmlパッケージ 25

  • Itemクラス

    ATTR_FONT_BIG public static final int ATTR_FONT_BIG

    ATTR_FONT_BOLD public static final int ATTR_FONT_BOLD

    ATTR_FONT_ITALIC public static final int ATTR_FONT_ITALIC

    ATTR_FONT_SMALL public static final int ATTR_FONT_SMALL

    ATTR_FONT_STRIKE public static final int ATTR_FONT_STRIKE

    ATTR_FONT_SUB public static final int ATTR_FONT_SUB

    ATTR_FONT_SUPER public static final int ATTR_FONT_SUPER

    ATTR_ITALIC public static final int ATTR_ITALIC

    ATTR_KEYBOARD public static final int ATTR_KEYBOARD

    ATTR_PHRASE_CITATION public static final int ATTR_PHRASE_CITATION

    ATTR_PHRASE_CODE public static final int ATTR_PHRASE_CODE

    ATTR_PHRASE_DEFINITION public static final int ATTR_PHRASE_DEFINITION

    ATTR_PHRASE_EMPHASIS public static final int ATTR_PHRASE_EMPHASIS

    ATTR_PHRASE_KEYBOARD public static final int ATTR_PHRASE_KEYBOARD

    ATTR_PHRASE_SAMPLE public static final int ATTR_PHRASE_SAMPLE

    ATTR_PHRASE_STRONG public static final int ATTR_PHRASE_STRONG

    ATTR_PHRASE_VARIABLE public static final int ATTR_PHRASE_VARIABLE

    ATTR_SAMPLE public static final int ATTR_SAMPLE

    ATTR_SMALL public static final int ATTR_SMALL

    ATTR_STRIKE public static final int ATTR_STRIKE

    ATTR_STRONG public static final int ATTR_STRONG

    ATTR_SUB public static final int ATTR_SUB

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    26 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Itemクラス

    ATTR_SUPER public static final int ATTR_SUPER

    ATTR_TELETYPE public static final int ATTR_TELETYPE

    ATTR_UNDERLINE public static final int ATTR_UNDERLINE

    ATTR_VARIABLE public static final int ATTR_VARIABLE

    Itemコンストラクタコンストラクタコンストラクタコンストラクタ public Item()

    public Item(boolean citation,boolean code,boolean emphasis,boolean keyboard,boolean sample,boolean strongEmphasis,boolean variable,boolean italic,boolean bold,boolean teletype,int heading)

    clearAttr public Item clearAttr(int attr) this

    setAttr public Item setAttr(int attr)

    public Item setAttr(int attr,boolean val)

    this

    setBold public Item setBold()

    public Item setBold(boolean val)

    setCenter public Item setCenter()

    public Item setCenter(boolean val)

    setCite public Item setCite()

    public Item setCite(boolean val)

    setCode public Item setCode()

    public Item setCode(boolean val)

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 27

  • Itemクラス

    setDefinition public Item setDefinition()

    public Item setDefinition(boolean val)

    setEmphasis public Item setEmphasis()

    public Item setEmphasis(boolean val)

    setFontBig public Item setFontBig()

    public Item setFontBig(boolean val)

    setFontColor public Item setFontColor(Color color) this

    setFontSize public Item setFontSize(int size) this

    setFontSmall public Item setFontSmall()

    public Item setFontSmall(boolean val)

    setFontSubscript public Item setFontSubscript()

    public Item setFontSubscript(boolean val)

    setFontSuperscript public Item setFontSuperscript()

    public Item setFontSuperscript(boolean val)

    setHeading public Item setHeading(int i) this

    setItal public Item setItal()

    public Item setItal(boolean val)

    setKeyboard public Item setKeyboard()

    public Item setKeyboard(boolean val)

    setSample public Item setSample()

    public Item setSample(boolean val)

    setStrike public Item setStrike()

    public Item setStrike(boolean val)

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    28 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • LineBreakクラス

    LineBreakLineBreakLineBreakLineBreakクラスクラスクラスクラス

    setStrongEmphasis public Item setStrongEmphasis()

    public Item setStrongEmphasis(boolean val)

    setStyleElement public Item setStyleElement(StyleElement elem)

    this

    setTeletype public Item setTeletype()

    public Item setTeletype(boolean val)

    setUnderline public Item setUnderline()

    public Item setUnderline(boolean val)

    setVariable public Item setVariable()

    public Item setVariable(boolean val)

    toHTML public String toHTML() このオブジェクトの内容を表すHTML文字列。

    toString public String toString() このオブジェクトの文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    LineBreakコンストラクタコンストラクタコンストラクタコンストラクタ

    public LineBreak(String clear)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 29

  • Linkクラス

    LinkLinkLinkLinkクラスクラスクラスクラス

    ListListListListクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Linkコンストラクタコンストラクタコンストラクタコンストラクタ public Link(URL url,IHtmlItem item)

    public Link(Anchor anchor,IHtmlItem item)

    public Link(String url,String text)

    public Link(String url,IHtmlItem item)

    public Link(String url,IHtmlItem item,String target)

    addItem public Link addItem(IHtmlItem item)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString() このオブジェクトの内容(通常の文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    DEFINITION public static final int DEFINITION 定義リスト。

    DIRECTORY public static final int DIRECTORY ディレクトリ・リスト。

    MENU public static final int MENU メニュー・リスト。

    ORDERED public static final int ORDERED 番号付きリスト。

    UNORDERED public static final int UNORDERED 番号なしリスト。

    Listコンストラクタコンストラクタコンストラクタコンストラクタ public List(int type,boolean compact)

    30 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • ListItemクラス

    ListItemListItemListItemListItemクラスクラスクラスクラス

    addItem public synchronized List addItem(IHtmlItem item)

    public synchronized List addItem(String string)

    this

    itemAt public synchronized IHtmlItem itemAt(int index)

    this

    setItemAt public synchronized List setItemAt(IHtmlItem item,int index)

    this

    size public int size() このリストの項目数。

    toHTML public String toHTML() この Listオブジェクトの内容を表すフォーマット済み HTML文字列。

    toString public String toString() この Listオブジェクトの文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    ListItemコンストラクタコンストラクタコンストラクタコンストラクタ

    public ListItem(String str)

    public ListItem(IHtmlItem item)

    public ListItem(String type,int value,String item)

    public ListItem(String type,int value,IHtmlItem item)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 31

  • MenuListクラス

    MenuListMenuListMenuListMenuListクラスクラスクラスクラス

    MetaInfoMetaInfoMetaInfoMetaInfoクラスクラスクラスクラス

    OptionOptionOptionOptionクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    MenuListコンストラクタコンストラクタコンストラクタコンストラクタ

    public MenuList()

    public MenuList(boolean compact)

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    MetaInfoコンストラクタコンストラクタコンストラクタコンストラクタ

    public MetaInfo(String equiv,String content)

    public MetaInfo(String equiv,String name,String content,String url)

    toHTML public String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Optionコンストラクタコンストラクタコンストラクタコンストラクタ

    public Option(String txt)

    public Option(String txt,String val,boolean state)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    32 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Preformatクラス

    OrderedListOrderedListOrderedListOrderedListクラスクラスクラスクラス

    ParagraphParagraphParagraphParagraphクラスクラスクラスクラス

    PasswordFieldPasswordFieldPasswordFieldPasswordFieldクラスクラスクラスクラス

    PreformatPreformatPreformatPreformatクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    OrderedListコンストラクタコンストラクタコンストラクタコンストラクタ

    public OrderedList()

    public OrderedList(String type,int start,boolean compact)

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Paragraphコンストラクタコンストラクタコンストラクタコンストラクタ

    public Paragraph(String align)

    toHTML public String toHTML()

    toString public String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    PasswordFieldコンストラクタコンストラクタコンストラクタコンストラクタ

    public PasswordField(String name)

    public PasswordField(String name,int maxlength,int size,String value)

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Preformatコンストラクタコンストラクタコンストラクタコンストラクタ

    public Preformat()

    public Preformat(int width)

    oracle.htmlパッケージ 33

  • Radioクラス

    RadioRadioRadioRadioクラスクラスクラスクラス

    ResetResetResetResetクラスクラスクラスクラス

    ScriptScriptScriptScriptクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Radioコンストラクタコンストラクタコンストラクタコンストラクタ

    public Radio(String name,String value)

    public Radio(String name,String value,boolean state)

    startTag public String startTag() このオブジェクトの開始タグ。

    toHTML public String toHTML()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Resetコンストラクタコンストラクタコンストラクタコンストラクタ public Reset()

    public Reset(String value)

    startTag public String startTag() このオブジェクトの開始タグ。

    toHTML public String toHTML()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Scriptコンストラクタコンストラクタコンストラクタコンストラクタ

    public Script()

    public Script(String language)

    public Script(String language,String runAt)

    setCode public Script setCode(String code) this

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public String toString() このオブジェクトの文字列。

    34 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • SimpleItemクラス

    SelectSelectSelectSelectクラスクラスクラスクラス

    SimpleItemSimpleItemSimpleItemSimpleItemクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Selectコンストラクタコンストラクタコンストラクタコンストラクタ

    public Select(String name)

    public Select(String name,int size,boolean multiple)

    addOption public Select addOption(Option op) this

    NumOptions public int NumOptions() この選択オブジェクトのオプションの数。

    size public int size() このオブジェクトに存在するオプションの数。

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    toString public String toString() このオブジェクトの文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    HorizontalRule public static final SimpleItem HorizontalRule

    HorizontalRule/HRエレメント

    LineBreak public static final SimpleItem LineBreak

    LineBreak/BRエレメント

    Paragraph public static final SimpleItem Paragraph

    Paragraph/Pエレメント

    SimpleItemコンストラクタコンストラクタコンストラクタコンストラクタ

    public SimpleItem()

    public SimpleItem(String s)

    public SimpleItem(int i)

    public SimpleItem(long l)

    public SimpleItem(float f)

    oracle.htmlパッケージ 35

  • Styleクラス

    StyleStyleStyleStyleクラスクラスクラスクラス

    SimpleItemコンストラクタコンストラクタコンストラクタコンストラクタ(続き)(続き)(続き)(続き)

    public SimpleItem(boolean b)

    public SimpleItem(double d)

    public SimpleItem(boolean b)

    public SimpleItem(char c)

    public SimpleItem(char data[])

    public SimpleItem(Object o)

    toHTML public String toHTML() この項目の内容(HTML文字列で)。

    toString public String toString() この項目の文字列。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Styleコンストラクタコンストラクタコンストラクタコンストラクタ public Style()

    addElement public synchronized Style addElement(String tag,StyleElement elem)

    this

    elementAt public synchronized StyleElement elementAt(int index)

    public synchronized StyleElement elementAt(String tag)

    指定した位置にある、または指定した HTMLタグを持つ StyleElement。

    elements public synchronized Enumeration elements()

    positionOf public synchronized int positionOf(String tag)

    指定した HTMLタグの位置。

    setElementAt public synchronized Style setElementAt(StyleElement elem,int index)

    public synchronized Style setElementAt(StyleElement elem,String tag)

    this

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    36 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • StyleElementクラス

    StyleElementStyleElementStyleElementStyleElementクラスクラスクラスクラス

    removeElementAt public synchronized StyleElement removeElementAt(int index)

    public synchronized StyleElement removeElementAt(String tag)

    削除されるエレメント。

    size public synchronized int size() このオブジェクトの StyleElement数。

    toHTML public synchronized String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    StyleElementコンストラクタコンストラクタコンストラクタコンストラクタ

    public StyleElement()

    addProperty public synchronized StyleElement addProperty(

    String name,String value)

    this

    properties public synchronized Enumeration properties()

    propertyAt public synchronized String propertyAt(int index)

    指定した位置のプロパティ。

    setPropertyAt public synchronized StyleElement setPropertyAt(

    String name,String value,int index)

    this

    size public synchronized int size() このオブジェクトのプロパティ数。

    toHTML public synchronized String toHTML() オブジェクトの内容(HTML文字列で)。

    toString public synchronized String toString()

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 37

  • Submitクラス

    SubmitSubmitSubmitSubmitクラスクラスクラスクラス

    TableTableTableTableクラスクラスクラスクラス

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Submitコンストラクタコンストラクタコンストラクタコンストラクタ

    public Submit()

    public Submit(String name,String value)

    toHTML public String toHTML() このオブジェクトの内容(HTML文字列で)。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    Tableコンストラクタコンストラクタコンストラクタコンストラクタ public Table()

    public Table(String caption,String width,int border,int cellspacing,int cellpadding)

    backgroundColor public String backgroundColor() このテーブルのバックグラウンド・カラー。

    backgroundImage public String backgroundImage() このテーブルのバックグラウンド・イメージの URL。

    border public int border() このオブジェクトの BORDER属性。

    borderColor public String borderColor() このテーブルの罫線のカラー。

    caption public String caption() このテーブルの見出し。

    captionAlign public String captionAlign() このテーブルの見出しの文字位置。

    cellPadding public int cellPadding() このテーブルの CELLPADDING属性。

    cellSpacing public int cellspacing() このテーブルの CELLSPACING属性。

    frame public int frame() このテーブルの FRAME属性。

    hAlign public int hAlign() このオブジェクトの HALIGN属性。

    rules public int rules() このテーブルの RULES属性。

    38 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • Tableクラス

    setBackgroundColor public Table setBackgroundColor(String color)

    public Table setBackgroundColor(Color color)

    setBackgroundImage public Table setBackgroundImage(String url)

    setBorder public Table setBorder(int border)

    setBorderColor public Table setBorderColor(String color)

    public Table setBorderColor(Color color)

    setCaption public Table setCaption(String caption)

    public Table setCaption(String caption,String align)

    this

    setCellPadding public Table setCellPadding(int cellpadding)

    setCellSpacing public Table setCellSpacing(int cellspacing)

    setFrame public Table setFrame(int frame)

    setIHAlign public Table setIHAlign(int ha)

    setRules public Table setRules(int rules)

    setWidth public Table setWidth(String width)

    width public String width() このテーブルのWIDTH属性。

    名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    oracle.htmlパッケージ 39

  • TableCellクラス

    TableCellTableCellTableCellTableCellクラスクラスクラスクラス名前名前名前名前 構文構文構文構文 説明説明説明説明 /戻り値戻り値戻り値戻り値

    TableCellコンストラクタコンストラクタコンストラクタコンストラクタ

    public TableCell()

    backgroundColor public String backgroundColor() このセルのバックグラウンド・カラー。

    halign public int halign() このセルの水平位置合せの属性。

    setBackgroundColor public TableCell setBackgroundColor(String color)

    public TableCell setBackgroundColor(Color color)

    setBorderColor public TableCell setBorderColor(String color)

    public TableCell setBorderColor(Color color)

    setHAlign public TableCell setHAlign(int halign)

    setVAlign, public TableCell setVAlign(int valign)

    valign public int valign() このセルの垂直文字位置の属性。

    40 Oracle Application Server JServlet Toolkit クイック・リファレンス

  • TableDataCellクラス

    TableDataCellTableDataCel