Class ContextProvidingValidationEventHandler

  • All Implemented Interfaces:
    jakarta.xml.bind.ValidationEventHandler

    public class ContextProvidingValidationEventHandler
    extends Object
    implements jakarta.xml.bind.ValidationEventHandler
    ValidationEventHandler implementation providing easier access to where (line/column) an error occurred.
    • Constructor Detail

      • ContextProvidingValidationEventHandler

        public ContextProvidingValidationEventHandler()
    • Method Detail

      • handleEvent

        public boolean handleEvent​(jakarta.xml.bind.ValidationEvent validationEvent)
        Specified by:
        handleEvent in interface jakarta.xml.bind.ValidationEventHandler
      • getLineNumber

        public int getLineNumber()
      • getColumnNumber

        public int getColumnNumber()
      • getMessage

        public String getMessage()