Package edu.harvard.hul.ois.fits.identity

Examples of edu.harvard.hul.ois.fits.identity.ExternalIdentifier


        ToolIdentity identity = new ToolIdentity(mimetype,format,version,info);
        List<Element> xIDElements = element.getChildren("externalIdentifier",ns);
        for(Element xIDElement : xIDElements) {
          String type = xIDElement.getAttributeValue("type");
          String value = xIDElement.getText();
          ExternalIdentifier xid = new ExternalIdentifier(type,value,info);
          identity.addExternalIdentifier(xid);
        }
        identities.add(identity);
      }
    } catch (JDOMException e) {
View Full Code Here


            toolInfo.setName(toolNameAttr.getValue());
          }
          if(toolVersionAttr != null) {
            toolInfo.setVersion(toolVersionAttr.getValue());
          }
          ExternalIdentifier xid = new ExternalIdentifier(type,value,toolInfo);
          fileIdentSect.addExternalID(xid);
        }
        identities.add(fileIdentSect);
      }
    } catch (JDOMException e) {
View Full Code Here

TOP

Related Classes of edu.harvard.hul.ois.fits.identity.ExternalIdentifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.