BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.security.service
Class ContextElement

java.lang.Object
  extended byweblogic.security.service.ContextElement

public class ContextElement
extends Object

A ContextElement is an object used to represent a named value that is used in a ContextHandler.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
ContextElement(String name)
          Creates a ContextElement with the specified name.
ContextElement(String name, Object value)
          Creates a ContextElement with the specified name and value.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextElement

public ContextElement(String name)
Creates a ContextElement with the specified name.


ContextElement

public ContextElement(String name,
                      Object value)
Creates a ContextElement with the specified name and value.

Method Detail

getName

public String getName()
Gets the name of the ContextElement.

Returns:
the name of the ContextElement, represented as a String.


getValue

public Object getValue()
Gets the value of the ContextElement.

Returns:
an Object that contains the value of the ContextElement. The caller is responsible for knowing the data type of the value.

See Also:
setValue(java.lang.Object)

setValue

public void setValue(Object value)
Sets the value of the ContextElement.

Parameters:
value - an Object that contains the value of the ContextElement.

See Also:
getValue()

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.