Java Reference
In-Depth Information
The
getTypeName()
Method
public java.lang.String getTypeName()
This method returns the type of the attribute for the
Tag
.
getTypeName()
has no parameters and
throws no exceptions.
It returns this value:
•
java.lang.String
The
TagData
Class
public class TagData extends java.lang.Object
implements java.lang.Cloneable
This class encapsulates
Tag
instance attributes and values. Often, this data is fully static in the
case where none of the attributes have runtime expressions as their values. Thus the
TagData
class is intended to expose an immutable interface to a set of immutable attribute/value pairs.
This class implements
Cloneable
, so that implementations can create a static instance and then
just clone it before adding the request-time expressions. The
TagData
class has two fields and
five methods, described in the following sections.
The
attributes
Field
private java.util.Hashtable attributes
This field holds a reference to a
Hashtable
of the tag's attributes.
The
REQUEST_TIME_VALUE
Field
public static final java.lang.Object REQUEST_TIME_VALUE
This field holds a reference to a distinguished value for an attribute. The value is a request-time
expression, which is not yet available because this
TagData
instance is being used at
translation-time.
The
TagData()
Method
public TagData(java.lang.Object[][] atts)
This method is the constructor for a
TagData
object. It takes a single parameter, a two-
dimensional array of static attributes and values.
TagData()
returns no value and throws no
exceptions.
It takes one parameter:
•
java.lang.Object[][]