java.lang.Object
org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
org.apache.jena.ext.xerces.impl.dv.xs.AbstractDateTimeDV
org.apache.jena.ext.xerces.impl.dv.xs.DurationDV
Validator for <duration> datatype (W3C Schema Datatypes)
@xerces.internal
- Version:
- $Id: DurationDV.java 937741 2010-04-25 04:25:46Z mrglavas $
- Author:
- Elena Litani, Gopal Sharma, SUN Microsystem Inc.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.jena.ext.xerces.impl.dv.xs.AbstractDateTimeDV
compare, getAllowedFacets, isIdentical
Methods inherited from class org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
checkExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
-
Field Details
-
DURATION_TYPE
public static final int DURATION_TYPE- See Also:
-
YEARMONTHDURATION_TYPE
public static final int YEARMONTHDURATION_TYPE- See Also:
-
DAYTIMEDURATION_TYPE
public static final int DAYTIMEDURATION_TYPE- See Also:
-
-
Constructor Details
-
DurationDV
public DurationDV()
-
-
Method Details
-
getActualValue
public Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException - Specified by:
getActualValue
in classTypeValidator
- Throws:
InvalidDatatypeValueException
-