if(uri!=null&&!"".equals(uri.trim()))
{
WebBookmarkResource wbr = WebBookmarkResource.getWebBookmarkResource(uri);
if(wbr!=null)
{
WebResourceDescription wrd = new WebResourceDescription();
wrd.setName(wbr.getLabel());
if(wbr.getComment()!=null)
wrd.setDescription(wbr.getComment());
wrd.setLink(wbr.getSeeAlso().toString());
wrd.setTags(wbr.getTags());
return wrd.toJSON();
}
}
return null;
}