org.apache.myfaces.trinidadinternal.ui.data.bind
Class IsAgentApplicationBoundValue

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.data.bind.IsAgentApplicationBoundValue
All Implemented Interfaces:
BoundValue

public class IsAgentApplicationBoundValue
extends java.lang.Object
implements BoundValue

BoundValue that returns a Boolean based on the Agent Application.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/data/bind/IsAgentApplicationBoundValue.java#0 $) $Date: 10-nov-2005.18:56:40 $
Author:
The Oracle ADF Faces Team
See Also:
org.apache.myfaces.trinidadinternal.share.agent.Agent

Constructor Summary
IsAgentApplicationBoundValue(int application)
          Construct an instance of AgentApplicationBoundValue.
 
Method Summary
 java.lang.Object getValue(UIXRenderingContext context)
          Called to retrieve a value based on the current rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsAgentApplicationBoundValue

public IsAgentApplicationBoundValue(int application)
Construct an instance of AgentApplicationBoundValue.

Parameters:
application - the agent application that is being checked for. The values should be one of the APPLICATION constants in org.apache.myfaces.trinidadinternal.share.agent.Agent
Method Detail

getValue

public java.lang.Object getValue(UIXRenderingContext context)
Description copied from interface: BoundValue
Called to retrieve a value based on the current rendering context.

Specified by:
getValue in interface BoundValue
Parameters:
context - the rendering context
Returns:
a Boolean indicating whether what was passed to the constructor matches what is returned from context.getAgent().getAgentApplication()


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.