Class XmlValidationEventHandler

java.lang.Object
javax.xml.bind.helpers.DefaultValidationEventHandler
ddf.catalog.transformer.xml.XmlValidationEventHandler
All Implemented Interfaces:
javax.xml.bind.ValidationEventHandler

public class XmlValidationEventHandler extends javax.xml.bind.helpers.DefaultValidationEventHandler
This class extends the default Oracle handler in a effort to avoid printing to the console and instead log exceptions and errors. The class should exhibit the same behavior and perform the same as the DefaultValidationEventHandler otherwise.
  • Constructor Details

    • XmlValidationEventHandler

      public XmlValidationEventHandler()
  • Method Details

    • handleEvent

      public boolean handleEvent(javax.xml.bind.ValidationEvent event)
      Specified by:
      handleEvent in interface javax.xml.bind.ValidationEventHandler
      Overrides:
      handleEvent in class javax.xml.bind.helpers.DefaultValidationEventHandler