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 934 2012-03-27 13:34:26Z fulvio.crivellaro $
| 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.
getModelDeviceWithAncestorId
protected final ModelDeviceWithAncestorId getModelDeviceWithAncestorId(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 © 2012 ScientiaMobile Inc.. All Rights Reserved.