public class TemplateVariables extends Properties
TemplateVariables holds a set of defined XPath variables| Constructor and Description | 
|---|
TemplateVariables()  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
putQuoted(String key,
         String value)
Assigns a string value to an XPath variable. 
 | 
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, valuespublic Object putQuoted(String key, String value)
Properties.setProperty(String, String). In XPath
 there is no quoting mechanism. Strings are enclosed by either
 single quotes or double quotes. If value contains both
 single and double quotes the double quotes are replaced by
 single quotes and the string is enclosed by double quotes.
 If this is not the desired behavior use the method
 Properties.setProperty(String, String) instead.
 Neither key nor the value can be null.key - the name of the XPath variable. The variable can be
              used in XPath expressions as $keyvalue - key will be assigned the value enclosed in single quotes
              thus represented as an XPath string.NullPointerException - if the key or value is
              null