Uses of Class
org.exolab.castor.types.Duration

Packages that use Duration
org.exolab.castor.types The Castor implementation of specific XML Schema Types Version: $Revision: 6213 $ Author: Arnaud Blandin This package contains the implementation of the date/time datatypes defined in W3C XML Schema 1.0 Recommendation. 
org.exolab.castor.xml.validators   
 

Uses of Duration in org.exolab.castor.types
 

Methods in org.exolab.castor.types that return Duration
static Duration Duration.parseDuration(String str)
          Parse the given string and return a time duration which represents this string.
 

Methods in org.exolab.castor.types with parameters of type Duration
 void DateTimeBase.addDuration(Duration duration)
          Adds a Duration to this Date/Time type as defined in Adding Duration to dateTimes (W3C XML Schema, part 2 appendix E).
 boolean Duration.equal(Duration duration)
          Returns true if the instance of TimeDuration has the same fields of the parameter
 boolean Duration.isGreater(Duration duration)
          Returns true if the present instance of TimeDuration is greater than the parameter Note This definition does not follow the XML SCHEMA RECOMMENDATION 05022001 the following total order relation is used : givent t1,t2 timeDuration types t1>t2 iff t1.toLong()>t2.toLong()
 

Uses of Duration in org.exolab.castor.xml.validators
 

Methods in org.exolab.castor.xml.validators that return Duration
 Duration DurationValidator.getFixed()
          Returns the configured fixed value for Duration validation.
 Duration DurationValidator.getMaxExclusive()
          Returns the configured exclusive maximum value for Duration validation.
 Duration DurationValidator.getMaxInclusive()
          Returns the configured inclusive maximum value for Duration validation.
 Duration DurationValidator.getMinExclusive()
          Returns the configured exclusive minimum value for Duration validation.
 Duration DurationValidator.getMinInclusive()
          Returns the configured inclusive minimum value for Duration validation.
 

Methods in org.exolab.castor.xml.validators with parameters of type Duration
 void DurationValidator.setFixed(Duration fixedValue)
          Sets the fixed value for Duration validation.
 void DurationValidator.setMaxExclusive(Duration maxValue)
          Sets the maximum (exclusive) value for Duration validation.
 void DurationValidator.setMaxInclusive(Duration maxValue)
          Sets the maximum (inclusive) value for Duration validation.
 void DurationValidator.setMinExclusive(Duration minValue)
          Sets the minimum (exclusive) value for Duration validation.
 void DurationValidator.setMinInclusive(Duration minValue)
          Sets the minimum (inclusive) value for Duration validation.
 void DurationValidator.validate(Duration duration)
          Validate a duration instance.
 void DurationValidator.validate(Duration duration, ValidationContext context)
          Validates a duration instance.
 



Copyright © 2013. All Rights Reserved.