Package com.aquima.web.ui
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
Constructors Constructor Description IdentityRuntimeKeyMapper()
-
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.com.aquima.interactions.composer.RuntimeKey
parse(String key)
This method parses the string and returns the runtime key.String
printRuntimeKey(com.aquima.interactions.composer.RuntimeKey key)
-
-
-
Method Detail
-
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.
-
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.
-
printRuntimeKey
public String printRuntimeKey(com.aquima.interactions.composer.RuntimeKey key)
- Specified by:
printRuntimeKey
in interfacecom.aquima.interactions.composer.IRuntimeKeyPrinter
-
parse
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 interfaceIRuntimeKeyParser
- Parameters:
key
- The key to parse.- Returns:
- The resulting runtime key, may be null when the key could not be parsed.
-
-