Package org.openbel.framework.common

Examples of org.openbel.framework.common.SimpleOutput.warning()


            ValidationResult vr = validationService.validate(document);
            for (String e : vr.getErrors()) {
                if (permissive) {
                    numWarnings++;
                    if (!quiet) {
                        reportable.warning("VALIDATION WARNING: " + e);
                    }
                } else {
                    numErrors++;
                    if (!quiet) {
                        reportable.error("VALIDATION ERROR: " + e);
View Full Code Here


                        reportable.error("VALIDATION ERROR: " + w);
                    }
                } else {
                    numWarnings++;
                    if (!quiet) {
                        reportable.warning("VALIDATION WARNING: " + w);
                    }
                }
            }

            if (summary) {
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.