org.seasar.cubby.tags
クラス DynamicAttributesTagSupport

java.lang.Object
  上位を拡張 javax.servlet.jsp.tagext.SimpleTagSupport
      上位を拡張 org.seasar.cubby.tags.DynamicAttributesTagSupport
すべての実装されたインタフェース:
DynamicAttributes, JspTag, SimpleTag
直系の既知のサブクラス:
InputTag, NullTag, SelectTag, TemplateTag, TextareaTag

public abstract class DynamicAttributesTagSupport
extends SimpleTagSupport
implements DynamicAttributes

DynamicAttributesをフィールドに持つタグの基底クラスです。

作成者:
agata

コンストラクタの概要
DynamicAttributesTagSupport()
           
 
メソッドの概要
protected  Map<String,Object> getDynamicAttribute()
          DynamicAttributesを取得します。
protected  PageContext getPageContext()
          PageContextを取得します。
protected  HttpServletRequest getRequest()
          HttpServletRequestを取得します。
 void setDynamicAttribute(String uri, String localName, Object value)
          DynamicAttributesをセットします。
protected static String toString(Object object)
          オブジェクトを文字列に変換します。
 
クラス javax.servlet.jsp.tagext.SimpleTagSupport から継承されたメソッド
doTag, findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DynamicAttributesTagSupport

public DynamicAttributesTagSupport()
メソッドの詳細

setDynamicAttribute

public void setDynamicAttribute(String uri,
                                String localName,
                                Object value)
                         throws JspException
DynamicAttributesをセットします。 FIXME 現在はuriを無視しているので、必要であれば対応したほうがよいかも

定義:
インタフェース DynamicAttributes 内の setDynamicAttribute
例外:
JspException

getDynamicAttribute

protected Map<String,Object> getDynamicAttribute()
DynamicAttributesを取得します。

戻り値:
DynamicAttributes

getPageContext

protected PageContext getPageContext()
PageContextを取得します。

戻り値:
PageContext

getRequest

protected HttpServletRequest getRequest()
HttpServletRequestを取得します。

戻り値:
HttpServletRequest

toString

protected static String toString(Object object)
オブジェクトを文字列に変換します。 オブジェクトがnullの場合、空文字を返します。

パラメータ:
object - 対象のオブジェクト
戻り値:
オブジェクトのtoString結果。


Copyright ツゥ 2006-2007 The Seasar Foundation and the others. All rights reserved.. All Rights Reserved.