Package org.cipres.treebase.domain.search

Examples of org.cipres.treebase.domain.search.SearchResultsType


    return getDocument();
  }
 
  public Document fromTreeBaseToXml(SearchResults<?> searchResults) {
    getDocument().addAnnotationValue("skos:historyNote", Constants.SKOSURI, "Mapped from TreeBASE schema using "+this.toString()+" $Rev: 1060 $");
    SearchResultsType srt = searchResults.resultType();
    switch(srt) {
      case STUDY : return fromTreeBaseToXml((StudySearchResults) searchResults);
      case MATRIX : return fromTreeBaseToXml((MatrixSearchResults) searchResults);
      case TREE : return fromTreeBaseToXml((TreeSearchResults) searchResults);
      case TAXON : return fromTreeBaseToXml((TaxonSearchResults) searchResults);
View Full Code Here

TOP

Related Classes of org.cipres.treebase.domain.search.SearchResultsType

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.