Java Reference
In-Depth Information
The
getValue()
Method
public java.lang.Object getValue(java.lang.String k)
The
getValue()
method returns the value associated with the named attribute. It throws no
exceptions.
It takes one parameter:
•
java.lang.String
It returns this value:
•
java.lang.Object
The
getValues()
Method
public java.util.Enumeration getValues()
The
getValues()
method returns all the attribute values in an
Enumeration
. It takes no para-
meters and throws no exceptions.
It returns this value:
•
java.util.Enumeration
The
release()
Method
public void release()
This is the default implementation for the
release()
method defined by the
Tag
interface. The
release()
method takes no parameters, returns no value, and throws no exceptions.
The
removeValue()
Method
public void removeValue(java.lang.String k)
E
The
removeValue()
method removes the value associated with named attribute. It throws no
exceptions and returns no value.
It takes one parameter:
•
java.lang.String
The
setId()
Method
public void setId(java.lang.String id)
The
setId()
method is the basic accessor for setting the tag's
id
attribute. It throws no excep-
tions and returns no value.
It takes one parameter:
•
java.lang.String