|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for classes which provide access to named attributes.
Method Summary | |
void |
clearAttributes()
Clears all known names/values. |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the named attribute as an object, or null if no attribute of the given name exists. |
java.util.Enumeration |
getAttributeNames()
Returns an Enumeration containing the names of the attributes available to this request. |
void |
removeAttribute(java.lang.String name)
Removes an attribute from this request. |
void |
setAttribute(java.lang.String name,
java.lang.Object obj)
Stores an attribute in this request. |
Method Detail |
public java.lang.Object getAttribute(java.lang.String name)
null
if no attribute of the given name exists.
name
- A String specifying the name of the attribute.
null
if the attribute does not existpublic java.util.Enumeration getAttributeNames()
public void setAttribute(java.lang.String name, java.lang.Object obj)
name
- A String specifying the name of the attributeobj
- The Object to be storedpublic void removeAttribute(java.lang.String name)
name
- a String specifying the name of the attribute to removepublic void clearAttributes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |