edu.stanford.smi.protegex.owl.emf
Class EMFGenerator
java.lang.Object
edu.stanford.smi.protegex.owl.emf.EMFGenerator
public class EMFGenerator
- extends Object
A class that can create Jave interfaces in the EMF format from an OWL model.
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMFGenerator
public EMFGenerator(OWLModel owlModel,
EMFGeneratorOptions options)
createAllInterfaces
public void createAllInterfaces()
throws IOException
- Throws:
IOException
createInterface
public void createInterface(RDFSNamedClass aClass)
throws IOException
- Throws:
IOException
createInterfaceCode
public void createInterfaceCode(PrintWriter printWriter,
RDFSNamedClass aClass)
createSlotCode
public void createSlotCode(PrintWriter printWriter,
RDFSNamedClass aClass,
RDFProperty property)
getBaseInterfaces
public Collection getBaseInterfaces(RDFSNamedClass aClass)
getInterfaceFile
public File getInterfaceFile(RDFSNamedClass aClass)
getInterfaceName
public String getInterfaceName(RDFSNamedClass aClass)
getValidJavaName
public static String getValidJavaName(String name)
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.