Beispiel #1
0
 /** {@inheritDoc} */
 public boolean resolve(String expanded, Map<Variable, Object> values) {
   values.put(this._var, URICoder.decode(expanded));
   return true;
 }
Beispiel #2
0
 /**
  * {@inheritDoc}
  *
  * @throws UnsupportedEncodingException
  */
 public String expand(Parameters variables) throws UnsupportedEncodingException {
   return URICoder.encode(this._var.value(variables));
 }