javax.swing.text.html.parser
クラス Entity
java.lang.Object
|
+--javax.swing.text.html.parser.Entity
- public final class Entity
- extends Object
- implements DTDConstants
ENTITY 構成要素を使って DTD に記述されたとおりのエンティティです。エンティティのタイプ、および値を定義します。
- 関連項目:
DTD
コンストラクタの概要 |
Entity(String name,
int type,
char[] data)
エンティティを作成します。 |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
name
public String name
type
public int type
data
public char[] data
Entity
public Entity(String name,
int type,
char[] data)
- エンティティを作成します。
getName
public String getName()
- エンティティの名前を取得します。
getType
public int getType()
- エンティティのタイプを取得します。
isParameter
public boolean isParameter()
- パラメータエンティティの場合に true を返します。
isGeneral
public boolean isGeneral()
- 一般エンティティの場合に true を返します。
getData
public char[] getData()
- データを返します。
getString
public String getString()
- データを文字列として返します。
name2type
public static int name2type(String nm)
バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.