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 -
Method Summary
Modifier and TypeMethodDescriptiongetParser
(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)
-
Constructor Details
-
Method Details
-
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
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
- Specified by:
printRuntimeKey
in interfacecom.aquima.interactions.composer.IRuntimeKeyPrinter
-
parse
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.
-