private String[] getJCRNames(Name[] names) throws NamespaceException {
   if (names == null) {
     return null;
   }
   String[] ret = new String[names.length];
   for (int i = 0; i < names.length; i++) {
     ret[i] = resolver.getJCRName(names[i]);
   }
   return ret;
 }
 private String getJCRName(Name name) throws NamespaceException {
   if (name == null) {
     return null;
   }
   return resolver.getJCRName(name);
 }