Interface DeviceIdentificationMode
public interface DeviceIdentificationMode
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the currently used device identification mode for a page by searching for the jcr:content/cq:deviceIdentificationMode property on the node representing the path.
-
Field Details
-
SERVER_SIDE
- See Also:
-
CLIENT_SIDE
- See Also:
-
NONE
- See Also:
-
DEVICE_IDENTIFICATION_MODE_PROPERTY
- See Also:
-
TOPIC_DIM_ADDED
- See Also:
-
TOPIC_DIM_CHANGED
- See Also:
-
TOPIC_DIM_REMOVED
- See Also:
-
-
Method Details
-
getDeviceIdentificationModeForPage
Returns the currently used device identification mode for a page by searching for the jcr:content/cq:deviceIdentificationMode property on the node representing the path. If the property is not found, the lookup has to continue by scanning parent nodes. If the property is not found, it is assumed that the value is DeviceIdentificationMode.SERVER_SIDE.- Parameters:
page- the page for which the device identification mode is analysed- Returns:
- the device identification mode as String
-