Class JavaScript
- java.lang.Object
-
- com.day.cq.wcm.mobile.api.device.capability.JavaScript
-
- All Implemented Interfaces:
DeviceCapability
@Service public class JavaScript extends java.lang.Object implements DeviceCapability
Deprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities()
Expresses javascript support of a mobile device.
-
-
Field Summary
-
Fields inherited from interface com.day.cq.wcm.mobile.api.device.capability.DeviceCapability
CAPABILITY_CSS, CAPABILITY_DEVICEROTATION, CAPABILITY_IMAGES, CAPABILITY_JAVASCRIPT
-
-
Constructor Summary
Constructors Constructor Description JavaScript()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getDescription()
Deprecated.Returns a description of this device capability.java.lang.String[]
getKeys()
Deprecated.Returns an array of WURFL database value keys that this capability is based on.java.lang.String
getName()
Deprecated.Return the name of this device capability.java.lang.String
getTitle()
Deprecated.Returns a human readable title of this device capability.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Deprecated.Return the name of this device capability.- Specified by:
getName
in interfaceDeviceCapability
- Returns:
- A
String
representing the name of this device capability.
-
getTitle
public java.lang.String getTitle()
Deprecated.Returns a human readable title of this device capability.- Specified by:
getTitle
in interfaceDeviceCapability
- Returns:
- A
String
representing the title of this device capability.
-
getDescription
public java.lang.String getDescription()
Deprecated.Description copied from interface:DeviceCapability
Returns a description of this device capability.- Specified by:
getDescription
in interfaceDeviceCapability
- Returns:
- A
String
representing the description.
-
getKeys
public java.lang.String[] getKeys()
Deprecated.Description copied from interface:DeviceCapability
Returns an array of WURFL database value keys that this capability is based on.- Specified by:
getKeys
in interfaceDeviceCapability
- Returns:
- A
String
array representing the keys.
-
-