java.lang.Object
org.apache.jena.datatypes.BaseDatatype
org.apache.jena.datatypes.xsd.XSDDatatype
org.apache.jena.datatypes.xsd.impl.XSDPlainType
- All Implemented Interfaces:
RDFDatatype
A datatype that does not use the Xerces machinery for isEqual, yet is still an XSDDatatype.
Assumes no derived XSD datatypes.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.datatypes.xsd.XSDDatatype
XSDDatatype.XSDGenericTypeNested classes/interfaces inherited from class org.apache.jena.datatypes.BaseDatatype
BaseDatatype.TypedValue -
Field Summary
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
ConstructorsConstructorDescriptionXSDPlainType(String typeName) New instance creation delegating toXSDDatatype(String).XSDPlainType(String typeName, Class<?> clazz) New instance creation delegating toXSDDatatype(String, Class). -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEqual(LiteralLabel litLabel1, LiteralLabel litLabel2) Compares two instances of values of the given datatype.Methods inherited from class org.apache.jena.datatypes.xsd.XSDDatatype
extendedTypeDefinition, getJavaClass, isBaseTypeCompatible, isValidLiteral, loadXSDSimpleTypes, main, parse, parseValidated, trimPlus, unparseMethods inherited from class org.apache.jena.datatypes.BaseDatatype
cannonicalise, equals, getHashCode, getURI, hashCode, isValid, isValidValue, langTagCompatible, normalizeSubType, toString
-
Constructor Details
-
XSDPlainType
New instance creation delegating toXSDDatatype(String). -
XSDPlainType
New instance creation delegating toXSDDatatype(String, Class).
-
-
Method Details
-
isEqual
Compares two instances of values of the given datatype. This default requires value and datatype equality. This is the same as BaseDatatype- Specified by:
isEqualin interfaceRDFDatatype- Overrides:
isEqualin classXSDDatatype
-