Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public List getChildren(Object element) {
   // Retrieve child nodes of <archdesc>
   Did did = (Did) element;
   List didChildren = did.getMDid();
   return didChildren;
 }