}
private static OverviewDoc getOverviewDocFromExternalLink(ExternalLink link)
throws JAXRException
{
OverviewDoc od = objectFactory.createOverviewDoc();
String url = link.getExternalURI();
if(url != null)
od.setOverviewURL(url);
InternationalString extDesc = link.getDescription();
if(extDesc != null) {
Description description = objectFactory.createDescription();
od.getDescription().add(description);
description.setValue(extDesc.getValue());
}
return od;
}