edu.stanford.smi.protegex.owl.swrl.bridge
Class OWLConversionFactory
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.OWLConversionFactory
public class OWLConversionFactory
- extends Object
Factory to create bridge instances of OWL entities from Protege-OWL 3.4 API entities.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OWLConversionFactory
public OWLConversionFactory()
createOWLClass
public static OWLClass createOWLClass(OWLModel owlModel)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLClass
public static OWLClass createOWLClass(OWLModel owlModel,
String classURI)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLClass
public static OWLClass createOWLClass(OWLNamedClass cls)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLIndividual
public static OWLIndividual createOWLIndividual(OWLModel owlModel,
String individualURI)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLIndividual
public static OWLIndividual createOWLIndividual(OWLIndividual individual)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLObjectProperty
public static OWLObjectProperty createOWLObjectProperty(OWLModel owlModel,
String propertyURI)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLObjectProperty
public static OWLObjectProperty createOWLObjectProperty(OWLObjectProperty property)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLDatatypeProperty
public static OWLDatatypeProperty createOWLDatatypeProperty(OWLModel owlModel,
String propertyURI)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLDatatypeProperty
public static OWLDatatypeProperty createOWLDatatypeProperty(OWLDatatypeProperty property)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLDatatypeValue
public static OWLDatatypeValue createOWLDatatypeValue(OWLModel owlModel,
RDFSLiteral literal)
throws OWLFactoryException
- Throws:
OWLFactoryException
createClassAtom
public static ClassAtom createClassAtom(SWRLClassAtom atom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createIndividualPropertyAtom
public static IndividualPropertyAtom createIndividualPropertyAtom(SWRLIndividualPropertyAtom atom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createDatavaluedPropertyAtom
public static DatavaluedPropertyAtom createDatavaluedPropertyAtom(SWRLDatavaluedPropertyAtom atom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createSameIndividualAtom
public static SameIndividualAtom createSameIndividualAtom(SWRLSameIndividualAtom atom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createDifferentIndividualsAtom
public static DifferentIndividualsAtom createDifferentIndividualsAtom(SWRLDifferentIndividualsAtom atom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createBuiltInAtom
public static BuiltInAtom createBuiltInAtom(SWRLBuiltinAtom atom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createDataRangeAtom
public static DataRangeAtom createDataRangeAtom(SWRLDataRangeAtom atom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createAtom
public static Atom createAtom(SWRLAtom swrlAtom)
throws OWLFactoryException
- Throws:
OWLFactoryException
createOWLPropertyAssertionAxioms
public static Set<OWLPropertyAssertionAxiom> createOWLPropertyAssertionAxioms(OWLModel owlModel,
String propertyURI)
throws OWLFactoryException,
DatatypeConversionException
- Throws:
OWLFactoryException
DatatypeConversionException
write2OWLModel
public static void write2OWLModel(OWLIndividual owlIndividual,
OWLModel owlModel)
throws OWLFactoryException
- Throws:
OWLFactoryException
write2OWLModel
public static void write2OWLModel(OWLClass owlClass,
OWLModel owlModel)
throws OWLFactoryException
- Throws:
OWLFactoryException
write2OWLModel
public static void write2OWLModel(OWLAxiom axiom,
OWLModel owlModel)
throws OWLFactoryException
- Throws:
OWLFactoryException
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.