public abstract class TagHandler extends ObjectSE implements FaceletHandler
Facelet ドキュメントのマークアップ要素に関連付けられた FaceletHandler
の Foundation クラス。このクラスでは、XML 属性の概念を Facelets に紹介します。詳細については、コンストラクターのドキュメントを参照してください。
修飾子と型 | フィールドと説明 |
---|---|
protected FaceletHandler | nextHandler この |
protected Tag | tag この |
protected StringSE | tagId
|
コンストラクターと説明 |
---|
TagHandler(TagConfig config) すべての |
修飾子と型 | メソッドと説明 |
---|---|
protected TagAttribute | getAttribute(StringSE localName) 適切な TagAttribute を取得するためのユーティリティメソッド |
protected TagAttribute | getRequiredAttribute(StringSE localName) 必要な TagAttribute を取得するためのユーティリティメソッド |
StringSE | toString() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
apply
protected final StringSE tagId
TagConfig.getTagId()
を参照してください。
protected final Tag tag
この TagHandler
インスタンスに対応する Tag
インスタンスへの参照。
protected final FaceletHandler nextHandler
この TagHandler
インスタンスの最初のネストされた子を表す FaceletHandler
への参照。
public TagHandler(TagConfig config)
すべての TagHandler
インスタンスは Tag
に関連付けられています。各 Tag
インスタンスには TagAttributes
プロパティがあります。これは、単に TagAttribute
インスタンスのコレクションです。TagConfig.getTagId()
、TagConfig.getTag()
、TagConfig.getNextHandler()
が引数 TagConfig
から返される、保護されたインスタンス変数として抽出して保存します。このコンストラクターは、Facelets ビューがコンパイルされたときにのみ呼び出されます。
config
- このインスタンスの操作に役立つを含む構造。protected final TagAttribute getAttribute(StringSE localName)
localName
- 属性の名前 protected final TagAttribute getRequiredAttribute(StringSE localName) throws TagException
localName
- 属性の名前 TagException
- 属性が見つからなかった場合 public StringSE toString()
ObjectSE
の toStringSE
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.