org.apache.xerces.impl.dv.xs
Class DurationDV
java.lang.Object
org.apache.xerces.impl.dv.xs.TypeValidator
org.apache.xerces.impl.dv.xs.AbstractDateTimeDV
org.apache.xerces.impl.dv.xs.DurationDV
public class DurationDV
- extends AbstractDateTimeDV
Validator for <duration> datatype (W3C Schema Datatypes)
- Version:
- $Id: DurationDV.java 517284 2007-03-12 17:03:54Z mrglavas $
- Author:
- Elena Litani, Gopal Sharma, SUN Microsystem Inc.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DURATION_TYPE
public static final int DURATION_TYPE
- See Also:
- Constant Field Values
YEARMONTHDURATION_TYPE
public static final int YEARMONTHDURATION_TYPE
- See Also:
- Constant Field Values
DAYTIMEDURATION_TYPE
public static final int DAYTIMEDURATION_TYPE
- See Also:
- Constant Field Values
DurationDV
public DurationDV()
getActualValue
public java.lang.Object getActualValue(java.lang.String content,
ValidationContext context)
throws InvalidDatatypeValueException
- Specified by:
getActualValue
in class TypeValidator
- Throws:
InvalidDatatypeValueException