Class XSDTimeType
- 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.XSDTimeType
-
- All Implemented Interfaces:
RDFDatatype
public class XSDTimeType extends XSDAbstractDateTimeType
Type processor for time, most of the machinery is in the base XSDAbstractDateTimeType class.
-
-
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
Constructors Constructor Description XSDTimeType(java.lang.String typename)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
parseValidated(java.lang.String str)
Parse a validated date.java.lang.String
unparse(java.lang.Object value)
Convert a value of this datatype out to lexical form.-
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
-
Methods inherited from class org.apache.jena.datatypes.BaseDatatype
cannonicalise, getHashCode, getURI, isValid, isValidValue, langTagCompatible, toString
-
-
-
-
Method Detail
-
parseValidated
public java.lang.Object parseValidated(java.lang.String str)
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
-
unparse
public java.lang.String unparse(java.lang.Object value)
Convert a value of this datatype out to lexical form.- Specified by:
unparse
in interfaceRDFDatatype
- Overrides:
unparse
in classXSDDatatype
-
-