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

Examples of org.corrib.s3b.sscf.tools.sscf2js.NodeContainer.toJSON()


      dn.setStandalone(standalone);
      nc.setContent(dn);
    }
   
    //add created nodes to the buffer
    nc.toJSON(buffer);
   
    //proceed the content of this resource

    if (hasContent&&!isDyn) {
      //parentIsOwner = isOwner;
View Full Code Here


    bn.setStandalone(standalone);
    bn.setHref(resource.getSeeAlso()!=null?resource.getSeeAlso().toString():resource.getStringURI());
    nc.setContent(bn);
   
    //add created nodes to the buffer
    nc.toJSON(buffer)
  }
 
  /**
   * Used to generate the HexBookmarkNode in the tree
   *
 
View Full Code Here

    bn.setStandalone(standalone);
    bn.setHref(resource.getSeeAlso().toString());
    nc.setContent(bn);
   
    //add created nodes to the buffer
    nc.toJSON(buffer)
  }
   
  /**
   * Creates the tree node from sscf resource (bookmark or different types of directories).
   *
 
View Full Code Here

          nc.setContent(bn);
        }
       
        //add created nodes to the buffer
        if(reachable)
          nc.toJSON(buffer);
      }
     
      //proceed the content of this resource
      if (hasContent&&reachable&&!isDyn) {
        //parentIsOwner = isOwner;
View Full Code Here

        n.setLevel(level);
       
        nc.setContent(n);
       
        //append the node to the buffer
        nc.toJSON(buffer);
       
        //proceed the content
        if (hasCont&&(own||onPath)) {
          //parentIsOwner = own;
         
View Full Code Here

          SugDirectoryNode sdn = new SugDirectoryNode();
          sdn.setId(resource.getResource().toString());
          sdn.setLevel(++level);
          sdn.setStandalone(standalone);
          nc.setContent(sdn);
          nc.toJSON(buffer);
        }
        this.bookmarksTree(it2, buffer, viewer, depth, session, level, parentIsOwner, standalone,true,inOwn,serviceAddr,selectedUri,pathsToUri);
       
        //if we were created virtual directory, we should decrement the level.
        if(it2!=null&&it2.hasNext()&&afterTheOwner)
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.