public class ConstantValidationEventHandlerFactory extends Object implements IValidationEventHandlerFactory
IValidationEventHandlerFactory using a constant
ValidationEventHandler object.| Constructor and Description |
|---|
ConstantValidationEventHandlerFactory(ValidationEventHandler aEventHandler) |
| Modifier and Type | Method and Description |
|---|---|
ValidationEventHandler |
apply(ValidationEventHandler aOldEventHandler)
Create a validation event handler
|
ValidationEventHandler |
getEventHandler() |
public ConstantValidationEventHandlerFactory(@Nullable ValidationEventHandler aEventHandler)
@Nullable public ValidationEventHandler getEventHandler()
@Nullable public ValidationEventHandler apply(@Nullable ValidationEventHandler aOldEventHandler)
IValidationEventHandlerFactoryapply in interface IValidationEventHandlerFactoryapply in interface Function<ValidationEventHandler,ValidationEventHandler>aOldEventHandler - The previous event handler that optionally may be encapsulated.null to
indicate that the default event handler should be used.Copyright © 2015–2018 Philip Helger. All rights reserved.