Handles setting a jakarta. instance on an
jakarta. parent. Will wire all attributes set to the
Validator instance created/fetched. Uses the "binding" attribute for grabbing instances to apply
attributes to.
Will only set/create Validator is the passed UIComponent's parent is null, signifying that it wasn't restored from an existing tree.
| Modifier and Type | Field and Description |
|---|---|
| private ValidatorConfig | |
| private TagHandlerDelegate | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | ValidatorHandler(ValidatorConfig
the config)TagConfig subclass for this kind of attached object.
Construct this instance around the configuration information in argument |
| Modifier and Type | Method and Description |
|---|---|
| protected TagHandlerDelegate | Returns: the implementation specific delegate instanceImplements abstract jakarta. Return the implementation specific delegate instance that provides the bulk of the work for this handler instance. |
| public ValidatorConfig | Returns: theTagConfig subclass used to configure this handler instance.
Return the |
| public String | Returns: the validator-idthe FaceletContext for this ctx)Facelet
Retrieve the id of the validator that is to be created and added to the parent |
| config | back to summary |
|---|---|
| private ValidatorConfig config | |
| helper | back to summary |
|---|---|
| private TagHandlerDelegate helper | |
| validatorId | back to summary |
|---|---|
| private String validatorId | |
| ValidatorHandler | back to summary |
|---|---|
| public ValidatorHandler(ValidatorConfig config)
Construct this instance around the configuration information in argument
| |
| getTagHandlerDelegate | back to summary |
|---|---|
| protected TagHandlerDelegate getTagHandlerDelegate() Implements abstract jakarta. Return the implementation specific delegate instance that provides the bulk of the work for this handler instance.
| |
| getValidatorConfig | back to summary |
|---|---|
| public ValidatorConfig getValidatorConfig()
Return the
| |
| getValidatorId | back to summary |
|---|---|
| public String getValidatorId(FaceletContext ctx)
Retrieve the id of the validator that is to be created and added to the parent
| |