Package com.axway.ats.uiengine.elements
Class UiElementProperties
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElementProperties
-
public class UiElementProperties extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
MAP_ID_INTERNAL_PARAM
-
Constructor Summary
Constructors Constructor Description UiElementProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInternalProperty(String name, String value)
UiElementProperties
addProperty(String name, String value)
String[]
checkTypeAndRules(String userType, String userTypePrefix, String... rules)
Check types and rules for matching/finding an UI elementboolean
containsInternalProperty(String name)
String
getInternalProperty(String name)
Properties
getPropertiesCopy()
Set<Object>
getPropertiesKeys()
For internal useint
getPropertiesSize()
Number of element's non-internal propertiesString
getProperty(String name)
String
toString()
-
-
-
Field Detail
-
MAP_ID_INTERNAL_PARAM
public static final String MAP_ID_INTERNAL_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
containsInternalProperty
public boolean containsInternalProperty(String name)
-
addProperty
public UiElementProperties addProperty(String name, String value)
-
getPropertiesSize
public int getPropertiesSize()
Number of element's non-internal properties- Returns:
- the number of element's properties
-
getPropertiesKeys
public Set<Object> getPropertiesKeys()
For internal use- Returns:
- get all property keys
-
getPropertiesCopy
public Properties getPropertiesCopy()
-
checkTypeAndRules
public String[] checkTypeAndRules(String userType, String userTypePrefix, String... rules) throws BadUiElementPropertyException, ErrorMatchingElementRules
Check types and rules for matching/finding an UI element- Parameters:
userType
- the class name, e.g. "HtmlTextBox"userTypePrefix
- the element family prefix, e.g. "Html"rules
- the element identification rules- Returns:
- the parsed matching rule as String array of attributes which should be found
- Throws:
BadUiElementPropertyException
ErrorMatchingElementRules
-
-