congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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