|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.validators.DateTimeValidator
Constructor Summary | |
DateTimeValidator()
|
Method Summary | |
void |
setMaxExclusive(DateTimeBase max)
Sets the maximum exclusive value that this Date/Time can hold. |
void |
setMaxInclusive(DateTimeBase max)
Sets the maximum inclusive value that this Date/Time can hold. |
void |
setMinExclusive(DateTimeBase min)
Sets the minimum exclusive value that this Date/Time can hold. |
void |
setMinInclusive(DateTimeBase min)
Sets the minimum inclusive value that this Date/Time can hold. |
void |
validate(DateTimeBase dateTime)
Validates a Date/Time instance |
void |
validate(java.lang.Object object)
Validates the given Object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateTimeValidator()
Method Detail |
public void setMaxExclusive(DateTimeBase max)
max
- the maximum exclusive value this Date/Time can besetMaxInclusive(org.exolab.castor.types.DateTimeBase)
public void setMaxInclusive(DateTimeBase max)
max
- the maximum inclusive value this Date/Time can besetMaxExclusive(org.exolab.castor.types.DateTimeBase)
public void setMinExclusive(DateTimeBase min)
setMinInclusive(org.exolab.castor.types.DateTimeBase)
public void setMinInclusive(DateTimeBase min)
setMinExclusive(org.exolab.castor.types.DateTimeBase)
public void validate(DateTimeBase dateTime) throws ValidationException
dateTime
- the date/time type to validate
ValidationException
public void validate(java.lang.Object object) throws ValidationException
validate
in interface TypeValidator
object
- the Object to validate
ValidationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |