@Generated(value={"RichFaces CDK","4.3.0.20121024-M2"}) public class UIGraphValidator extends AbstractGraphValidator
The <rich:graphValidator> component is used to wrap a set of input components related to one object. The object defined by the <rich:graphValidator> component can then be completely validated. The validation includes all object properties, even those which are not bound to the individual form components. Validation performed in this way allows for cross-field validation in complex forms.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIGraphValidator.Properties |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
UIGraphValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFamily() |
Class<?>[] |
getGroups()
The list of fully-qualified names (FQNs) of classes determining bean-validation groups to be validated.
|
String |
getSummary()
Message summary will be used in case in case of validation error when no other message is provided.
|
String |
getType()
The validator-id of validator used to process validation of the provided bean (Default value: org.richfaces.BeanValidator)
|
Object |
getValue()
Bean EL reference to be validated
|
void |
setGroups(Class<?>[] groups) |
void |
setSummary(String summary) |
void |
setType(String type) |
void |
setValue(Object value) |
createChildrenValidator, getValidatorState, processDecodes, processUpdates, processValidatorsaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic Class<?>[] getGroups()
AbstractGraphValidatorgetGroups in class AbstractGraphValidatorpublic void setGroups(Class<?>[] groups)
setGroups in class AbstractGraphValidatorpublic String getSummary()
AbstractGraphValidatorgetSummary in class AbstractGraphValidatorpublic void setSummary(String summary)
setSummary in class AbstractGraphValidatorpublic String getType()
AbstractGraphValidatorgetType in class AbstractGraphValidatorpublic void setType(String type)
setType in class AbstractGraphValidatorpublic Object getValue()
AbstractGraphValidatorgetValue in class AbstractGraphValidatorpublic void setValue(Object value)
setValue in class AbstractGraphValidatorCopyright © 2012 JBoss by Red Hat. All Rights Reserved.