Package jp.vmi.selenium.selenese
Class VarsMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- jp.vmi.selenium.selenese.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringreplaceVars(boolean isScript, String expr)Replace variable reference to value.StringreplaceVars(String expr)Deprecated.usereplaceVars(boolean, String)instead.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, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
replaceVars
@Deprecated public String replaceVars(String expr)
Deprecated.usereplaceVars(boolean, String)instead.Replace variable reference to value.- Parameters:
expr- expression string.- Returns:
- replaced string.
-
replaceVars
public String replaceVars(boolean isScript, String expr)
Replace variable reference to value.- Parameters:
isScript- true if expr is ECMA script string.expr- expression string.- Returns:
- replaced string.
-
replaceVarsForArray
@Deprecated public String[] replaceVarsForArray(String[] exprs)
Deprecated.usereplaceVars(boolean, String)sithArrays.stream(Object[])instaed.Replace variable reference to value for each strings.- Parameters:
exprs- expression strings.- Returns:
- replaced strings.
-
-