public class ValidateBindingFactory extends Object implements BindingFactory
FieldValidator
based on a validator specification.
This binding factory is only useable with components that implement the Field
interface.Constructor and Description |
---|
ValidateBindingFactory(FieldValidatorSource fieldValidatorSource,
StringInterner interner) |
Modifier and Type | Method and Description |
---|---|
Binding |
newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
Creates a new binding instance.
|
public ValidateBindingFactory(FieldValidatorSource fieldValidatorSource, StringInterner interner)
public Binding newBinding(String description, ComponentResources container, ComponentResources component, String expression, Location location)
BindingFactory
newBinding
in interface BindingFactory
description
- of the binding, such as, "parameter foo"container
- the component, as represented by its resources, for which a binding is to be created.component
- the component whose parameter is to be bound by the resulting binding (rarely used)location
- from which the binding was generate, or null if not known5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.