Class 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 Detail

      • ReadableRuntimeKeyMapper

        public ReadableRuntimeKeyMapper()
    • 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 interface IRuntimeKeyMapper
        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 interface IRuntimeKeyMapper
        Parameters:
        page - The page containing the elements with runtime keys.
        Returns:
        The runtime key printer, never null.