|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opentox.error.ErrorSource
org.opentox.ontology.rdf.RDFHandler
org.opentox.ontology.rdf.Feature
public class Feature
Field Summary |
---|
Fields inherited from class org.opentox.ontology.rdf.RDFHandler |
---|
jenaModel |
Fields inherited from class org.opentox.error.ErrorSource |
---|
errorRep |
Constructor Summary | |
---|---|
Feature()
|
Method Summary | |
---|---|
void |
createNewFeature(java.lang.String sameAs,
java.io.OutputStream output)
Creates a new Feature and writes it to an OutputStream. |
org.restlet.data.Response |
createNewFeature(java.lang.String sameAs,
java.net.URI featureService)
Generates a new Feature and POSTs it to a feature service |
Methods inherited from class org.opentox.ontology.rdf.RDFHandler |
---|
getClassMemberIteratorFor, getJenaModel |
Methods inherited from class org.opentox.error.ErrorSource |
---|
getErrorRep |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opentox.interfaces.IProne2Error |
---|
getErrorRep |
Constructor Detail |
---|
public Feature()
Method Detail |
---|
public void createNewFeature(java.lang.String sameAs, java.io.OutputStream output)
createNewFeature
in interface IFeature
sameAs
- Declares a same-as relationship between this feature and some
other feature.output
- Outputstream used to write the output.public org.restlet.data.Response createNewFeature(java.lang.String sameAs, java.net.URI featureService) throws org.restlet.resource.ResourceException, java.io.IOException
createNewFeature
in interface IFeature
sameAs
- Declares a same-as relationship between this feature and some
other feature.featureService
- Some feature service where the generated feature should be stored.
org.restlet.resource.ResourceException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |