|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.bea.security.AppContextElement
|
+--com.bea.security.SimpleContextElement
An extention of a context element for an application context.
You can use the SimpleContextElement class with the HashMapContext
class in security runtime applications
to present the application's context information.
HashMapContext| Field Summary | |
protected java.lang.String |
name
The name of this context element. |
protected java.lang.String |
namespace
The namespace of this context element. |
protected java.lang.String |
uqname
The unqualified (no namespace) name of this context element |
protected java.lang.Object |
value
A reference to the value of this context element. |
| Constructor Summary | |
SimpleContextElement(AppContextElement source)
Constructs this object based on existing element. |
|
SimpleContextElement(java.lang.String elemname)
Constructs this element giving it a name. |
|
SimpleContextElement(java.lang.String elemname,
java.lang.Object elemvalue)
Constructs this object giving it a name and a value. |
|
SimpleContextElement(java.lang.String elemns,
java.lang.String elemuqname,
java.lang.Object elemvalue)
Constructs this object giving it a namespace, name and a value. |
|
| Method Summary | |
java.lang.String |
getName()
Gets this element's name. |
java.lang.String |
getNamespace()
Gets this element's namespace. |
java.lang.String |
getUnqualifiedName()
Gets this element's unqualified (no namespace) name. |
java.lang.Object |
getValue()
Gets this element's value. |
void |
setValue(java.lang.Object elemvalue)
Sets this element's value. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected java.lang.String namespace
protected java.lang.String name
protected java.lang.String uqname
protected java.lang.Object value
| Constructor Detail |
public SimpleContextElement(java.lang.String elemname)
elemname - The name of this element as a String.
public SimpleContextElement(java.lang.String elemname,
java.lang.Object elemvalue)
elemname - The name of this element as a String.elemvalue - The value of this element as an Object.
public SimpleContextElement(java.lang.String elemns,
java.lang.String elemuqname,
java.lang.Object elemvalue)
elemns - The namespace of this element as a String.elemuqname - The unqualified name (no namespace) of this element as a String.elemvalue - The value of this element as an Object.public SimpleContextElement(AppContextElement source)
source - The source element to copy the namespace, name, and value from.| Method Detail |
public java.lang.String getNamespace()
public java.lang.String getName()
public java.lang.String getUnqualifiedName()
public java.lang.Object getValue()
public void setValue(java.lang.Object elemvalue)
elemvalue - A value to associate with this element as an Object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||