Class GenericValidationEventCollector

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

    public class GenericValidationEventCollector
    extends javax.xml.bind.util.ValidationEventCollector
    Default framework implementation for schema validation purpose - used mainly for capture all schema violations during marshaling/unmarshalling xml based configuration. Note: For details please look CockpitConfigurationService, WidgetPersistenceService
    • Constructor Detail

      • GenericValidationEventCollector

        public GenericValidationEventCollector()
    • Method Detail

      • 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.util.ValidationEventCollector
      • getSchemaValidationMessage

        public java.lang.String getSchemaValidationMessage()
      • getSchemaValidationMessage

        public static java.lang.String getSchemaValidationMessage​(javax.xml.bind.ValidationEvent event)