|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.tools.attribute.AttributeSupport
public class AttributeSupport
A common implementation of IAttributeSupport for quick linking in a host object.
This is not thread safe.
Constructor Summary | |
---|---|
AttributeSupport()
|
Method Summary | |
---|---|
Object |
getAttribute(Object key)
get an attribute from the context |
Object |
removeAttribute(Object key)
remove an attribute in the context |
Object |
setAttribute(Object key,
Object o)
set the value of an attribute in the context |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeSupport()
Method Detail |
---|
public Object getAttribute(Object key)
IAttributeSupport
getAttribute
in interface IAttributeSupport
key
- the name of the attribute to get
public Object removeAttribute(Object key)
IAttributeSupport
removeAttribute
in interface IAttributeSupport
key
- the name of the attribute to remove
key
public Object setAttribute(Object key, Object o)
IAttributeSupport
setAttribute
in interface IAttributeSupport
key
- the name of the attribute to seto
- the new value the attribute
key
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |