Class IdentityRuntimeKeyMapper

java.lang.Object
com.aquima.web.ui.IdentityRuntimeKeyMapper
All Implemented Interfaces:
com.aquima.interactions.composer.IRuntimeKeyPrinter, IRuntimeKeyMapper, IRuntimeKeyParser

public class IdentityRuntimeKeyMapper extends Object implements IRuntimeKeyMapper, com.aquima.interactions.composer.IRuntimeKeyPrinter, IRuntimeKeyParser
Runtime key mapper that uses the default string representation of the key
Since:
10.4
Author:
j.koehoorn
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    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.
    com.aquima.interactions.composer.RuntimeKey
    This method parses the string and returns the runtime key.
    printRuntimeKey(com.aquima.interactions.composer.RuntimeKey key)
     

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • IdentityRuntimeKeyMapper Link icon

      public IdentityRuntimeKeyMapper()
  • Method Details Link icon

    • getPrinter Link icon

      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.
    • getParser Link icon

      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.
    • printRuntimeKey Link icon

      public String printRuntimeKey(com.aquima.interactions.composer.RuntimeKey key)
      Specified by:
      printRuntimeKey in interface com.aquima.interactions.composer.IRuntimeKeyPrinter
    • parse Link icon

      public com.aquima.interactions.composer.RuntimeKey parse(String key)
      Description copied from interface: IRuntimeKeyParser
      This method parses the string and returns the runtime key.
      Specified by:
      parse in interface IRuntimeKeyParser
      Parameters:
      key - The key to parse.
      Returns:
      The resulting runtime key, may be null when the key could not be parsed.