Package com.aquima.web.ui
Class ReadableRuntimeKeyMapper
- java.lang.Object
-
- com.aquima.web.ui.ReadableRuntimeKeyMapper
-
- All Implemented Interfaces:
IRuntimeKeyMapper
public class ReadableRuntimeKeyMapper extends Object implements IRuntimeKeyMapper
Default implementation of a runtime key mapper that converts the runtime keys to (element_name)(delimiter)(element_index).- Since:
- 8.0
- Author:
- Jon van Leuven
-
-
Constructor Summary
Constructors Constructor Description ReadableRuntimeKeyMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRuntimeKeyParser
getParser(com.aquima.interactions.composer.IPage page)
This method returns a runtime key parser to convert a string to a runtime key.com.aquima.interactions.composer.IRuntimeKeyPrinter
getPrinter(com.aquima.interactions.composer.IPage page)
This method returns a runtime key printer to convert a runtime key to a string.
-
-
-
Method Detail
-
getParser
public IRuntimeKeyParser getParser(com.aquima.interactions.composer.IPage page)
Description copied from interface:IRuntimeKeyMapper
This method returns a runtime key parser to convert a string to a runtime key.- Specified by:
getParser
in interfaceIRuntimeKeyMapper
- Parameters:
page
- The page containing the elements with runtime keys.- Returns:
- The runtime key parser, never null.
-
getPrinter
public com.aquima.interactions.composer.IRuntimeKeyPrinter getPrinter(com.aquima.interactions.composer.IPage page)
Description copied from interface:IRuntimeKeyMapper
This method returns a runtime key printer to convert a runtime key to a string.- Specified by:
getPrinter
in interfaceIRuntimeKeyMapper
- Parameters:
page
- The page containing the elements with runtime keys.- Returns:
- The runtime key printer, never null.
-
-