Examples of reportProblems()


Examples of org.jibx.schema.validation.ValidationContext.reportProblems()

            ValidationContext vctx = new ValidationContext();
            ValidationUtils.load(resolves, null, vctx);
            ProblemMultiHandler handler = new ProblemMultiHandler();
            handler.addHandler(new ProblemConsoleLister());
            handler.addHandler(new ProblemLogLister(s_logger));
            if (vctx.reportProblems(handler)) {
                System.exit(2);
            }
           
            // build maps from qualified names to schema holders, and from schema to resolver (necessary since a new
            //  resolver will be set during the WSDL generation processing)
View Full Code Here

Examples of org.jibx.schema.validation.ValidationContext.reportProblems()

            } else {
                throw new IOException("Customization document root element must be 'schema-set' or 'schema'");
            }
           
        }
        if (vctx.reportProblems(handler)) {
            return null;
        }
        return custom;
    }
}
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.