public class OWLRDFConsumer extends Object implements RDFConsumer
| Modifier and Type | Field and Description |
|---|---|
protected Map<IRI,BuiltInTypeHandler> |
axiomTypeTripleHandlers
The axiom type triple handlers.
|
protected TPInverseOfHandler |
inverseOfHandler
The inverse of handler.
|
protected List<AbstractLiteralTripleHandler> |
literalTripleHandlers
The literal triple handlers.
|
protected List<AbstractResourceTripleHandler> |
resourceTripleHandlers
The resource triple handlers.
|
| Constructor and Description |
|---|
OWLRDFConsumer(OWLOntology ontology,
AnonymousNodeChecker checker,
OWLOntologyLoaderConfiguration configuration)
Instantiates a new oWLRDF consumer.
|
OWLRDFConsumer(OWLOntologyManager owlOntologyManager,
OWLOntology ontology,
AnonymousNodeChecker checker,
OWLOntologyLoaderConfiguration configuration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotatedSource(IRI annotatedAnonSource,
IRI annotationMainNode)
Records an annotation of an anonymous node (either an annotation of an
annotation, or an annotation of an axiom for example).
|
protected void |
addAnnotationIRI(IRI iri)
Adds the annotation iri.
|
protected void |
addAnnotationProperty(IRI iri,
boolean explicitlyTyped)
Adds the annotation property.
|
void |
addAxiom(IRI axiomIRI)
Adds the axiom.
|
protected void |
addAxiom(OWLAxiom axiom)
Adds the axiom.
|
void |
addClassExpression(IRI iri,
boolean explicitlyTyped)
Adds the class expression.
|
void |
addDataProperty(IRI iri,
boolean explicitlyTyped)
Adds the data property.
|
void |
addDataRange(IRI iri,
boolean explicitlyTyped)
Adds the data range.
|
void |
addFirst(IRI subject,
IRI object)
Adds the first.
|
void |
addFirst(IRI subject,
OWLLiteral object)
Adds the first.
|
protected void |
addImport(OWLImportsDeclaration declaration)
Adds the import.
|
void |
addModelAttribte(String string,
String string1)
Receives the notification that the attribute and its value has been
parsed.
|
void |
addObjectProperty(IRI iri,
boolean explicitlyTyped)
Adds the object property.
|
void |
addOntology(IRI iri)
Adds the ontology.
|
protected void |
addOntologyAnnotation(OWLAnnotation annotation)
Adds the ontology annotation.
|
protected void |
addOWLNamedIndividual(IRI iri,
boolean explicitlyType)
Adds the owl named individual.
|
protected void |
addOWLRestriction(IRI iri,
boolean explicitlyTyped)
Adds the owl restriction.
|
protected void |
addRDFProperty(IRI iri)
Adds the rdf property.
|
void |
addRest(IRI subject,
IRI object)
Adds the rest.
|
protected void |
addSharedAnonymousNode(IRI iri,
Object translation)
Adds the shared anonymous node.
|
protected void |
addSWRLBuiltInAtom(IRI iri)
Adds the swrl built in atom.
|
protected void |
addSWRLClassAtom(IRI iri)
Adds the swrl class atom.
|
protected void |
addSWRLDataPropertyAtom(IRI iri)
Adds the swrl data property atom.
|
protected void |
addSWRLDataRangeAtom(IRI iri)
Adds the swrl data range atom.
|
protected void |
addSWRLDifferentFromAtom(IRI iri)
Adds the swrl different from atom.
|
protected void |
addSWRLIndividualPropertyAtom(IRI iri)
Adds the swrl individual property atom.
|
protected void |
addSWRLRule(IRI iri)
Adds the swrl rule.
|
protected void |
addSWRLSameAsAtom(IRI iri)
Adds the swrl same as atom.
|
protected void |
addSWRLVariable(IRI iri)
Adds the swrl variable.
|
void |
addTriple(IRI subject,
IRI predicate,
IRI object)
Adds the triple.
|
void |
addTriple(IRI subject,
IRI predicate,
OWLLiteral con)
Adds the triple.
|
protected void |
applyChange(OWLOntologyChange change)
Apply change.
|
protected void |
checkForAndProcessAnnotatedDeclaration(IRI mainNode)
Check for and process annotated declaration.
|
protected void |
consumeTriple(IRI subject,
IRI predicate,
IRI object)
Consume triple.
|
protected void |
consumeTriple(IRI subject,
IRI predicate,
OWLLiteral con)
Consume triple.
|
protected void |
dumpRemainingTriples()
Dump remaining triples.
|
void |
endModel()
Called when model parsing is finished.
|
Set<IRI> |
getAnnotatedSourceAnnotationMainNodes(IRI source)
Gets the main nodes of annotations that annotated the specified source.
|
OWLClassExpression |
getClassExpressionIfTranslated(IRI mainNode)
Gets the class expression if translated.
|
OWLOntologyLoaderConfiguration |
getConfiguration()
Gets the configuration.
|
OWLDataFactory |
getDataFactory()
Gets the data factory.
|
OWLLiteral |
getFirstLiteral(IRI subject)
Gets the first literal.
|
IRI |
getFirstResource(IRI subject,
boolean consume)
Gets the first resource.
|
OWLAxiom |
getLastAddedAxiom()
Gets the last added axiom.
|
OWLLiteral |
getLiteralObject(IRI subject,
IRI predicate,
boolean consume)
Gets the literal object.
|
OWLLiteral |
getLiteralObject(IRI subject,
OWLRDFVocabulary predicate,
boolean consume)
Gets the literal object.
|
Set<OWLLiteral> |
getLiteralObjects(IRI subject,
IRI predicate)
Gets the literal objects.
|
Set<IRI> |
getOntologies()
Gets the ontologies.
|
OWLOntology |
getOntology()
Gets the ontology.
|
RDFOntologyFormat |
getOntologyFormat()
Gets the ontology format.
|
protected OWLClass |
getOWLClass(IRI iri)
Gets the oWL class.
|
protected OWLDataProperty |
getOWLDataProperty(IRI iri)
Gets the oWL data property.
|
protected OWLIndividual |
getOWLIndividual(IRI iri)
Gets the oWL individual.
|
protected OWLObjectProperty |
getOWLObjectProperty(IRI iri)
Gets the oWL object property.
|
OWLOntologyManager |
getOWLOntologyManager()
Gets the oWL ontology manager.
|
Set<OWLAnnotation> |
getPendingAnnotations()
Gets any annotations that were translated since the last call of this
method (calling this method clears the current pending annotations).
|
Set<IRI> |
getPredicatesBySubject(IRI subject)
Gets the predicates by subject.
|
IRI |
getResourceObject(IRI subject,
IRI predicate,
boolean consume)
Gets the resource object.
|
IRI |
getResourceObject(IRI subject,
OWLRDFVocabulary predicate,
boolean consume)
Gets the resource object.
|
Set<IRI> |
getResourceObjects(IRI subject,
IRI predicate)
Gets the resource objects.
|
IRI |
getRest(IRI subject,
boolean consume)
Gets the rest.
|
protected Object |
getSharedAnonymousNode(IRI iri)
Gets the shared anonymous node.
|
IRI |
getSynonym(IRI original)
Gets the synonym.
|
void |
handle(IRI subject,
IRI predicate,
IRI object)
Handles triples in a non-streaming mode.
|
void |
handle(IRI subject,
IRI predicate,
OWLLiteral object)
Handle.
|
boolean |
hasPredicate(IRI subject,
IRI predicate)
Checks for predicate.
|
void |
importsClosureChanged()
Imports closure changed.
|
void |
includeModel(String string,
String string1)
Receives the notification that the model being parsed includes another
model with supplied URIs.
|
protected boolean |
isAnnotation(IRI iri)
Checks if is annotation.
|
protected boolean |
isAnnotationProperty(IRI iri)
Checks if is annotation property.
|
protected boolean |
isAnnotationPropertyOnly(IRI iri)
Determines if a given IRI is currently an annotation property IRI and not
a data property IRI and not an object property IRI.
|
protected boolean |
isAnonymousNode(IRI iri)
Checks whether a node is anonymous.
|
boolean |
isAxiom(IRI iri)
Checks if is axiom.
|
boolean |
isClassExpression(IRI iri)
Checks if is class expression.
|
protected boolean |
isDataProperty(IRI iri)
Checks if is data property.
|
protected boolean |
isDataPropertyOnly(IRI iri)
Determines if a given IRI is currently a data property IRI and not an
object property IRI and not an annotation property IRI.
|
boolean |
isDataRange(IRI iri)
Checks if is data range.
|
protected boolean |
isGeneralPredicate(IRI predicate)
Checks if is general predicate.
|
protected boolean |
isIndividual(IRI iri)
Checks if is individual.
|
protected boolean |
isObjectProperty(IRI iri)
Checks if is object property.
|
protected boolean |
isObjectPropertyOnly(IRI iri)
Determines if a given IRI is currently an object property IRI and not a
data property IRI and not an annotation property IRI.
|
protected boolean |
isOntology(IRI iri)
Checks if is ontology.
|
boolean |
isParsedAllTriples()
Checks if is parsed all triples.
|
protected boolean |
isRDFProperty(IRI iri)
Checks if is rDF property.
|
boolean |
isRestriction(IRI iri)
Checks if is restriction.
|
protected boolean |
isSharedAnonymousNode(IRI iri)
Checks if is shared anonymous node.
|
protected boolean |
isSWRLBuiltInAtom(IRI iri)
Checks if is sWRL built in atom.
|
protected boolean |
isSWRLClassAtom(IRI iri)
Checks if is sWRL class atom.
|
protected boolean |
isSWRLDataRangeAtom(IRI iri)
Checks if is sWRL data range atom.
|
protected boolean |
isSWRLDataValuedPropertyAtom(IRI iri)
Checks if is sWRL data valued property atom.
|
protected boolean |
isSWRLDifferentFromAtom(IRI iri)
Checks if is sWRL different from atom.
|
protected boolean |
isSWRLIndividualPropertyAtom(IRI iri)
Checks if is sWRL individual property atom.
|
protected boolean |
isSWRLRule(IRI iri)
Checks if is sWRL rule.
|
protected boolean |
isSWRLSameAsAtom(IRI iri)
Checks if is sWRL same as atom.
|
protected boolean |
isSWRLVariable(IRI iri)
Checks if is sWRL variable.
|
boolean |
isTriplePresent(IRI subject,
IRI predicate,
IRI object,
boolean consume)
Checks if is triple present.
|
boolean |
isTriplePresent(IRI subject,
IRI predicate,
OWLLiteral object,
boolean consume)
Checks if is triple present.
|
protected <E extends Throwable> |
iterateLiteralTriples(org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.LiteralTripleIterator<E> iterator)
Iterate literal triples.
|
protected <E extends Throwable> |
iterateResourceTriples(org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.ResourceTripleIterator<E> iterator)
Iterate resource triples.
|
void |
logicalURI(String string)
Receives the logical URI of the model.
|
protected void |
removeAxiom(OWLAxiom axiom)
Marks an axioms for removal at the end of parsing.
|
void |
setExpectedAxioms(int expectedAxioms)
Sets the expected axioms.
|
void |
setIRIProvider(IRIProvider iriProvider)
Sets the iRI provider.
|
void |
setOntologyFormat(RDFOntologyFormat format)
Sets the ontology format.
|
protected void |
setOntologyID(OWLOntologyID ontologyID)
Sets the ontology id.
|
void |
setPendingAnnotations(Set<OWLAnnotation> annotations)
Sets the pending annotations.
|
void |
startModel(String string)
Called when model parsing is started.
|
void |
statementWithLiteralValue(String subject,
String predicate,
String object,
String lang,
String datatype)
Called when a statement with literal value is added to the model.
|
void |
statementWithResourceValue(String subject,
String predicate,
String object)
Called when a statement with resource value is added to the model.
|
Set<OWLAnnotation> |
translateAnnotations(IRI mainNode)
Translates the annotation on a main node.
|
OWLClassExpression |
translateClassExpression(IRI mainNode)
Translate class expression.
|
OWLDataPropertyExpression |
translateDataPropertyExpression(IRI iri)
Translate data property expression.
|
OWLDataRange |
translateDataRange(IRI mainNode)
Given a main node, translated data ranges according to Table 12.
|
OWLIndividual |
translateIndividual(IRI node)
Translate individual.
|
OWLObjectPropertyExpression |
translateObjectPropertyExpression(IRI mainNode)
Translate object property expression.
|
Set<OWLClassExpression> |
translateToClassExpressionSet(IRI mainNode)
Translate to class expression set.
|
Set<OWLLiteral> |
translateToConstantSet(IRI mainNode)
Translate to constant set.
|
List<OWLDataPropertyExpression> |
translateToDataPropertyList(IRI mainNode)
Translate to data property list.
|
Set<OWLDataRange> |
translateToDataRangeSet(IRI mainNode)
Translate to data range set.
|
Set<OWLFacetRestriction> |
translateToFacetRestrictionSet(IRI mainNode)
Translate to facet restriction set.
|
Set<OWLIndividual> |
translateToIndividualSet(IRI mainNode)
Translate to individual set.
|
List<OWLObjectPropertyExpression> |
translateToObjectPropertyList(IRI mainNode)
Translate to object property list.
|
protected Map<IRI,BuiltInTypeHandler> axiomTypeTripleHandlers
protected List<AbstractLiteralTripleHandler> literalTripleHandlers
protected List<AbstractResourceTripleHandler> resourceTripleHandlers
protected TPInverseOfHandler inverseOfHandler
public OWLRDFConsumer(OWLOntology ontology, AnonymousNodeChecker checker, OWLOntologyLoaderConfiguration configuration)
ontology - the ontologychecker - the checkerconfiguration - the configuration@Deprecated public OWLRDFConsumer(OWLOntologyManager owlOntologyManager, OWLOntology ontology, AnonymousNodeChecker checker, OWLOntologyLoaderConfiguration configuration)
owlOntologyManager - the owl ontology managerontology - the ontologychecker - the checkerconfiguration - the configurationpublic void setIRIProvider(IRIProvider iriProvider)
iriProvider - the new iRI providerpublic OWLOntology getOntology()
public RDFOntologyFormat getOntologyFormat()
public void setOntologyFormat(RDFOntologyFormat format)
format - the new ontology formatpublic void setExpectedAxioms(int expectedAxioms)
expectedAxioms - the new expected axiomspublic OWLDataFactory getDataFactory()
public Set<OWLAnnotation> getPendingAnnotations()
public void setPendingAnnotations(Set<OWLAnnotation> annotations)
annotations - the new pending annotationspublic void importsClosureChanged()
protected boolean isAnonymousNode(IRI iri)
iri - The IRI of the node to be checked.true if the node is anonymous, or false if the
node is not anonymous.protected boolean isSharedAnonymousNode(IRI iri)
iri - the iriprotected void addSharedAnonymousNode(IRI iri, Object translation)
iri - the iritranslation - the translationprotected Object getSharedAnonymousNode(IRI iri)
iri - the iriprotected void addAxiom(OWLAxiom axiom)
axiom - the axiomprotected void removeAxiom(OWLAxiom axiom)
axiom - The axiom to be removed.protected void checkForAndProcessAnnotatedDeclaration(IRI mainNode) throws UnloadableImportException
mainNode - the main nodeUnloadableImportException - the unloadable import exceptionprotected void applyChange(OWLOntologyChange change)
change - the changeprotected void setOntologyID(OWLOntologyID ontologyID)
ontologyID - the new ontology idprotected void addOntologyAnnotation(OWLAnnotation annotation)
annotation - the annotationprotected void addImport(OWLImportsDeclaration declaration)
declaration - the declarationpublic OWLAxiom getLastAddedAxiom()
protected boolean isIndividual(IRI iri)
iri - the iriprotected void addRDFProperty(IRI iri)
iri - the iriprotected boolean isRDFProperty(IRI iri)
iri - the iripublic void addClassExpression(IRI iri, boolean explicitlyTyped)
iri - the iriexplicitlyTyped - the explicitly typedpublic boolean isClassExpression(IRI iri)
iri - the iripublic void addObjectProperty(IRI iri, boolean explicitlyTyped)
iri - the iriexplicitlyTyped - the explicitly typedpublic void addDataProperty(IRI iri, boolean explicitlyTyped)
iri - the iriexplicitlyTyped - the explicitly typedprotected void addAnnotationProperty(IRI iri, boolean explicitlyTyped)
iri - the iriexplicitlyTyped - the explicitly typedpublic void addDataRange(IRI iri, boolean explicitlyTyped)
iri - the iriexplicitlyTyped - the explicitly typedprotected void addOWLNamedIndividual(IRI iri, boolean explicitlyType)
iri - the iriexplicitlyType - the explicitly typeprotected void addOWLRestriction(IRI iri, boolean explicitlyTyped)
iri - the iriexplicitlyTyped - the explicitly typedpublic boolean isRestriction(IRI iri)
iri - the iriprotected void addAnnotationIRI(IRI iri)
iri - the iriprotected boolean isAnnotation(IRI iri)
iri - the iriprotected boolean isObjectPropertyOnly(IRI iri)
iri - The IRI to check.true if the IRI is an object property IRI and not a data
property IRI and not an annotation property IRI. Otherwise,
false.protected boolean isObjectProperty(IRI iri)
iri - the iriprotected boolean isDataPropertyOnly(IRI iri)
iri - The IRI to check.true if the IRI is a data property IRI and not an object
property IRI and not an annotation property IRI. Otherwise,
false.protected boolean isDataProperty(IRI iri)
iri - the iriprotected boolean isAnnotationPropertyOnly(IRI iri)
iri - The IRI to check.true if the IRI is an annotation property IRI and not a
data property IRI and not an object property IRI. Otherwise,
false.protected boolean isAnnotationProperty(IRI iri)
iri - the iriprotected boolean isOntology(IRI iri)
iri - the iripublic OWLOntologyManager getOWLOntologyManager()
public void addAnnotatedSource(IRI annotatedAnonSource, IRI annotationMainNode)
annotatedAnonSource - The source that the annotation annotatesannotationMainNode - The annotationspublic Set<IRI> getAnnotatedSourceAnnotationMainNodes(IRI source)
source - The source (axiom or annotation main node)protected OWLClass getOWLClass(IRI iri)
iri - the iriprotected OWLObjectProperty getOWLObjectProperty(IRI iri)
iri - the iriprotected OWLDataProperty getOWLDataProperty(IRI iri)
iri - the iriprotected OWLIndividual getOWLIndividual(IRI iri)
iri - the iriprotected void consumeTriple(IRI subject, IRI predicate, IRI object)
subject - the subjectpredicate - the predicateobject - the objectprotected void consumeTriple(IRI subject, IRI predicate, OWLLiteral con)
subject - the subjectpredicate - the predicatecon - the conprotected void addSWRLRule(IRI iri)
iri - the iriprotected boolean isSWRLRule(IRI iri)
iri - the iriprotected void addSWRLIndividualPropertyAtom(IRI iri)
iri - the iriprotected boolean isSWRLIndividualPropertyAtom(IRI iri)
iri - the iriprotected void addSWRLDataPropertyAtom(IRI iri)
iri - the iriprotected boolean isSWRLDataValuedPropertyAtom(IRI iri)
iri - the iriprotected void addSWRLClassAtom(IRI iri)
iri - the iriprotected boolean isSWRLClassAtom(IRI iri)
iri - the iriprotected void addSWRLSameAsAtom(IRI iri)
iri - the iriprotected boolean isSWRLSameAsAtom(IRI iri)
iri - the iriprotected void addSWRLDifferentFromAtom(IRI iri)
iri - the iriprotected boolean isSWRLDifferentFromAtom(IRI iri)
iri - the iriprotected void addSWRLDataRangeAtom(IRI iri)
iri - the iriprotected boolean isSWRLDataRangeAtom(IRI iri)
iri - the iriprotected void addSWRLBuiltInAtom(IRI iri)
iri - the iriprotected boolean isSWRLBuiltInAtom(IRI iri)
iri - the iriprotected void addSWRLVariable(IRI iri)
iri - the iriprotected boolean isSWRLVariable(IRI iri)
iri - the iripublic void handle(IRI subject, IRI predicate, IRI object) throws UnloadableImportException
subject - The subject of the triplepredicate - The predicate of the tripleobject - The object of the tripleUnloadableImportException - if such exception is raised by handleTriple()public void handle(IRI subject, IRI predicate, OWLLiteral object)
subject - the subjectpredicate - the predicateobject - the objectprotected void dumpRemainingTriples()
public void startModel(String string) throws SAXException
RDFConsumerstartModel in interface RDFConsumerstring - physical URI of the modelSAXException - sax exceptionpublic boolean isParsedAllTriples()
public void endModel()
throws SAXException
RDFConsumerendModel in interface RDFConsumerSAXException - sax exceptionpublic void addModelAttribte(String string, String string1) throws SAXException
RDFConsumeraddModelAttribte in interface RDFConsumerstring - the key of the attributestring1 - the value of the attributeSAXException - sax exceptionpublic void includeModel(String string, String string1) throws SAXException
RDFConsumerincludeModel in interface RDFConsumerstring - logical URI of the modelstring1 - physical URI of the modelSAXException - sax exceptionpublic void logicalURI(String string) throws SAXException
RDFConsumerlogicalURI in interface RDFConsumerstring - logical URI of the modelSAXException - sax exceptionpublic IRI getSynonym(IRI original)
original - the originalpublic void statementWithLiteralValue(String subject, String predicate, String object, String lang, String datatype) throws SAXException
RDFConsumerstatementWithLiteralValue in interface RDFConsumersubject - URI of the subject resourcepredicate - URI of the predicate resourceobject - literal object valuelang - the languagedatatype - the URI of the literal's datatype (may be null)SAXException - sax exceptionpublic void statementWithResourceValue(String subject, String predicate, String object) throws SAXException
RDFConsumerstatementWithResourceValue in interface RDFConsumersubject - URI of the subject resourcepredicate - URI of the predicate resourceobject - URI of the object resourceSAXException - sax exceptionpublic OWLDataRange translateDataRange(IRI mainNode)
mainNode - The main nodepublic OWLDataPropertyExpression translateDataPropertyExpression(IRI iri)
iri - the iripublic OWLObjectPropertyExpression translateObjectPropertyExpression(IRI mainNode)
mainNode - the main nodepublic OWLIndividual translateIndividual(IRI node)
node - the nodepublic Set<OWLAnnotation> translateAnnotations(IRI mainNode)
mainNode - The main nodepublic OWLClassExpression translateClassExpression(IRI mainNode)
mainNode - the main nodepublic OWLClassExpression getClassExpressionIfTranslated(IRI mainNode)
mainNode - the main nodepublic List<OWLObjectPropertyExpression> translateToObjectPropertyList(IRI mainNode)
mainNode - the main nodepublic List<OWLDataPropertyExpression> translateToDataPropertyList(IRI mainNode)
mainNode - the main nodepublic Set<OWLClassExpression> translateToClassExpressionSet(IRI mainNode)
mainNode - the main nodepublic Set<OWLLiteral> translateToConstantSet(IRI mainNode)
mainNode - the main nodepublic Set<OWLIndividual> translateToIndividualSet(IRI mainNode)
mainNode - the main nodepublic Set<OWLDataRange> translateToDataRangeSet(IRI mainNode)
mainNode - the main nodepublic Set<OWLFacetRestriction> translateToFacetRestrictionSet(IRI mainNode)
mainNode - the main nodepublic Set<IRI> getPredicatesBySubject(IRI subject)
subject - the subjectpublic IRI getResourceObject(IRI subject, OWLRDFVocabulary predicate, boolean consume)
subject - the subjectpredicate - the predicateconsume - the consumepublic IRI getResourceObject(IRI subject, IRI predicate, boolean consume)
subject - the subjectpredicate - the predicateconsume - the consumepublic Set<IRI> getResourceObjects(IRI subject, IRI predicate)
subject - the subjectpredicate - the predicatepublic OWLLiteral getLiteralObject(IRI subject, OWLRDFVocabulary predicate, boolean consume)
subject - the subjectpredicate - the predicateconsume - the consumepublic OWLLiteral getLiteralObject(IRI subject, IRI predicate, boolean consume)
subject - the subjectpredicate - the predicateconsume - the consumepublic Set<OWLLiteral> getLiteralObjects(IRI subject, IRI predicate)
subject - the subjectpredicate - the predicatepublic boolean isTriplePresent(IRI subject, IRI predicate, IRI object, boolean consume)
subject - the subjectpredicate - the predicateobject - the objectconsume - the consumeprotected boolean isGeneralPredicate(IRI predicate)
predicate - the predicatepublic boolean isTriplePresent(IRI subject, IRI predicate, OWLLiteral object, boolean consume)
subject - the subjectpredicate - the predicateobject - the objectconsume - the consumepublic boolean hasPredicate(IRI subject, IRI predicate)
subject - the subjectpredicate - the predicatepublic void addRest(IRI subject, IRI object)
subject - the subjectobject - the objectpublic void addFirst(IRI subject, IRI object)
subject - the subjectobject - the objectpublic IRI getFirstResource(IRI subject, boolean consume)
subject - the subjectconsume - the consumepublic OWLLiteral getFirstLiteral(IRI subject)
subject - the subjectpublic IRI getRest(IRI subject, boolean consume)
subject - the subjectconsume - the consumepublic void addFirst(IRI subject, OWLLiteral object)
subject - the subjectobject - the objectpublic void addOntology(IRI iri)
iri - the iripublic void addAxiom(IRI axiomIRI)
axiomIRI - the axiom iripublic boolean isAxiom(IRI iri)
iri - the iripublic boolean isDataRange(IRI iri)
iri - the iripublic OWLOntologyLoaderConfiguration getConfiguration()
protected <E extends Throwable> void iterateResourceTriples(org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.ResourceTripleIterator<E> iterator) throws E extends Throwable
E - the element typeiterator - the iteratorE - the eE extends Throwableprotected <E extends Throwable> void iterateLiteralTriples(org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.LiteralTripleIterator<E> iterator) throws E extends Throwable
E - the element typeiterator - the iteratorE - the eE extends Throwablepublic void addTriple(IRI subject, IRI predicate, IRI object)
subject - the subjectpredicate - the predicateobject - the objectpublic void addTriple(IRI subject, IRI predicate, OWLLiteral con)
subject - the subjectpredicate - the predicatecon - the conCopyright © 2014 The University of Manchester. All Rights Reserved.