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.StringgetDescription()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.StringgetName()Deprecated.Return the name of this device capability.java.lang.StringgetTitle()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:
getNamein interfaceDeviceCapability- Returns:
- A
Stringrepresenting the name of this device capability.
-
getTitle
public java.lang.String getTitle()
Deprecated.Returns a human readable title of this device capability.- Specified by:
getTitlein interfaceDeviceCapability- Returns:
- A
Stringrepresenting the title of this device capability.
-
getDescription
public java.lang.String getDescription()
Deprecated.Description copied from interface:DeviceCapabilityReturns a description of this device capability.- Specified by:
getDescriptionin interfaceDeviceCapability- Returns:
- A
Stringrepresenting the description.
-
getKeys
public java.lang.String[] getKeys()
Deprecated.Description copied from interface:DeviceCapabilityReturns an array of WURFL database value keys that this capability is based on.- Specified by:
getKeysin interfaceDeviceCapability- Returns:
- A
Stringarray representing the keys.
-
-