|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--javax.swing.text.html.parser.ContentModel
コンテンツモデルの表現です。コンテンツモデルは、基本的に、制限付きの BNF 式です。これは、コンテンツモデルは決定性を持たなければならないという意味合いからの制限です。つまり、コンテンツモデルを有限状態オートマトンとして表現する必要はないことになります。
詳細は、『SGML handbook』556 ページの付録 H (Annex H) を参照してください。
フィールドの概要 | |
Object |
content
コンテンツです。 |
ContentModel |
next
',' 式、'|' 式、あるいは '&' 式の中にある次のコンテンツモデルです。 |
int |
type
'*'、'?' |
コンストラクタの概要 | |
ContentModel()
|
|
ContentModel(Element content)
要素に対するコンテンツモデルを作成します。 |
|
ContentModel(int type,
ContentModel content)
特定のタイプのコンテンツモデルを作成します。 |
|
ContentModel(int type,
Object content,
ContentModel next)
特定のタイプのコンテンツモデルを作成します。 |
メソッドの概要 | |
boolean |
empty()
コンテンツモデルが空の入力ストリームと一致する場合に true を返します。 |
Element |
first()
次の要素を返します。 |
boolean |
first(Object token)
token が入力ストリームの最初のトークンになる場合に true を返します。 |
void |
getElements(Vector elemVec)
この contentModel の一部である要素のリストを使って、elemVec を更新します。 |
String |
toString()
文字列に変換します。 |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
フィールドの詳細 |
public int type
public Object content
public ContentModel next
コンストラクタの詳細 |
public ContentModel()
public ContentModel(Element content)
public ContentModel(int type, ContentModel content)
public ContentModel(int type, Object content, ContentModel next)
メソッドの詳細 |
public boolean empty()
public void getElements(Vector elemVec)
public boolean first(Object token)
public Element first()
public String toString()
|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |