Package | Description |
---|---|
org.exolab.castor.types |
The Castor implementation of specific XML Schema Types
|
org.exolab.castor.xml.validators |
Modifier and Type | Method and Description |
---|---|
static Duration |
Duration.parseDuration(String str)
Parse the given string and return a time duration
which represents this string.
|
Modifier and Type | Method and Description |
---|---|
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).
This version uses the algorithm defined in the document from W3C.
|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 © 2015. All rights reserved.