Package | Description |
---|---|
javax.faces.application |
APIs that are used to link an application's
business logic objects to JavaServer Faces, as well as convenient
pluggable mechanisms to manage the execution of an application that is
based on JavaServer Faces.
|
javax.faces.component |
Fundamental APIs for user
interface components.
|
javax.faces.validator |
Interface
defining the validator model, and concrete validator implementation classes.
|
javax.faces.webapp |
Classes required for integration of
JavaServer Faces into web applications, including a standard servlet,
base classes for JSP custom component
tags, and concrete tag implementations for core tags.
|
Modifier and Type | Method and Description |
---|---|
Validator |
ApplicationWrapper.createValidator(String validatorId)
The default behavior of this method
is to call |
abstract Validator |
Application.createValidator(String validatorId)
Instantiate and
return a new
Validator instance of the class specified by
a previous call to addValidator() for the specified
validator id. |
Modifier and Type | Method and Description |
---|---|
Validator[] |
UIInput.getValidators()
|
Validator[] |
EditableValueHolder.getValidators()
Return the set of registered
Validator s for this
component instance. |
Modifier and Type | Method and Description |
---|---|
void |
UIInput.addValidator(Validator validator)
|
void |
EditableValueHolder.addValidator(Validator validator)
Add a
Validator instance to the set associated with this
component. |
void |
UIInput.removeValidator(Validator validator)
|
void |
EditableValueHolder.removeValidator(Validator validator)
Remove a
Validator instance from the set associated with
this component, if it was previously associated. |
Modifier and Type | Class and Description |
---|---|
class |
BeanValidator
A Validator that delegates validation of the bean property to the Bean Validation API. |
class |
DoubleRangeValidator
DoubleRangeValidator
is a
Validator that checks the value of the corresponding
component against specified minimum and maximum values. |
class |
LengthValidator
LengthValidator is a
Validator that checks the number of characters in the String
representation of the value of the associated component. |
class |
LongRangeValidator
LongRangeValidator is a
Validator that checks the value of the corresponding
component against specified minimum and maximum values. |
class |
MethodExpressionValidator
MethodExpressionValidator
is a
Validator that wraps a MethodExpression , and it
performs validation by executing a method on an object identified by
the MethodExpression . |
class |
RegexValidator
A Validator that checks against a Regular Expression (which is the pattern property). |
class |
RequiredValidator
A Validator that checks for an empty value in the same way that UIInput checks for a value. |
Modifier and Type | Method and Description |
---|---|
protected Validator |
ValidatorTag.createValidator()
Deprecated.
Create and return a new
Validator to be registered
on our surrounding UIComponent . |
protected abstract Validator |
ValidatorELTag.createValidator()
Create and return a new
Validator to be registered
on our surrounding UIComponent . |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.