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