public class ContextElement extends Object
ContextElement
is an object used to represent a named value
that is used in a ContextHandler
.Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the
ContextElement . |
Object |
getValue()
Gets the value of the
ContextElement . |
void |
setValue(Object value)
Sets the value of the
ContextElement . |
public String getName()
ContextElement
.ContextElement
, represented as a String.public Object getValue()
ContextElement
.Object
that contains the value of the ContextElement
.
The caller is responsible for knowing the data type
of the value.ContextElement.setValue(java.lang.Object)
public void setValue(Object value)
ContextElement
.value
- an Object
that contains the value of the
ContextElement
.ContextElement.getValue()