Tabnine Logo
ValidationContext.getFatalCount
Code IndexAdd Tabnine to your IDE (free)

How to use
getFatalCount
method
in
org.jibx.binding.model.ValidationContext

Best Java code snippets using org.jibx.binding.model.ValidationContext.getFatalCount (Showing top 7 results out of 315)

origin: org.jibx/jibx-tools

FileInputStream is = new FileInputStream(file);
BindingElement binding = BindingElement.validateBinding(root.getFileName(), file.toURI().toURL(), is, vctx);
if (binding == null || vctx.getErrorCount() > 0 || vctx.getFatalCount() > 0) {
  return null;
} else {
origin: org.jibx/jibx-tools

  System.out.println(prob.getDescription());
if (vctx.getErrorCount() > 0 || vctx.getFatalCount() > 0) {
  throw new JiBXException("Errors in binding");
origin: org.jibx/jibx-tools

if (vctx.getErrorCount() > 0 || vctx.getFatalCount() > 0) {
  throw new JiBXException("Errors in binding");
origin: org.jibx/jibx-tools

boolean error = m_context.getErrorCount() > 0 || m_context.getFatalCount() > 0;
if (probs.size() > 0) {
  System.out.print(error ? "Errors" : "Warnings");
origin: org.jibx/jibx-tools

ValidationContext vctx = new ValidationContext(parms.getLocator());
BindingElement binding = BindingElement.validateBinding(name, url, is, vctx);
if (vctx.getErrorCount() == 0 && vctx.getFatalCount() == 0) {
  bindings.add(binding);
} else {
origin: apache/axis2-java

IncludePrevalidationVisitor ipv = new IncludePrevalidationVisitor(vctx);
vctx.tourTree(binding, ipv);
if (vctx.getErrorCount() != 0 || vctx.getFatalCount() != 0) {
  ArrayList probs = vctx.getProblems();
  System.err.println("Errors in generated binding:");
origin: org.apache.axis2/axis2-jibx

IncludePrevalidationVisitor ipv = new IncludePrevalidationVisitor(vctx);
vctx.tourTree(binding, ipv);
if (vctx.getErrorCount() != 0 || vctx.getFatalCount() != 0) {
  ArrayList probs = vctx.getProblems();
  System.err.println("Errors in generated binding:");
org.jibx.binding.modelValidationContextgetFatalCount

Popular methods of ValidationContext

  • getErrorCount
  • getProblems
  • setBindingRoot
  • tourTree
  • addFatal
  • getFormatDefinitions
  • <init>
  • addError
  • addWarning
  • getParentElement

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • getSystemService (Context)
  • Menu (java.awt)
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Join (org.hibernate.mapping)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now