}
private static OverviewDoc getOverviewDocFromExternalLink(ExternalLink link)
throws JAXRException
{
OverviewDoc od = (OverviewDoc)(XmlObject.Factory.newInstance()).changeType(OverviewDoc.type);
String url = link.getExternalURI();
if(url != null)
od.setOverviewURL(url);
InternationalString extDesc = link.getDescription();
if(extDesc != null) {
Description description = od.addNewDescription();
description.setStringValue(extDesc.getValue());
}
return od;
}