Class XSDPlainType

  • All Implemented Interfaces:

    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.
    • Constructor Detail

      • XSDPlainType

        public XSDPlainType​(java.lang.String typeName)
        New instance creation delegating to XSDDatatype(String).
      • XSDPlainType

        public XSDPlainType​(java.lang.String typeName,
                            java.lang.Class<?> clazz)
        New instance creation delegating to XSDDatatype(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 interface RDFDatatype
        isEqual in class XSDDatatype