public static String getLabel(Did did) { String returnString = "Unknown component"; for (Object o : did.getMDid()) { if (o instanceof Unittitle) { return StringHelper.cleanUpWhiteSpace(EADHelper.ObjectNodetoString(o)); } } return returnString; }
public List getChildren(Object element) { // Retrieve child nodes of <archdesc> Did did = (Did) element; List didChildren = did.getMDid(); return didChildren; }