|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.rdf2bean.core.Storage
public class Storage
| Constructor Summary | |
|---|---|
Storage(java.util.Set<java.lang.String> op)
|
|
| Method Summary | ||
|---|---|---|
void |
add(java.lang.String rdfString)
Adds the given RDF string to the storage. |
|
void |
addResource(RDFResource res)
Adds the given RDFResource object to the storage. |
|
void |
addResources(java.util.Collection<? extends RDFResource> resourcesToBeAdded)
Adds the given collection of RDFResource objects to the storage. |
|
static Storage |
createStorageWithoutObjectProperties()
|
|
void |
debugMe()
|
|
boolean |
existsResourceWithThisURI(java.lang.String uri)
|
|
|
getAllResourcesOfThisType(java.lang.Class<T> cl)
|
|
|
getResourceOfThisTypeWithThisURI(java.lang.String uri,
java.lang.Class<T> cl)
|
|
java.lang.String |
getStringRepresentation()
|
|
void |
read(java.lang.String rdfString)
Initializes the storage from given RDF string. |
|
void |
read2(java.lang.String rdfString)
|
|
|
register(java.lang.Class<T> cl,
java.lang.String resourceURI)
|
|
static java.lang.String |
sanitize(java.lang.String rdfString)
Helper method to fix S-APL code which is not RDF complaint. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Storage(java.util.Set<java.lang.String> op)
| Method Detail |
|---|
public static java.lang.String sanitize(java.lang.String rdfString)
rdfString - the String to be sanitized
public void read(java.lang.String rdfString)
throws org.openrdf.repository.RepositoryException,
org.openrdf.query.MalformedQueryException,
org.openrdf.query.QueryEvaluationException,
java.lang.IllegalArgumentException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
rdfString - the RDF added to the storage
org.openrdf.repository.RepositoryException
java.lang.IllegalArgumentException
org.openrdf.query.MalformedQueryException
org.openrdf.query.QueryEvaluationException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void read2(java.lang.String rdfString)
throws StorageException
StorageException
public void add(java.lang.String rdfString)
throws org.openrdf.repository.RepositoryException,
org.openrdf.query.MalformedQueryException,
org.openrdf.query.QueryEvaluationException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
rdfString - the RDF added to the storage
org.openrdf.repository.RepositoryException
org.openrdf.query.MalformedQueryException
org.openrdf.query.QueryEvaluationException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public <T extends RDFResource> void register(java.lang.Class<T> cl,
java.lang.String resourceURI)
public <T extends RDFResource> java.util.Set<T> getAllResourcesOfThisType(java.lang.Class<T> cl)
public <T extends RDFResource> T getResourceOfThisTypeWithThisURI(java.lang.String uri,
java.lang.Class<T> cl)
public java.lang.String getStringRepresentation()
throws org.openrdf.query.QueryEvaluationException,
org.openrdf.repository.RepositoryException,
org.openrdf.query.MalformedQueryException
org.openrdf.query.QueryEvaluationException
org.openrdf.repository.RepositoryException
org.openrdf.query.MalformedQueryExceptionpublic boolean existsResourceWithThisURI(java.lang.String uri)
public void addResource(RDFResource res)
res - to be addedpublic void addResources(java.util.Collection<? extends RDFResource> resourcesToBeAdded)
resourcesToBeAdded - to be addedpublic void debugMe()
public static Storage createStorageWithoutObjectProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||