|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.wurfl.core.DefaultCapabilitiesLoader
public class DefaultCapabilitiesLoader
CapabilityLoader implementation.
Loads all capabilities for specified Device by navigate his hierarchy.
| Constructor Summary | |
|---|---|
DefaultCapabilitiesLoader(ModelDevice root,
WURFLModel model)
Constructor by model and root device. |
|
| Method Summary | |
|---|---|
Map |
loadCapabilities()
Load the capabilities from model iterating over the
root device hierarchy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCapabilitiesLoader(ModelDevice root,
WURFLModel model)
root - The root ModelDevicemodel - The model containing root device to load capabilities from.| Method Detail |
|---|
public Map loadCapabilities()
model iterating over the
root device hierarchy.
Hierarchy is defined as a ordered list of ModelDevice from
"generic" to root.
example:
generic->...->root
If The root ModelDevice is not contained in model this
method return an empty Map. This happened if this instance is build
passing it a unmanaged ModelDevice to constructor.
loadCapabilities in interface CapabilitiesLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||