Examples of GedcomValidator


Examples of org.gedcom4j.validate.GedcomValidator

     *             finding of severity ERROR (and validation is not suppressed - see
     *             {@link GedcomWriter#validationSuppressed})
     */
    public void write(OutputStream out, boolean littleEndianForUnicode) throws GedcomWriterException {
        if (!validationSuppressed) {
            GedcomValidator gv = new GedcomValidator(gedcom);
            gv.autorepair = autorepair;
            gv.validate();
            validationFindings = gv.findings;
            int numErrorFindings = 0;
            for (GedcomValidationFinding f : validationFindings) {
                if (f.severity == Severity.ERROR) {
                    numErrorFindings++;
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.