Package jp.vmi.selenium.selenese
Class VarsMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
public class VarsMap extends HashMap<String,Object>
Variable Map.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object> -
Constructor Summary
Constructors Constructor Description VarsMap()Constructor. -
Method Summary
Modifier and Type Method Description StringreplaceVars(boolean isScript, String expr)Replace variable reference to value.StringreplaceVars(String expr)Deprecated.String[]replaceVarsForArray(String[] exprs)Deprecated.usereplaceVars(boolean, String)sithArrays.stream(Object[])instaed.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
VarsMap
public VarsMap()Constructor.
-
-
Method Details
-
replaceVars
Deprecated.usereplaceVars(boolean, String)instead.Replace variable reference to value.- Parameters:
expr- expression string.- Returns:
- replaced string.
-
replaceVars
Replace variable reference to value.- Parameters:
isScript- true if expr is ECMA script string.expr- expression string.- Returns:
- replaced string.
-
replaceVarsForArray
Deprecated.usereplaceVars(boolean, String)sithArrays.stream(Object[])instaed.Replace variable reference to value for each strings.- Parameters:
exprs- expression strings.- Returns:
- replaced strings.
-
replaceVars(boolean, String)instead.