org.semanticweb.owlapi.profiles
Class UseOfUnknownDatatype
java.lang.Object
org.semanticweb.owlapi.profiles.OWLProfileViolation
org.semanticweb.owlapi.profiles.UseOfUnknownDatatype
- All Implemented Interfaces:
- OWL2ProfileViolation
public class UseOfUnknownDatatype
- extends OWLProfileViolation
- implements OWL2ProfileViolation
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 03-Aug-2009
Use of an unknown datatype. That is, the datatype isn't in the OWL 2 datatype map,
the datatype IRI doesn't begin with the xsd: prefix, the datatype isn't rdfs:Literal, and the
datatype isn't defined with a DatatypeDefinition axiom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UseOfUnknownDatatype
public UseOfUnknownDatatype(OWLOntology ontology,
OWLAxiom axiom,
OWLDatatype datatype)
accept
public void accept(OWL2ProfileViolationVisitor visitor)
- Specified by:
accept
in interface OWL2ProfileViolation
getDatatype
public OWLDatatype getDatatype()
- Gets the datatype that is invalid
- Returns:
- The invalid datatype
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object