Examples of WebResourceDescription


Examples of org.corrib.s3b.sscf.tools.sscf2js.WebResourceDescription

    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;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.