|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.corrib.openrdf.OpenRDF
public class OpenRDF
This class allows of creating Model and ModelSet
classes for custom configured repositories.
You can either create a Model or ModelSet providing
all the parameters or providing a specification string. The specification
string is of a following patter:
[NATIVE|HTTP]|[path]|[id]|[title]
For Model and ModelSet with underlying Native
repository, parameters path and title are optional.
For Model and ModelSet with underlying HTTP
repository, parameters id and title are optional.
| Field Summary | |
|---|---|
static int |
HTTP
HTTPRespository type |
static int |
NATIVE
NATIVERepository type |
| Method Summary | |
|---|---|
org.ontoware.rdf2go.model.Model |
createModel(int type,
java.lang.String path,
java.lang.String id,
java.lang.String title)
Creates a Model. |
org.ontoware.rdf2go.model.Model |
createModel(java.lang.String specification)
Creates a Model. |
org.ontoware.rdf2go.model.ModelSet |
createModelSet(int type,
java.lang.String path,
java.lang.String id,
java.lang.String title)
Creates a ModelSet. |
org.ontoware.rdf2go.model.ModelSet |
createModelSet(java.lang.String specification)
Creates a Model. |
static OpenRDF |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int HTTP
public static final int NATIVE
| Method Detail |
|---|
public static OpenRDF getInstance()
public org.ontoware.rdf2go.model.Model createModel(int type,
java.lang.String path,
java.lang.String id,
java.lang.String title)
Model.
type - Type of underlying repository.path - Path or URLid - ID of the underlying repository.title - Title of the underlying repository.
public org.ontoware.rdf2go.model.Model createModel(java.lang.String specification)
Model.
specification -
public org.ontoware.rdf2go.model.ModelSet createModelSet(int type,
java.lang.String path,
java.lang.String id,
java.lang.String title)
ModelSet.
type - Type of underlying repository.path - Path or URLid - ID of the underlying repository.title - Title of the underlying repository.
public org.ontoware.rdf2go.model.ModelSet createModelSet(java.lang.String specification)
Model.
specification -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||