dn.setStandalone(standalone);
nc.setContent(dn);
}
else if (resource instanceof SiocSiteResource) {
SiocSiteResource ssr = SiocSiteResource.getInstance(resource.getStringURI());
hasContent = ssr.hasContent();
nc.setType("siocSite");
DirectoryNode dn = new DirectoryNode();
dn.setId(resource.getResource().toString());
dn.setLevel(level);
dn.setLabel("Site: "+ssr.getTitle());
dn.setOwn(isOwner);
//TODO - get owner from this tags
//dn.setOwnerMbox((owner != null) ? (owner.getMbox().toString()) : "");
//dn.setOwnerName((owner != null) ? (owner.getName()) : "");
dn.setOwnerMbox("");