Class XSDPlainType
- 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
public class XSDPlainType extends XSDDatatype
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.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.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 XSDPlainType(java.lang.String typeName)
New instance creation delegating toXSDDatatype(String)
.XSDPlainType(java.lang.String typeName, java.lang.Class<?> clazz)
New instance creation delegating toXSDDatatype(String, Class)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEqual(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, unparse
-
Methods inherited from class org.apache.jena.datatypes.BaseDatatype
cannonicalise, getHashCode, getURI, isValid, isValidValue, langTagCompatible, normalizeSubType, toString
-
-
-
-
Constructor Detail
-
XSDPlainType
public XSDPlainType(java.lang.String typeName)
New instance creation delegating toXSDDatatype(String)
.
-
XSDPlainType
public XSDPlainType(java.lang.String typeName, java.lang.Class<?> clazz)
New instance creation delegating toXSDDatatype(String, Class)
.
-
-
Method Detail
-
isEqual
public boolean isEqual(LiteralLabel litLabel1, LiteralLabel litLabel2)
Compares two instances of values of the given datatype. This default requires value and datatype equality. This is the same as BaseDatatype- Specified by:
isEqual
in interfaceRDFDatatype
- Overrides:
isEqual
in classXSDDatatype
-
-