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

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

Best Java code snippets using org.jibx.binding.model.ValidationContext.getErrorCount (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.modelValidationContextgetErrorCount

Popular methods of ValidationContext

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

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • JFrame (javax.swing)
  • JTable (javax.swing)
  • Top 17 Plugins for Android Studio
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