SWRLFactoryCreator.java revision 2
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen/*
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen * Created on Apr 6, 2005
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen */
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainenpackage org.mindswap.swrl;
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainenimport impl.swrl.SWRLFactoryImpl;
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainenimport org.mindswap.owl.OWLFactory;
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainenimport org.mindswap.owl.OWLOntology;
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen/**
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen * @author Evren Sirin
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen *
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen */
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainenpublic class SWRLFactoryCreator {
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen public static SWRLFactory createFactory() {
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen return createFactory( OWLFactory.createOntology() );
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen }
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen public static SWRLFactory createFactory( OWLOntology ont ) {
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen return new SWRLFactoryImpl( ont );
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen }
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen}
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen