|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FacesConfigValidatorType
The "validator" element represents a concrete Validator implementation class that should be registered under the specified validator identifier. Validator identifiers must be unique within the entire web application. Nested "attribute" elements identify generic attributes that may be configured on the corresponding UIComponent in order to affect the operation of the Validator. Nested "property" elements identify JavaBeans properties of the Validator implementation class that may be configured to affect the operation of the Validator. "attribute" and "property" elements are intended to allow component developers to more completely describe their components to tools and users. These elements have no required runtime semantics.
Java class for faces-config-validatorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-validatorType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="validator-id" type="{http://java.sun.com/xml/ns/javaee}string"/>
<element name="validator-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="attribute" type="{http://java.sun.com/xml/ns/javaee}faces-config-attributeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="property" type="{http://java.sun.com/xml/ns/javaee}faces-config-propertyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="validator-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-validator-extensionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
List<FacesConfigAttributeType> |
getAttribute()
Gets the value of the attribute property. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property. |
List<IconType> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
List<FacesConfigPropertyType> |
getProperty()
Gets the value of the property property. |
FullyQualifiedClassType |
getValidatorClass()
Gets the value of the validatorClass property. |
List<FacesConfigValidatorExtensionType> |
getValidatorExtension()
Gets the value of the validatorExtension property. |
String |
getValidatorId()
Gets the value of the validatorId property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setValidatorClass(FullyQualifiedClassType value)
Sets the value of the validatorClass property. |
void |
setValidatorId(String value)
Sets the value of the validatorId property. |
| Method Detail |
|---|
List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
List<IconType> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
String getValidatorId()
Stringvoid setValidatorId(String value)
value - allowed object is
StringFullyQualifiedClassType getValidatorClass()
FullyQualifiedClassTypevoid setValidatorClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeList<FacesConfigAttributeType> getAttribute()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the attribute property.
For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
FacesConfigAttributeType
List<FacesConfigPropertyType> getProperty()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
FacesConfigPropertyType
List<FacesConfigValidatorExtensionType> getValidatorExtension()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the validatorExtension property.
For example, to add a new item, do as follows:
getValidatorExtension().add(newItem);
Objects of the following type(s) are allowed in the list
FacesConfigValidatorExtensionType
String getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||