org.semanticweb.owl.io
Class RDFXMLOntologyFormat

java.lang.Object
  extended by org.semanticweb.owl.model.OWLOntologyFormat
      extended by org.semanticweb.owl.vocab.NamespaceOWLOntologyFormat
          extended by org.semanticweb.owl.io.RDFXMLOntologyFormat
Direct Known Subclasses:
DefaultOntologyFormat

public class RDFXMLOntologyFormat
extends NamespaceOWLOntologyFormat

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 02-Jan-2007


Constructor Summary
RDFXMLOntologyFormat()
           
 
Method Summary
 void addAnnotationURI(java.net.URI uri)
          This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed.
 void addAnnotationURIAnnotation(java.net.URI uri, OWLAnnotation anno)
          This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed.
 void clearAnnotationURIAnnotations()
          This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed.
 java.util.Map<java.net.URI,java.util.Set<OWLAnnotation>> getAnnotationURIAnnotations()
          This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed.
 java.util.Set<java.net.URI> getAnnotationURIs()
           
 long getNumberOfTriplesProcessedDuringLoading()
          Returns the number of triples that where processed when the ontology was loaded.
 void removeAnnotationURIAnnotation(java.net.URI uri, OWLAnnotation anno)
          This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed.
 void setNumberOfTriplesProcessedDuringLoading(long numberOfTriplesProcessedDuringLoading)
           
 java.lang.String toString()
           
 
Methods inherited from class org.semanticweb.owl.vocab.NamespaceOWLOntologyFormat
addPrefixNamespaceMapping, getNamespacesByPrefixMap
 
Methods inherited from class org.semanticweb.owl.model.OWLOntologyFormat
equals, getParameter, hashCode, setParameter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDFXMLOntologyFormat

public RDFXMLOntologyFormat()
Method Detail

getNumberOfTriplesProcessedDuringLoading

public long getNumberOfTriplesProcessedDuringLoading()
Returns the number of triples that where processed when the ontology was loaded.

Returns:
The number of triples parsed when loading from a file, If the ontology hasn't been loaded from a file (because it was created programmatically) then the return value will be zero.

setNumberOfTriplesProcessedDuringLoading

public void setNumberOfTriplesProcessedDuringLoading(long numberOfTriplesProcessedDuringLoading)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAnnotationURIs

public java.util.Set<java.net.URI> getAnnotationURIs()

addAnnotationURI

public void addAnnotationURI(java.net.URI uri)
This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed. Use at your own risk! It will be removed when the spec is fixed!


addAnnotationURIAnnotation

public void addAnnotationURIAnnotation(java.net.URI uri,
                                       OWLAnnotation anno)
This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed. Use at your own risk! It will be removed when the spec is fixed!


removeAnnotationURIAnnotation

public void removeAnnotationURIAnnotation(java.net.URI uri,
                                          OWLAnnotation anno)
This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed. Use at your own risk! It will be removed when the spec is fixed!


clearAnnotationURIAnnotations

public void clearAnnotationURIAnnotations()
This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed. Use at your own risk! It will be removed when the spec is fixed!


getAnnotationURIAnnotations

public java.util.Map<java.net.URI,java.util.Set<OWLAnnotation>> getAnnotationURIAnnotations()
This method and the functionality that it provides are merely a stopgap until the OWL 1.1 specification is fixed. Use at your own risk! It will be removed when the spec is fixed!