|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.hizlab.kagetaka.token.Attribute
net.hizlab.kagetaka.token.LAttribute
UL,OL の属性を表すクラスです。
| フィールドの概要 | |
static int |
TYPE_DIR
DIR |
static int |
TYPE_MENU
MENU |
static int |
TYPE_OL
OL |
static int |
TYPE_UL
UL |
| クラス net.hizlab.kagetaka.token.Attribute から継承したフィールド |
columnNumber, document, lineNumber, reporter |
| コンストラクタの概要 | |
protected |
LAttribute(Document document,
Reporter reporter,
int line,
int column,
int ltype)
UL,OL の属性をデフォルト値で作成します。 |
| メソッドの概要 | |
Integer |
getStart()
開始番号を返します。 |
int |
getType()
タイプを返します。 |
boolean |
setAttribute(String key,
String value)
指定された属性名と属性値で、属性を設定します。 属性名が存在する場合は true を、
存在しない場合は false を返します。
渡される key は、必ず小文字に変換されています。 |
| クラス net.hizlab.kagetaka.token.Attribute から継承したメソッド |
getBaseClass, getBaseId, getBaseTitle, getStyle, reportMessage, setBaseAttribute |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final int TYPE_DIR
public static final int TYPE_MENU
public static final int TYPE_OL
public static final int TYPE_UL
| コンストラクタの詳細 |
protected LAttribute(Document document,
Reporter reporter,
int line,
int column,
int ltype)
document - ドキュメント情報reporter - エラーレポータline - 行番号 (1 から)、
特定できない場合は 0column - カラム位置 (1 から)、
特定できない場合は 0ltype - TYPE_UL か TYPE_OL| メソッドの詳細 |
public Integer getStart()
public int getType()
public boolean setAttribute(String key,
String value)
throws IllegalArgumentException
true を、
存在しない場合は false を返します。
渡される key は、必ず小文字に変換されています。
Attribute 内の setAttributekey - 属性名value - 属性値
true、
それ以外の場合は false
IllegalArgumentException
|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright (c) 2002-2003 The Kagetaka Project 'December 16, 2003'