|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--javax.servlet.jsp.tagext.TagData
The (translation-time only) attribute/value information for a tag instance.
TagData is only used as an argument to the isValid and getVariableInfo methods of TagExtraInfo, which are invoked at translation time.
フィールドの概要 | |
static java.lang.Object |
REQUEST_TIME_VALUE
Distinguished value for an attribute to indicate its value is a request-time expression (which is not yet available because TagData instances are used at translation-time). |
コンストラクタの概要 | |
TagData(java.util.Hashtable attrs)
Constructor for a TagData. |
|
TagData(java.lang.Object[][] atts)
Constructor for TagData. |
メソッドの概要 | |
java.lang.Object |
getAttribute(java.lang.String attName)
The value of the attribute. |
java.util.Enumeration |
getAttributes()
Enumerates the attributes. |
java.lang.String |
getAttributeString(java.lang.String attName)
Get the value for a given attribute. |
java.lang.String |
getId()
The value of the id attribute, if available. |
void |
setAttribute(java.lang.String attName,
java.lang.Object value)
Set the value of an attribute. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final java.lang.Object REQUEST_TIME_VALUE
コンストラクタの詳細 |
public TagData(java.lang.Object[][] atts)
A typical constructor may be
static final Object[][] att = {{"connection", "conn0"}, {"id", "query0"}}; static final TagData td = new TagData(att);All values must be Strings except for those holding the distinguished object REQUEST_TIME_VALUE.
atts
- the static attribute and values. May be null.public TagData(java.util.Hashtable attrs)
attrs
- A hashtable to get the values from.メソッドの詳細 |
public java.lang.String getId()
public java.lang.Object getAttribute(java.lang.String attName)
public void setAttribute(java.lang.String attName, java.lang.Object value)
attName
- the name of the attributevalue
- the value.public java.lang.String getAttributeString(java.lang.String attName)
public java.util.Enumeration getAttributes()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |