net.sourceforge.wurfl.core
Class AbstractDeviceProvider
java.lang.Object
net.sourceforge.wurfl.core.AbstractDeviceProvider
- All Implemented Interfaces:
- DeviceProvider
- Direct Known Subclasses:
- DefaultDeviceProvider
public abstract class AbstractDeviceProvider
- extends Object
- implements DeviceProvider
Abstract implementation of DeviceProvider.
- Version:
- $Id: AbstractDeviceProvider.java 432 2010-05-06 12:12:53Z filippo.deluca $
- Author:
- Fantayeneh Asres Gizaw, Filippo De Luca
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
protected final WURFLModel model
- The model used as backend
AbstractDeviceProvider
public AbstractDeviceProvider(WURFLModel model)
- Build DeviceProvider by WURFLModel.
- Parameters:
model - The wurflModel used as backend.
getModelDevice
protected ModelDevice getModelDevice(String deviceId)
throws DeviceNotDefinedException
- This method get a ModelDevice from WURFLModel.
- Parameters:
deviceId - Th requested device identifier.
- Returns:
- a ModelDevice identified by deviceId.
- Throws:
DeviceNotDefinedException
Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.