Java プラットフォーム 1.2

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

フィールドの概要
 char[] data
           
 String name
           
 int type
           
 
コンストラクタの概要
Entity(String name, int type, char[] data)
          エンティティを作成します。
 
メソッドの概要
 char[] getData()
          データを返します。
 String getName()
          エンティティの名前を取得します。
 String getString()
          データを文字列として返します。
 int getType()
          エンティティのタイプを取得します。
 boolean isGeneral()
          一般エンティティの場合に true を返します。
 boolean isParameter()
          パラメータエンティティの場合に true を返します。
static int name2type(String nm)
           
 
クラス 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)

Java プラットフォーム 1.2

バグや機能要求の報告
新しい 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.