org.exolab.castor.xml.validators
Class TimeValidator

java.lang.Object
  extended byorg.exolab.castor.xml.validators.TimeValidator
All Implemented Interfaces:
TypeValidator

public class TimeValidator
extends java.lang.Object
implements TypeValidator


Constructor Summary
TimeValidator()
           
 
Method Summary
 void setMaxExclusive(Time max)
          Sets the maximum exclusive value that this RecurringDuration can hold.
 void setMaxInclusive(Time max)
          Sets the maximum inclusive value that this Recurring Duration can hold.
 void setMinExclusive(Time min)
          Sets the minimum exclusive value that this RecurringDuration can hold.
 void setMinInclusive(Time min)
          Sets the minimum inclusive value that this RecurringDuration can hold.
 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

TimeValidator

public TimeValidator()
Method Detail

setMaxExclusive

public void setMaxExclusive(Time max)
Sets the maximum exclusive value that this RecurringDuration can hold.

Parameters:
max - the maximum exclusive value this RecurringDuration can be
See Also:
setMaxInclusive(org.exolab.castor.types.Time)

setMaxInclusive

public void setMaxInclusive(Time max)
Sets the maximum inclusive value that this Recurring Duration can hold.

Parameters:
max - the maximum inclusive value this RecurringDuration can be
See Also:
setMaxExclusive(org.exolab.castor.types.Time)

setMinExclusive

public void setMinExclusive(Time min)
Sets the minimum exclusive value that this RecurringDuration can hold.

See Also:
setMinInclusive(org.exolab.castor.types.Time)

setMinInclusive

public void setMinInclusive(Time min)
Sets the minimum inclusive value that this RecurringDuration can hold.

See Also:
setMinExclusive(org.exolab.castor.types.Time)

validate

public void validate(java.lang.Object object)
              throws ValidationException
Validates the given Object

Specified by:
validate in interface TypeValidator
Parameters:
object - the Object to validate
Throws:
ValidationException


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com