@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) 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, processValidators
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public Class<?>[] getGroups()
AbstractGraphValidator
getGroups
in class AbstractGraphValidator
public void setGroups(Class<?>[] groups)
setGroups
in class AbstractGraphValidator
public String getSummary()
AbstractGraphValidator
getSummary
in class AbstractGraphValidator
public void setSummary(String summary)
setSummary
in class AbstractGraphValidator
public String getType()
AbstractGraphValidator
getType
in class AbstractGraphValidator
public void setType(String type)
setType
in class AbstractGraphValidator
public Object getValue()
AbstractGraphValidator
getValue
in class AbstractGraphValidator
public void setValue(Object value)
setValue
in class AbstractGraphValidator
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.