Examples of GEDCOMSearchView


Examples of net.sourceforge.gedapi.view.GEDCOMSearchView

    // searchCriteria with increasing the relevance metric on each derived variation.
    // Need to determine what are the variation algorithms and what the relevance
    // metric will be for each derived variation.
   
    LOG.finer("Beginning search for '"+searchCriteria+"' within search scope '"+searchScope+"'.");
    GEDCOMSearchView searchView = new GEDCOMSearchView();
    searchView.gedcomurl = gedcomurl.getGedcomURL();
    GedcomSearch.findGLinks(gedcom, searchCriteria, searchScope, searchView.getGlinkURLs(), gedcomurl);
    LOG.finer("DONE searching for '"+searchCriteria+"' and found '"+searchView.glinkURLs.size()+"' results.");
   
    return searchView;
  }
View Full Code Here

Examples of net.sourceforge.gedapi.view.GEDCOMSearchView

  public static BaseView gedcomAllGLinksView(Gedcom gedcom, GLinkURL gedcomURL)
  {
    //A) Internal - inside the .ged file - do a search to find these - search in this method's gedcom parameter
    String searchCriteria = "GLink";
    String searchScope = "INDI:EVEN:TYPE";
    GEDCOMSearchView searchView = new GEDCOMSearchView();
    searchView.gedcomurl = gedcomURL.getGedcomURL();
    GedcomSearch.findGLinks(gedcom, searchCriteria, searchScope, searchView.getGlinkURLs(), gedcomURL);
   
    //B) External - cached in the Central Site and can easily be found with a file search - .glink.xml.cached
    //find all of the .glink.xml.cached files in the Central Site located in the gedcomURL directory
    //load in those .glink.xml.cached files and populate searchView with the [name, GLinkURL] result pairs
    //C) Central Site - a person added these GLinks to the Central Site via the GEDCOM Central Site GLink form - .glink.xml
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.