public class CollectingValidationEventHandlerFactory extends Object implements IValidationEventHandlerFactory
IValidationEventHandlerFactory creating
CollectingValidationEventHandler objects.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENCAPSULATE_HANDLER
By default the old event handler is encapsulated into the created
CollectingValidationEventHandler. |
| Constructor and Description |
|---|
CollectingValidationEventHandlerFactory() |
CollectingValidationEventHandlerFactory(boolean bEncapsulateHandler) |
| Modifier and Type | Method and Description |
|---|---|
CollectingValidationEventHandler |
create(ValidationEventHandler aOldEventHandler)
Create a validation event handler
|
boolean |
isEncapsulateHandler() |
public static final boolean DEFAULT_ENCAPSULATE_HANDLER
CollectingValidationEventHandler.public CollectingValidationEventHandlerFactory()
public CollectingValidationEventHandlerFactory(boolean bEncapsulateHandler)
public boolean isEncapsulateHandler()
@Nonnull public CollectingValidationEventHandler create(@Nullable ValidationEventHandler aOldEventHandler)
IValidationEventHandlerFactorycreate in interface IFactoryWithParameter<ValidationEventHandler,ValidationEventHandler>create in interface IValidationEventHandlerFactoryaOldEventHandler - The previous event handler that optionally may be encapsulated.null to
indicate that the default event handler should be used.Copyright © 2014–2015 Philip Helger. All rights reserved.