java.lang.Object
org.apache.jena.datatypes.BaseDatatype
org.apache.jena.datatypes.xsd.XSDDatatype
org.apache.jena.datatypes.xsd.impl.XSDAbstractDateTimeType
org.apache.jena.datatypes.xsd.impl.XSDDurationType
- All Implemented Interfaces:
RDFDatatype
The XSD duration type, the only job of this extra layer is to
wrap the return value in a more convenient accessor type. We could
avoid this proliferation of trivial types by use of reflection but
since that causes allergic reactions in some we use brute force.
This class includees code derived from Xerces 2.6.0 Copyright (c) 1999-2002 The Apache Software Foundation. All rights reserved.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.datatypes.xsd.XSDDatatype
XSDDatatype.XSDGenericType
Nested classes/interfaces inherited from class org.apache.jena.datatypes.BaseDatatype
BaseDatatype.TypedValue
-
Field Summary
Fields inherited from class org.apache.jena.datatypes.xsd.impl.XSDAbstractDateTimeType
DAY_MASK, FULL_MASK, MONTH_MASK, TIME_MASK, YEAR_MASK
Fields inherited from class org.apache.jena.datatypes.xsd.XSDDatatype
XSD, XSDanyURI, XSDbase64Binary, XSDboolean, XSDbyte, XSDdate, XSDdateTime, XSDdateTimeStamp, XSDdayTimeDuration, XSDdecimal, XSDdouble, XSDduration, XSDENTITY, XSDfloat, XSDgDay, XSDgMonth, XSDgMonthDay, XSDgYear, XSDgYearMonth, XSDhexBinary, XSDID, XSDIDREF, XSDint, XSDinteger, XSDlanguage, XSDlong, XSDName, XSDNCName, XSDnegativeInteger, XSDNMTOKEN, XSDnonNegativeInteger, XSDnonPositiveInteger, XSDnormalizedString, XSDNOTATION, XSDpositiveInteger, XSDQName, XSDshort, XSDstring, XSDtime, XSDtoken, XSDunsignedByte, XSDunsignedInt, XSDunsignedLong, XSDunsignedShort, XSDyearMonthDuration
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.jena.datatypes.xsd.impl.XSDAbstractDateTimeType
appendFractionalTime, dateToString, getDigit, isDigit, isEqual, normalizeSubType
Methods inherited from class org.apache.jena.datatypes.xsd.XSDDatatype
extendedTypeDefinition, getJavaClass, isBaseTypeCompatible, isValidLiteral, loadXSDSimpleTypes, main, parse, trimPlus, unparse
Methods inherited from class org.apache.jena.datatypes.BaseDatatype
cannonicalise, getHashCode, getURI, isValid, isValidValue, langTagCompatible, toString
-
Constructor Details
-
XSDDurationType
public XSDDurationType()Constructor
-
-
Method Details
-
parseValidated
Parse a validated date. This is invoked from XSDDatatype.convertValidatedDataValue rather then from a local parse method to make the implementation of XSDGenericType easier.- Overrides:
parseValidated
in classXSDDatatype
-