Package org.corrib.s3b.sscf.beans

Examples of org.corrib.s3b.sscf.beans.ResourceWrapper


        //bookmark
        else
        {
          nc.setType("bookmark");
          BookmarkNode bn = new BookmarkNode();
          ResourceWrapper bookRes = new ResourceWrapper(resource,serviceAddr,true);
          bn.setId(resource.getResource().toString());
 
          if (bookRes.getAuthors() != null && bookRes.getTitle() != null) {
            bn.setLabel("<i>[" + bookRes.getAuthors() + "]</i> " + bookRes.getTitle());
          } else {
          //TODO: temporarly switched of to get some efficiency - will be substituted with - "fetch details" button
           
            if(resource.getLabel().contains("\"")||resource.getLabel().contains("'"))
              bn.setLabel(resource.getLabel().replace("\"", "\\\"").replace("'", "\\'"));
View Full Code Here

TOP

Related Classes of org.corrib.s3b.sscf.beans.ResourceWrapper

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.