Interface DeviceIdentificationMode


public interface DeviceIdentificationMode
  • Field Details

  • Method Details

    • getDeviceIdentificationModeForPage

      String getDeviceIdentificationModeForPage(Page page)
      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