Package org.cipres.treebase.domain.nexus

Examples of org.cipres.treebase.domain.nexus.NexusDataSet


  @Override
  protected String getFileContent(long blockid, HttpServletRequest request) {
    TreeBlock treeBlock = getPhyloTreeHome().findTreeBlockById(blockid);   
    if ( getFormat(request) == FORMAT_NEXML || getFormat(request) == FORMAT_RDF ) {
      NexusDataSet nexusDataSet = new NexusDataSet();
      nexusDataSet.getTaxonLabelSets().add(treeBlock.getTaxonLabelSet());
      nexusDataSet.getTreeBlocks().add(treeBlock);
      return getNexmlService().serialize(nexusDataSet,getDefaultProperties(request));
    }
    /*else if ( getFormat(request) == FORMAT_RDF ) {
      NexusDataSet nexusDataSet = new NexusDataSet();
      nexusDataSet.getTaxonLabelSets().add(treeBlock.getTaxonLabelSet());
View Full Code Here

TOP

Related Classes of org.cipres.treebase.domain.nexus.NexusDataSet

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.