org.apache.openejb.jee
Class FacesValidator

java.lang.Object
  extended by org.apache.openejb.jee.FacesValidator

public class FacesValidator
extends java.lang.Object

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://www.w3.org/2001/XMLSchema}string"/>
         <element name="validator-class" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <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>
 


Field Summary
protected  java.util.List<FacesAttribute> attribute
           
protected  java.util.List<DescriptionType> description
           
protected  java.util.List<java.lang.String> displayName
           
protected  java.util.List<Icon> icon
           
protected  java.lang.String id
           
protected  java.util.List<FacesProperty> property
           
protected  java.lang.String validatorClass
           
protected  java.util.List<FacesValidatorExtension> validatorExtension
           
protected  java.lang.String validatorId
           
 
Constructor Summary
FacesValidator()
           
 
Method Summary
 java.util.List<FacesAttribute> getAttribute()
          Gets the value of the attribute property.
 java.util.List<DescriptionType> getDescription()
          Gets the value of the description property.
 java.util.List<java.lang.String> getDisplayName()
          Gets the value of the displayName property.
 java.util.List<Icon> getIcon()
          Gets the value of the icon property.
 java.lang.String getId()
          Gets the value of the id property.
 java.util.List<FacesProperty> getProperty()
          Gets the value of the property property.
 java.lang.String getValidatorClass()
          Gets the value of the validatorClass property.
 java.util.List<FacesValidatorExtension> getValidatorExtension()
          Gets the value of the validatorExtension property.
 java.lang.String getValidatorId()
          Gets the value of the validatorId property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setValidatorClass(java.lang.String value)
          Sets the value of the validatorClass property.
 void setValidatorId(java.lang.String value)
          Sets the value of the validatorId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.util.List<DescriptionType> description

displayName

protected java.util.List<java.lang.String> displayName

icon

protected java.util.List<Icon> icon

validatorId

protected java.lang.String validatorId

validatorClass

protected java.lang.String validatorClass

attribute

protected java.util.List<FacesAttribute> attribute

property

protected java.util.List<FacesProperty> property

validatorExtension

protected java.util.List<FacesValidatorExtension> validatorExtension

id

protected java.lang.String id
Constructor Detail

FacesValidator

public FacesValidator()
Method Detail

getDescription

public java.util.List<DescriptionType> getDescription()
Gets the value of the description property.

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


getDisplayName

public java.util.List<java.lang.String> getDisplayName()
Gets the value of the displayName property.

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 String


getIcon

public java.util.List<Icon> getIcon()
Gets the value of the icon property.

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 Icon


getValidatorId

public java.lang.String getValidatorId()
Gets the value of the validatorId property.

Returns:
possible object is String

setValidatorId

public void setValidatorId(java.lang.String value)
Sets the value of the validatorId property.

Parameters:
value - allowed object is String

getValidatorClass

public java.lang.String getValidatorClass()
Gets the value of the validatorClass property.

Returns:
possible object is String

setValidatorClass

public void setValidatorClass(java.lang.String value)
Sets the value of the validatorClass property.

Parameters:
value - allowed object is String

getAttribute

public java.util.List<FacesAttribute> getAttribute()
Gets the value of the attribute property.

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 FacesAttribute


getProperty

public java.util.List<FacesProperty> getProperty()
Gets the value of the property property.

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 FacesProperty


getValidatorExtension

public java.util.List<FacesValidatorExtension> getValidatorExtension()
Gets the value of the validatorExtension property.

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 FacesValidatorExtension


getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.