Package | Description |
---|---|
com.epimorphics.lda.core |
The core package contains the core of Elda's functionality: the handling
of endpoint requests and select and view query construction.
|
com.epimorphics.lda.query |
The query package contains the classes which
construct SPARQL queries for the item-selection part
of the LDA process.
|
com.epimorphics.lda.specmanager |
The specmanage package contains classes that manage the
loading of different API configurations.
|
com.epimorphics.lda.specs |
The specs package contains the classes that interpret linked
data API configurations and their endpoints.
|
Modifier and Type | Method and Description |
---|---|
String |
View.fetchDescriptionsFor(Controls c,
String select,
List<com.hp.hpl.jena.rdf.model.Resource> roots,
com.hp.hpl.jena.rdf.model.Model m,
APISpec spec,
VarSupply vars,
String graphName) |
static void |
APIFactory.registerApi(Router router,
String context,
APISpec spec)
Manufacture ApiInstances for each instance defined in the
given API and register them with the router.
|
String |
View.viewByTemplate(List<com.hp.hpl.jena.rdf.model.Resource> roots,
com.hp.hpl.jena.rdf.model.Model m,
APISpec spec,
List<Source> sources,
String graphName) |
Modifier and Type | Method and Description |
---|---|
protected APIResultSet |
APIQuery.fetchDescriptionOfAllResources(Controls c,
String select,
APISpec spec,
String graphName,
View view,
List<com.hp.hpl.jena.rdf.model.Resource> results) |
String |
APIQuery.getQueryString(APISpec spec,
Bindings call)
Return the select query that would be run or a plain string for the
resource
|
APIResultSet |
APIQuery.runQuery(NoteBoard nb,
Controls c,
APISpec spec,
Cache cache,
Bindings b,
View view)
Run the defined query against the datasource
|
protected APIResultSet |
APIQuery.runQueryWithSource(NoteBoard nb,
Controls c,
APISpec spec,
Bindings call,
String graphName,
View view,
Source source) |
protected Couple<String,List<com.hp.hpl.jena.rdf.model.Resource>> |
APIQuery.selectResources(Controls c,
APISpec spec,
Bindings b,
Source source)
Answer the select query (if any; otherwise, "") and list of resources
obtained by running that query.
|
Modifier and Type | Method and Description |
---|---|
APISpec |
SpecManagerImpl.addSpec(String prefixPath,
String appName,
String context,
String uri,
String key,
com.hp.hpl.jena.rdf.model.Model spec) |
APISpec |
SpecManager.addSpec(String prefixPath,
String appName,
String context,
String uri,
String key,
com.hp.hpl.jena.rdf.model.Model spec)
Load and record the specification for a new API (which might
be associated with multiple APIEndpoints).
|
APISpec |
SpecManagerImpl.getAPISpec(com.hp.hpl.jena.rdf.model.Resource specRoot) |
APISpec |
SpecManager.getAPISpec(com.hp.hpl.jena.rdf.model.Resource specRoot)
Get an APISpec object for the given spec
|
APISpec |
SpecEntry.getSpec() |
APISpec |
SpecManagerImpl.updateSpec(String prefixPath,
String appName,
String context,
String uri,
String key,
com.hp.hpl.jena.rdf.model.Model spec) |
APISpec |
SpecManager.updateSpec(String prefixPath,
String appName,
String context,
String uri,
String key,
com.hp.hpl.jena.rdf.model.Model spec)
Update the specification for an API.
|
Modifier and Type | Field and Description |
---|---|
protected APISpec |
APIEndpointSpec.parentApi |
Modifier and Type | Method and Description |
---|---|
APISpec |
APIEndpointSpec.getAPISpec()
Return the overall APISpec of which this instance is a part.
|
Constructor and Description |
---|
APIEndpointSpec(APISpec apiSpec,
APISpec parent,
com.hp.hpl.jena.rdf.model.Resource endpoint) |
Copyright © 2014. All Rights Reserved.