Protégé-OWL 3.4.1

edu.stanford.smi.protegex.owl.swrl.bridge
Class OWLConversionFactory

java.lang.Object
  extended by 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.


Constructor Summary
OWLConversionFactory()
           
 
Method Summary
static Atom createAtom(SWRLAtom swrlAtom)
           
static BuiltInAtom createBuiltInAtom(SWRLBuiltinAtom atom)
           
static ClassAtom createClassAtom(SWRLClassAtom atom)
           
static DataRangeAtom createDataRangeAtom(SWRLDataRangeAtom atom)
           
static DatavaluedPropertyAtom createDatavaluedPropertyAtom(SWRLDatavaluedPropertyAtom atom)
           
static DifferentIndividualsAtom createDifferentIndividualsAtom(SWRLDifferentIndividualsAtom atom)
           
static IndividualPropertyAtom createIndividualPropertyAtom(SWRLIndividualPropertyAtom atom)
           
static OWLClass createOWLClass(OWLModel owlModel)
           
static OWLClass createOWLClass(OWLModel owlModel, String classURI)
           
static OWLClass createOWLClass(OWLNamedClass cls)
           
static OWLDatatypeProperty createOWLDatatypeProperty(OWLDatatypeProperty property)
           
static OWLDatatypeProperty createOWLDatatypeProperty(OWLModel owlModel, String propertyURI)
           
static OWLDatatypeValue createOWLDatatypeValue(OWLModel owlModel, RDFSLiteral literal)
           
static OWLIndividual createOWLIndividual(OWLIndividual individual)
           
static OWLIndividual createOWLIndividual(OWLModel owlModel, String individualURI)
           
static OWLObjectProperty createOWLObjectProperty(OWLModel owlModel, String propertyURI)
           
static OWLObjectProperty createOWLObjectProperty(OWLObjectProperty property)
           
static Set<OWLPropertyAssertionAxiom> createOWLPropertyAssertionAxioms(OWLModel owlModel, String propertyURI)
           
static SameIndividualAtom createSameIndividualAtom(SWRLSameIndividualAtom atom)
           
static void write2OWLModel(OWLAxiom axiom, OWLModel owlModel)
           
static void write2OWLModel(OWLClass owlClass, OWLModel owlModel)
           
static void write2OWLModel(OWLIndividual owlIndividual, OWLModel owlModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLConversionFactory

public OWLConversionFactory()
Method Detail

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

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.