|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.attribute.AttributeTools
public class AttributeTools
Tool class for handling generic attributes.
| Constructor Summary | |
|---|---|
AttributeTools()
|
|
| Method Summary | |
|---|---|
static Object |
getAttribute(Object object,
Object key)
Get an attribute value from object |
static Object |
getAttributeBasic(Object object,
Object key)
Get an attribute value from object |
static Object |
removeAttribute(Object object,
Object key)
Remove an attribute binding from object |
static Object |
removeAttributeBasic(Object object,
Object key)
Remove an attribute binding from object |
static Object |
setAttribute(Object object,
Object key,
Object value)
Set the value of an attribute in object |
static Object |
setAttributeBasic(Object object,
Object key,
Object value)
Set the value of an attribute in object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeTools()
| Method Detail |
|---|
public static Object getAttribute(Object object,
Object key)
object - The target object hosting the attributekey - the name of the attribute to get
key
public static Object getAttributeBasic(Object object,
Object key)
object - The target object hosting the attributekey - the name of the attribute to get
key
public static Object removeAttribute(Object object,
Object key)
object - The target object hosting the attributekey - the name of the attribute to remove
key
public static Object removeAttributeBasic(Object object,
Object key)
object - The target object hosting the attributekey - the name of the attribute to remove
key
public static Object setAttribute(Object object,
Object key,
Object value)
object - The target object hosting the attributekey - the name of the attribute to setvalue - the new value the attribute
key
public static Object setAttributeBasic(Object object,
Object key,
Object value)
object - The target object hosting the attributekey - the name of the attribute to setvalue - the new value the attribute
key
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||