Class RDFResourceParseError

java.lang.Object
org.semanticweb.owlapi.io.RDFResourceParseError
All Implemented Interfaces:
Serializable

public class RDFResourceParseError extends Object implements Serializable
Describes why an RDF resource could not be parsed into an OWLObject. For example, why an RDF resource could not be parsed into an OWLClassExpression.
When these errors occur, the RDF parser generates an OWLEntity that represents the error and inserts this where appropriate into the corresponding complete OWLObject (OWLAxiom) that could not be parsed.
Since:
3.2
Author:
Matthew Horridge, The University of Manchester, Bio-Health Informatics Group
See Also:
  • Constructor Details

    • RDFResourceParseError

      public RDFResourceParseError(OWLEntity parserGeneratedErrorEntity, RDFNode mainNode, Set<RDFTriple> mainNodeTriples)
      Parameters:
      parserGeneratedErrorEntity - the error entity
      mainNode - the main node
      mainNodeTriples - the main node triples
  • Method Details

    • getParserGeneratedErrorEntity

      public OWLEntity getParserGeneratedErrorEntity()
      Returns:
      the error entity
    • getMainNode

      public RDFNode getMainNode()
      Returns:
      the main node
    • getMainNodeTriples

      public Set<RDFTriple> getMainNodeTriples()
      Returns:
      the main node triples