public class LoggingValidationEventHandlerFactory extends Object implements IValidationEventHandlerFactory
IValidationEventHandlerFactory creating
LoggingValidationEventHandler objects.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENCAPSULATE_HANDLER
By default the old event handler is encapsulated into the created
LoggingValidationEventHandler. |
| Constructor and Description |
|---|
LoggingValidationEventHandlerFactory() |
LoggingValidationEventHandlerFactory(boolean bEncapsulateHandler) |
| Modifier and Type | Method and Description |
|---|---|
LoggingValidationEventHandler |
create(ValidationEventHandler aOldEventHandler)
Create a validation event handler
|
public static final boolean DEFAULT_ENCAPSULATE_HANDLER
LoggingValidationEventHandler.public LoggingValidationEventHandlerFactory()
public LoggingValidationEventHandlerFactory(boolean bEncapsulateHandler)
@Nonnull public LoggingValidationEventHandler 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 © 2006–2015 phloc systems. All rights reserved.