Package org.gedcomx.types

Examples of org.gedcomx.types.ConfidenceLevel


          logger.warn(ConversionContext.getContext(), "GEDCOM X does not currently support text extracted from a source.");
          // dqSource.getText(); // see GEDCOM X issue 121 // TODO: address when the associated issue is resolved; log for now
          // sourceDescriptionHasData = true;
        }

        ConfidenceLevel gedxConfidenceLevel = toConfidenceLevel(dqSource.getQuality());
        if (gedxConfidenceLevel != null) {
          //todo: confidence level on source reference?
          sourceReferenceHasData = true;
        }
View Full Code Here


    return extractedDate;
  }

  public static ConfidenceLevel toConfidenceLevel(String dqQuality) {
    ConfidenceLevel confidenceLevel;

    if ("3".equals(dqQuality)) {
      confidenceLevel = ConfidenceLevel.High;
    } else if ("2".equals(dqQuality)) {
      confidenceLevel = ConfidenceLevel.Medium;
View Full Code Here

TOP

Related Classes of org.gedcomx.types.ConfidenceLevel

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.