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

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

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

origin: org.jibx/jibx-tools

/**
 * Report problems found in binding.
 * 
 * @param vctx Validation Context
 * @param handler Problem Handler
 */
private static void reportBindingProblems(org.jibx.binding.model.ValidationContext vctx, ProblemHandler handler) {
  StringBuffer buff = new StringBuffer();
  ArrayList problems = vctx.getProblems();
  for (int i = 0; i < problems.size(); i++) {
    org.jibx.binding.model.ValidationProblem prob =
      (org.jibx.binding.model.ValidationProblem)problems.get(i);
    buff.setLength(0);
    buff.append(prob.getSeverity() >= org.jibx.binding.model.ValidationProblem.ERROR_LEVEL ?
      "Error: " : "Warning: ");
    buff.append(prob.getDescription());
    handler.report(buff.toString());
  }
}
origin: org.jibx/jibx-tools

ArrayList probs = vctx.getProblems();
if (probs.size() > 0) {
  for (int i = 0; i < probs.size(); i++) {
origin: org.jibx/jibx-tools

ArrayList probs = m_context.getProblems();
boolean error = m_context.getErrorCount() > 0 || m_context.getFatalCount() > 0;
if (probs.size() > 0) {
origin: org.jibx/jibx-tools

if (vctx.getProblems().size() > 0) {
  reportBindingProblems(vctx, handler);
  if (vctx.getErrorCount() > 0 || vctx.getFatalCount() > 0) {
origin: org.apache.axis2/axis2-jibx

vctx.tourTree(binding, ipv);
if (vctx.getErrorCount() != 0 || vctx.getFatalCount() != 0) {
  ArrayList probs = vctx.getProblems();
  System.err.println("Errors in generated binding:");
  for (int j = 0; j < probs.size(); j++) {
origin: apache/axis2-java

vctx.tourTree(binding, ipv);
if (vctx.getErrorCount() != 0 || vctx.getFatalCount() != 0) {
  ArrayList probs = vctx.getProblems();
  System.err.println("Errors in generated binding:");
  for (int j = 0; j < probs.size(); j++) {
org.jibx.binding.modelValidationContextgetProblems

Popular methods of ValidationContext

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

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • addToBackStack (FragmentTransaction)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best plugins for Eclipse
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