|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.att.gs.codip.ograph.imp.OWLOntologyFactoryImp
OWL Ontology Factory
Constructor Summary | |
OWLOntologyFactoryImp()
Creators and Initializers |
Method Summary | |
protected void |
addOntologyToRDFModel(OGOntology theWorkingOntology,
edu.unika.aifb.rdf.api.model.Model theRDFModel)
|
protected void |
addRDFPropertyStatement(OGOntologyImp theWorkingOntology,
edu.unika.aifb.rdf.api.model.Statement s)
|
protected void |
addResourceToRDFModel(OGOntology theWorkingOntology,
edu.unika.aifb.rdf.api.model.Model theRDFModel,
OGResource theSrcResource)
|
protected void |
commonInitialization(java.lang.String theURI)
|
OGOntology |
createFromRDF(edu.unika.aifb.rdf.api.model.Model theRDF)
Builds ontologies from RDF models. |
OGOntology |
createFromURI(java.lang.String theURI)
Factory Methods. |
OGOntology |
createFromURI(java.lang.String theURI,
java.io.InputStream inStream)
|
OGOntology |
createFromURI(java.lang.String theURI,
java.lang.String theXSLTURI)
Builds ontologies from an ontology identified by the URI, after applying the XSL transformation specified in the XSL URI. |
OGOntology |
createFromURI(java.lang.String theURI,
java.lang.String theXSLTURI,
java.io.InputStream transIn)
|
protected void |
createResourceByType(OGOntologyImp theWorkingOntology,
edu.unika.aifb.rdf.api.model.Statement s,
OGResource r)
|
static void |
RDFParse(java.lang.String fileNameOrURL,
java.io.InputStream inStream,
edu.unika.aifb.rdf.api.syntax.RDFParser parser,
edu.unika.aifb.rdf.api.model.Model model)
RDF Model Methods. |
void |
setApplyToImports(boolean pTransform)
Boolen to determin if transforms are applied to imports. |
edu.unika.aifb.rdf.api.model.Model |
toRDFModel(OGOntology theWorkingOntology)
Creates an RDF model from an ontology. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OWLOntologyFactoryImp()
Method Detail |
protected void commonInitialization(java.lang.String theURI)
public void setApplyToImports(boolean pTransform)
OntologyFactory
setApplyToImports
in interface OntologyFactory
public OGOntology createFromURI(java.lang.String theURI)
createFromURI
in interface OntologyFactory
theURI
- The URI of the ontology to use.public OGOntology createFromURI(java.lang.String theURI, java.lang.String theXSLTURI)
OntologyFactory
createFromURI
in interface OntologyFactory
theURI
- The URI of the ontology to use.theXSLTURI
- The URI of the XSL specification to use.public OGOntology createFromURI(java.lang.String theURI, java.lang.String theXSLTURI, java.io.InputStream transIn)
public OGOntology createFromURI(java.lang.String theURI, java.io.InputStream inStream)
public OGOntology createFromRDF(edu.unika.aifb.rdf.api.model.Model theRDF)
OntologyFactory
createFromRDF
in interface OntologyFactory
theRDF
- The RDF Model to use.protected void createResourceByType(OGOntologyImp theWorkingOntology, edu.unika.aifb.rdf.api.model.Statement s, OGResource r) throws java.lang.Exception
java.lang.Exception
protected void addRDFPropertyStatement(OGOntologyImp theWorkingOntology, edu.unika.aifb.rdf.api.model.Statement s) throws java.lang.Exception
java.lang.Exception
public static void RDFParse(java.lang.String fileNameOrURL, java.io.InputStream inStream, edu.unika.aifb.rdf.api.syntax.RDFParser parser, edu.unika.aifb.rdf.api.model.Model model) throws java.io.IOException, org.xml.sax.SAXException, java.net.MalformedURLException, edu.unika.aifb.rdf.api.model.ModelException
java.io.IOException
org.xml.sax.SAXException
java.net.MalformedURLException
edu.unika.aifb.rdf.api.model.ModelException
public edu.unika.aifb.rdf.api.model.Model toRDFModel(OGOntology theWorkingOntology) throws java.lang.Exception
OntologyFactory
toRDFModel
in interface OntologyFactory
java.lang.Exception
protected void addOntologyToRDFModel(OGOntology theWorkingOntology, edu.unika.aifb.rdf.api.model.Model theRDFModel) throws java.lang.Exception
java.lang.Exception
protected void addResourceToRDFModel(OGOntology theWorkingOntology, edu.unika.aifb.rdf.api.model.Model theRDFModel, OGResource theSrcResource) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |