net.sourceforge.wurfl.core.resource
Interface WURFLAccessibleModel

All Superinterfaces:
WURFLModel

public interface WURFLAccessibleModel
extends WURFLModel

This is a mutable WURFLModel interface. All classes need to modify the model must referencing this interface.

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

Method Summary
 void addModelListener(WURFLModelListener listener)
          Add a WURFLModelListener observe this model.
 void applyPatch(WURFLResource patch)
          Applies a patch to model runtime.
 void applyPatches(WURFLResources patches)
          Applies several patches to model runtime.
 void removeModelListener(WURFLModelListener listener)
          Remove a WURFLModelListener observing this model.
 
Methods inherited from interface net.sourceforge.wurfl.core.resource.WURFLModel
getAllCapabilities, getAllDevices, getAllDevicesId, getAllGroups, getCapabilitiesForGroup, getDeviceAncestor, getDeviceById, getDeviceFallback, getDeviceHierarchy, getDevices, getDeviceWhereCapabilityIsDefined, getGroupByCapability, getVersion, isCapabilityDefined, isDeviceDefined, isGroupDefined, size
 

Method Detail

applyPatch

void applyPatch(WURFLResource patch)
Applies a patch to model runtime.

Parameters:
patch - The resource represents patch.

applyPatches

void applyPatches(WURFLResources patches)
Applies several patches to model runtime.

Parameters:
patches - The resources represent patches.

addModelListener

void addModelListener(WURFLModelListener listener)
Add a WURFLModelListener observe this model.

Parameters:
The - listener to add.

removeModelListener

void removeModelListener(WURFLModelListener listener)
Remove a WURFLModelListener observing this model. If the listener are not observing this model then the operation is ignored.

Parameters:
The - listener to remove.


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