java.lang.Object
org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
org.apache.jena.ext.xerces.impl.dv.xs.AbstractDateTimeDV
- Direct Known Subclasses:
DateTimeDV
,DayDV
,DurationDV
,MonthDayDV
,MonthDV
,TimeDV
,YearDV
,YearMonthDV
This is the base class of all date/time datatype validators.
It implements common code for parsing, validating and comparing datatypes.
Classes that extend this class, must implement parse() method.
REVISIT: There are many instance variables, which would cause problems
when we support grammar caching. A grammar is possibly used by
two parser instances at the same time, then the same simple type
decl object can be used to validate two strings at the same time.
-SG
@xerces.internal
- Version:
- $Id: AbstractDateTimeDV.java 965250 2010-07-18 16:04:58Z mrglavas $
- Author:
- Elena Litani, Len Berman, Gopal Sharma, SUN Microsystems 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
Methods inherited from class org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
checkExtraRules, getActualValue, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
-
Constructor Details
-
AbstractDateTimeDV
public AbstractDateTimeDV()
-
-
Method Details
-
getAllowedFacets
public short getAllowedFacets()- Specified by:
getAllowedFacets
in classTypeValidator
-
isIdentical
- Overrides:
isIdentical
in classTypeValidator
-
compare
- Overrides:
compare
in classTypeValidator
-