Oracle Entitlements Server for Java API Reference

com.bea.security
Class AppContextElement

java.lang.Object
  |
  +--com.bea.security.AppContextElement
Direct Known Subclasses:
SimpleContextElement

public abstract class AppContextElement
extends java.lang.Object

The AppContextElement abstract base class is a simple interface for representing a name/value pair.

NOTE: The SimpleContextElement class provides concrete a concrete implmentation of an AppContextElement abstract base class.

Author:
Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.

Constructor Summary
AppContextElement()
           
 
Method Summary
abstract  java.lang.String getName()
          Gets the name of the AppContextElement.
 java.lang.String getNamespace()
          Gets the namespace associated with this key/value pair.
 java.lang.String getUnqualifiedName()
          Gets the name of the AppContextElement, not including the namespace.
abstract  java.lang.Object getValue()
          Gets the value of the AppContextElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppContextElement

public AppContextElement()
Method Detail

getNamespace

public java.lang.String getNamespace()
Gets the namespace associated with this key/value pair. The defult namespace is null.

NOTE: The default implementation provided by this class always returns null.

Returns:
Returns a String that contains the value of the namespace.

getUnqualifiedName

public java.lang.String getUnqualifiedName()
Gets the name of the AppContextElement, not including the namespace. The default implementaion simply calls getName derived implmentations which support setting the namespace should include a appropriate mechanism for extracting the non namespaced name.

Returns:
The unqualified name of the AppContextElement, represented as a String.

getName

public abstract java.lang.String getName()
Gets the name of the AppContextElement.

Returns:
The name of the AppContextElement, represented as a String.

getValue

public abstract java.lang.Object getValue()
Gets the value of the AppContextElement.

Returns:
an Object that contains the value of the AppContextElement.