this.varMapping = varMapping;
}
@Override
protected Binding moveToNextBinding() {
Binding b = super.moveToNextBinding();
if (this.varMapping == null)
return b;
// Apply remapping
BindingMap binding = BindingFactory.create();
Iterator<Var> vs = b.vars();
while (vs.hasNext()) {
Var v = vs.next();
Node value = b.get(v);
// Only remap non-null variables for which there is a mapping
if (value == null)
continue;
if (this.varMapping.containsKey(v)) {