net.sourceforge.wurfl.core
Interface CapabilitiesHolder

All Known Implementing Classes:
DefaultCapabilitiesHolder, HierarchyCapabilitiesHolder

public interface CapabilitiesHolder

Holds the capabilities values for a single Device.

Version:
$Id: CapabilitiesHolder.java 432 2010-05-06 12:12:53Z filippo.deluca $
Author:
Fantayeneh Asres Gizaw, Filippo De Luca

Method Summary
 Map getAllCapabilities()
          Returns all the capabilities for a single device.
 String getCapabilityValue(String capabilityName)
          Return the capability value by capability name for single Device instance.
 

Method Detail

getCapabilityValue

String getCapabilityValue(String capabilityName)
                          throws CapabilityNotDefinedException
Return the capability value by capability name for single Device instance.

Parameters:
capabilityName - The name of capability to get value.
Returns:
The value of capability capabilityName
Throws:
CapabilityNotDefinedException - If the capability capabilityName is not defined in WURFL.

getAllCapabilities

Map getAllCapabilities()
Returns all the capabilities for a single device.

Returns:
Map containing couple name-value of single Device.


Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.