return ops.getRootXRef();
Element e = ops.getElementById(id);
if (e != null)
return e.getSelfRef();
}
XRef ref;
if (unresolvedXRefMap == null || (ref = (XRef) unresolvedXRefMap.get(id)) == null) {
if (unresolvedXRefMap == null)
unresolvedXRefMap = new Hashtable();
ref = new XRef(r, id);
unresolvedXRefMap.put((id == null ? "" : id), ref);
}
return ref;
}