Package org.corrib.s3b.sscf.tools.sscf2js

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

Related Classes of org.corrib.s3b.sscf.tools.sscf2js.WebResourceDescription

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.