|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
BoundAttributeStore interface definition.
Defines methods for binding, getting and removing named objects on an implementing class.
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the object bound with the specified name in this BoundAttributeStore
implementation, or null if no object is bound under the name. |
void |
removeAttribute(java.lang.String name)
Removes the object bound with the specified name from this BoundAttributeStore
implementation. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Binds an object to this BoundAttributeStore implementation, using the name
specified. |
Method Detail |
public void setAttribute(java.lang.String name, java.lang.Object value)
BoundAttributeStore
implementation, using the name
specified. If an object of the same name is already bound, the object
is replaced.
name
- The name to which the object is bound; cannot be null.value
- The object to be bound; cannot be null.public java.lang.Object getAttribute(java.lang.String name)
BoundAttributeStore
implementation, or null if no object is bound under the name.
name
- The name to which the object is bound; cannot be null.
BoundAttributeStore
implementation, or null if no object is bound under the name.public void removeAttribute(java.lang.String name)
BoundAttributeStore
implementation. If the BoundAttributeStore
implementation does
not have an object bound with the specified name, this method does nothing.
name
- The name to which the object is bound; cannot be null.
|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |