public class DateTimeValidator extends Object implements javax.faces.validator.Validator, javax.faces.component.StateHolder
Modifier and Type | Field and Description |
---|---|
static String |
OUT_OF_RANGE_MESSAGE_ID |
static String |
VALIDATOR_ID |
Constructor and Description |
---|
DateTimeValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isTransient() |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setTransient(boolean newTransientValue) |
void |
validate(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value) |
public static final String VALIDATOR_ID
public static final String OUT_OF_RANGE_MESSAGE_ID
public DateTimeValidator()
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface javax.faces.component.StateHolder
Copyright © 2015 Nuxeo SA. All rights reserved.