|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.sourceforge.wurfl.wurflapi.CapabilityMatrix
isCapabilityIn(), isDescendentOf()
and isCapabilityDefinedInDevice().| Method Summary | |
java.lang.String |
getCapabilityForDevice(java.lang.String devID,
java.lang.String capa)
Given a capability name and a device, return the value of the capability for that device. |
boolean |
isCapabilityDefinedInDevice(java.lang.String devID,
java.lang.String capaName)
Given a device ID and a capability name, returns false -> if the value of the capability is derived by following the fallback for the device true -> if the value of the capability is defined in the device. |
boolean |
isCapabilityIn(java.lang.String capa)
Given a capability name, check if the capability is one of the capabilities available in the WURFL |
boolean |
isDescendentOf(java.lang.String descendent,
java.lang.String ancestor)
Given two device IDs (descendent and ancestor), check if the former falls back into the latter or not. This featture has been added because requested, but it is usually better not to refer to device IDs explicitly in the code. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getCapabilityForDevice(java.lang.String devID,
java.lang.String capa)
public boolean isCapabilityIn(java.lang.String capa)
public boolean isDescendentOf(java.lang.String descendent,
java.lang.String ancestor)
public boolean isCapabilityDefinedInDevice(java.lang.String devID,
java.lang.String capaName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||