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.YearDV
Validator for <gYear> datatype (W3C Schema Datatypes)
@xerces.internal
- Version:
- $Id: YearDV.java 937741 2010-04-25 04:25:46Z mrglavas $
- Author:
- Elena Litani, Gopal Sharma, SUN Microsystem Inc.
-
Field Summary
Fields inherited from class org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetActualValue
(String content, ValidationContext context) Convert a string to a compiled formMethods 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
-
Constructor Details
-
YearDV
public YearDV()
-
-
Method Details
-
getActualValue
public Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException Convert a string to a compiled form- Specified by:
getActualValue
in classTypeValidator
- Parameters:
content
- The lexical representation of time- Returns:
- a valid and normalized time object
- Throws:
InvalidDatatypeValueException
-