org.seasar.uruma.component.factory.handler
クラス RootComponentTagHandler

java.lang.Object
  上位を拡張 org.seasar.framework.xml.TagHandler
      上位を拡張 org.seasar.uruma.component.factory.UrumaTagHandler
          上位を拡張 org.seasar.uruma.component.factory.handler.GenericTagHandler
              上位を拡張 org.seasar.uruma.component.factory.handler.RootComponentTagHandler
すべての実装されたインタフェース:
Serializable

public class RootComponentTagHandler
extends GenericTagHandler

template 要素の直下に記述される要素に対するタグハンドラです。

作成者:
y-komori
関連項目:
直列化された形式

フィールドの概要
 
クラス org.seasar.uruma.component.factory.UrumaTagHandler から継承されたフィールド
PARAM_BASE_PATH, PARAM_PATH
 
コンストラクタの概要
RootComponentTagHandler(Class<? extends UIElement> rootComponentClass)
          RootComponentTagHandler を構築します。
 
メソッドの概要
protected  boolean enableAutoId()
          ID の自動設定を有効にするかどうかを返します。
protected  boolean enableAutoTitle()
          タイトルの自動設定を有効にするかどうかを返します。
protected  void setParent(UIElement uiElement, TagHandlerContext context)
          生成した UIElementTagHandlerContext 内に存在する親へ設定します。
 
クラス org.seasar.uruma.component.factory.handler.GenericTagHandler から継承されたメソッド
createUIElement, end, getElementPath, setAttributes, setBasePath, setLocation, setPath, setProperty, setRenderer, setupAutoId, setupAutoTitle, start
 
クラス org.seasar.framework.xml.TagHandler から継承されたメソッド
appendBody
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RootComponentTagHandler

public RootComponentTagHandler(Class<? extends UIElement> rootComponentClass)
RootComponentTagHandler を構築します。

パラメータ:
rootComponentClass - ルート要素の Class オブジェクト
メソッドの詳細

setParent

protected void setParent(UIElement uiElement,
                         TagHandlerContext context)
クラス GenericTagHandler の記述:
生成した UIElementTagHandlerContext 内に存在する親へ設定します。

オーバーライド:
クラス GenericTagHandler 内の setParent
パラメータ:
uiElement - UIElement オブジェクト
context - TagHandlerContext オブジェクト

enableAutoId

protected boolean enableAutoId()
クラス GenericTagHandler の記述:
ID の自動設定を有効にするかどうかを返します。
デフォルトでは false を返します。
本機能を有効にする場合、サブクラスでオーバーライドして true を返してください。

オーバーライド:
クラス GenericTagHandler 内の enableAutoId
戻り値:
ID の自動設定を有効にするかどうか

enableAutoTitle

protected boolean enableAutoTitle()
クラス GenericTagHandler の記述:
タイトルの自動設定を有効にするかどうかを返します。
デフォルトでは false を返します。
本機能を有効にする場合、サブクラスでオーバーライドして true を返してください。

オーバーライド:
クラス GenericTagHandler 内の enableAutoTitle
戻り値:
タイトルの自動設定を有効にするかどうか


Copyright © 2006-2008 The Seasar Foundation. All Rights Reserved.