Class ValidationProblem


  • public class ValidationProblem
    extends Object
    Problem reported by schema validation. Provides the details for a specific problem item. TODO: move this out of the schema package, generalize
    Author:
    Dennis M. Sosnoski
    • Method Detail

      • componentDescription

        public static String componentDescription​(Object obj)
        Create description text for a component of a binding definition.
        Parameters:
        obj - binding definition component
        Returns:
        component description
      • getComponent

        public Object getComponent()
        Get the main binding definition item for the problem.
        Returns:
        element or attribute at root of problem
      • getDescription

        public String getDescription()
        Get problem description.
        Returns:
        problem description
      • getSeverity

        public int getSeverity()
        Get problem severity level.
        Returns:
        severity level for problem