This project has retired. For details please refer to its
Attic page .
CapabilityMapFactory (Jetspeed 1 Enterprise Portal 1.6 API)
org.apache.jetspeed.capability
Class CapabilityMapFactory
java.lang.Object
org.apache.jetspeed.capability.CapabilityMapFactory
public class CapabilityMapFactory extends java.lang.Object
This class describes various browsers capabilities and provides the
ability to query them.
FIXME: the implementation should change to be configuration file based and
handle more browsers.
Version:
$Id: CapabilityMapFactory.java,v 1.16 2005/03/21 18:21:35 sgala Exp $
Author:
Raphaël Luta
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
DEFAULT_AGENT
public static final java.lang.String DEFAULT_AGENT
See Also: Constant Field Values
AGENT_XML
public static final java.lang.String AGENT_XML
See Also: Constant Field Values
CapabilityMapFactory
public CapabilityMapFactory ()
getCapabilityMap
public static CapabilityMap getCapabilityMap (org.apache.turbine.util.RunData rundata)
Returns the map corresponding to the given RunData.
FIXME: the method will be changed to use a Jetspeed specific request
wrapper
Parameters: rundata
- the request RunData
Returns: the map correspondin to the user-agent described in the RunData
getCapabilityMap
public static CapabilityMap getCapabilityMap (java.lang.String useragent)
Returns the map corresponding to the given user-agent
Parameters: useragent
- a user-agent string in the HTTP User-agent format
Returns: the map corresponding to the user-agent
getDefaultCapabilityMap
public static CapabilityMap getDefaultCapabilityMap ()
Returns the map corresponding to the given user-agent
Returns: the map corresponding to the user-agent
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.