Class XSDDouble

All Implemented Interfaces:
RDFDatatype

public class XSDDouble extends XSDDatatype
Datatype representation for xsd:float. Can't just use XSDBaseNumericType because float, double and decimal are all disjoint in XSD. Can use plain XSDDatatype because the equality function needs overriding.
  • Constructor Details

    • XSDDouble

      public XSDDouble(String typeName)
      Constructor.
      Parameters:
      typeName - the name of the XSD type to be instantiated, this is used to lookup a type definition from the Xerces schema factory.
    • XSDDouble

      public XSDDouble(String typeName, Class<?> javaClass)
      Constructor.
      Parameters:
      typeName - the name of the XSD type to be instantiated, this is used to lookup a type definition from the Xerces schema factory.
      javaClass - the java class for which this xsd type is to be treated as the cannonical representation
  • Method Details