protected Map<String, Object> getVariables() {
    HashMap<String, Object> vars = new HashMap<>();
    Namespace[] nsa = getNamespaces();
    for (Map.Entry<String, Map<String, Object>> ue : xvariables.entrySet()) {
      final String uri = ue.getKey();
      final String pfx = getPrefixForURI(uri, nsa);
      for (Map.Entry<String, Object> ve : ue.getValue().entrySet()) {
        if ("".equals(pfx)) {
          vars.put(ve.getKey(), ve.getValue());
        }
        else {
          vars.put(pfx + ":" + ve.getKey(), ve.getValue());
        }
      }
    }
    return vars;
  }
protected Map<String, Object> getVariables()