Class AbstractSubCommand<T>
java.lang.Object
jp.vmi.selenium.selenese.subcommand.AbstractSubCommand<T>
- Type Parameters:
T- the result type of sub-command.
- All Implemented Interfaces:
ArgumentInfo,ISubCommand<T>
- Direct Known Subclasses:
GetAlert,GetAllButtons,GetAllFields,GetAllLinks,GetAllWindowNames,GetAllWindowTitles,GetAttribute,GetAttributeFromAllWindows,GetBodyText,GetConfirmation,GetCookie,GetCookieByName,GetCssCount,GetCursorPosition,GetElementHeight,GetElementIndex,GetElementPositionLeft,GetElementPositionTop,GetElementWidth,GetEval,GetExpression,GetHtmlSource,GetLocation,GetNativeAlert,GetPrompt,GetSelected,GetSelectOptions,GetSpeed,GetTable,GetText,GetTitle,GetValue,GetWindowHandle,GetXpathCount,IsAlertPresent,IsChecked,IsConfirmationPresent,IsCookiePresent,IsEditable,IsElementPresent,IsNativeAlertPresent,IsOrdered,IsPromptPresent,IsSomethingSelected,IsTextPresent,IsVisible,NoOp
public abstract class AbstractSubCommand<T> extends Object implements ISubCommand<T>
Base implementation of sub-command.
-
Constructor Summary
Constructors Constructor Description AbstractSubCommand(ArgumentType... argTypes)Constructor. -
Method Summary
Modifier and Type Method Description ArgumentType[]getArgumentTypes()Get arguments of this sub-command.StringgetName()Get sub-command name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jp.vmi.selenium.selenese.ArgumentInfo
getArgumentCountMethods inherited from interface jp.vmi.selenium.selenese.subcommand.ISubCommand
execute
-
Constructor Details
-
AbstractSubCommand
Constructor.- Parameters:
argTypes- argument types of this sub-command.
-
-
Method Details
-
getName
Description copied from interface:ISubCommandGet sub-command name.- Specified by:
getNamein interfaceISubCommand<T>- Returns:
- sub-command name.
-
getArgumentTypes
Description copied from interface:ISubCommandGet arguments of this sub-command.- Specified by:
getArgumentTypesin interfaceISubCommand<T>- Returns:
- arguments of thie sub-command.
-