Class SubCommandMap
java.lang.Object
jp.vmi.selenium.selenese.subcommand.SubCommandMap
public class SubCommandMap extends Object
Replacement of WebDriverCommandProcessor for extention.
-
Constructor Summary
Constructors Constructor Description SubCommandMap()Constructor. -
Method Summary
Modifier and Type Method Description ISubCommand<?>get(String commandName)Get sub-command.Map<String,ISubCommand<?>>getMap()Get read-only sub-command map.voidregister(ISubCommand<?> subCommand)Register sub-command.voidregister(ISubCommand<?> subCommand, String name)Register sub-command.
-
Constructor Details
-
SubCommandMap
public SubCommandMap()Constructor.
-
-
Method Details
-
register
Register sub-command.- Parameters:
subCommand- ISubCommand object.
-
register
Register sub-command.- Parameters:
subCommand- ISubCommand object.name- command name.
-
get
Get sub-command.- Parameters:
commandName- sub-command name.- Returns:
- sub-command, or null if sub-command does not exist.
-
getMap
Get read-only sub-command map.- Returns:
- map.
-