|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.profiles.validator.DateValidator
public class DateValidator
A validator which validates dates.
| Constructor Summary | |
|---|---|
DateValidator()
|
|
| Method Summary | |
|---|---|
int |
getCachedSize()
Returns the approximate size of the Object in bytes. |
java.lang.String |
getPattern()
|
void |
setPattern(java.lang.String pattern)
|
java.lang.String |
validate(java.lang.String value,
User user)
Performs field validation on user supplied input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateValidator()
| Method Detail |
|---|
public java.lang.String validate(java.lang.String value,
User user)
ProfileFieldValidator
validate in interface ProfileFieldValidatorvalue - the user supplied value. If no value has been provided by the user then the
value should be null.user - the user supplying the value, or null if anonymous.
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
public int getCachedSize()
Cacheable
getCachedSize in interface Cacheable
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||