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 934 2012-03-27 13:34:26Z fulvio.crivellaro $

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, getRootDevicesIds, 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:
listener - 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:
listener - The listener to remove.


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.