Public Member Functions

org.exolab.castor.xml.validators.DateTimeValidator Class Reference

Inheritance diagram for org.exolab.castor.xml.validators.DateTimeValidator:
org.exolab.castor.xml.TypeValidator

List of all members.

Public Member Functions

 DateTimeValidator ()
void setMaxExclusive (DateTimeBase max)
void setMaxInclusive (DateTimeBase max)
void setMinExclusive (DateTimeBase min)
void setMinInclusive (DateTimeBase min)
void validate (DateTimeBase dateTime) throws ValidationException
void validate (Object object) throws ValidationException
void validate (Object object, ValidationContext context) throws ValidationException

Constructor & Destructor Documentation

org.exolab.castor.xml.validators.DateTimeValidator.DateTimeValidator (  ) 

Member Function Documentation

void org.exolab.castor.xml.validators.DateTimeValidator.setMaxExclusive ( DateTimeBase  max  ) 

Sets the maximum exclusive value that this Date/Time can hold.

Parameters:
max the maximum exclusive value this Date/Time can be
See also:
setMaxInclusive
void org.exolab.castor.xml.validators.DateTimeValidator.setMaxInclusive ( DateTimeBase  max  ) 

Sets the maximum inclusive value that this Date/Time can hold.

Parameters:
max the maximum inclusive value this Date/Time can be
See also:
setMaxExclusive
void org.exolab.castor.xml.validators.DateTimeValidator.setMinExclusive ( DateTimeBase  min  ) 

Sets the minimum exclusive value that this Date/Time can hold.

Parameters:
max the minimum exclusive value this Date/Time can be
See also:
setMinInclusive
void org.exolab.castor.xml.validators.DateTimeValidator.setMinInclusive ( DateTimeBase  min  ) 

Sets the minimum inclusive value that this Date/Time can hold.

Parameters:
max the minimum inclusive value this Date/Time can be
See also:
setMinExclusive
void org.exolab.castor.xml.validators.DateTimeValidator.validate ( Object  object,
ValidationContext  context 
) throws ValidationException

Validates the given Object

Parameters:
object the Object to validate
context the ValidationContext

Implements org.exolab.castor.xml.TypeValidator.

References org.exolab.castor.xml.validators.DateTimeValidator.validate().

void org.exolab.castor.xml.validators.DateTimeValidator.validate ( Object  object  )  throws ValidationException

Validates the given Object

Parameters:
object the Object to validate

References org.exolab.castor.xml.validators.DateTimeValidator.validate().

void org.exolab.castor.xml.validators.DateTimeValidator.validate ( DateTimeBase  dateTime  )  throws ValidationException

Validates a Date/Time instance

Parameters:
dateTime the date/time type to validate
Exceptions:
ValidationException 

Referenced by org.exolab.castor.xml.validators.DateTimeValidator.validate().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties