public class LocalConceptProvider extends Object implements ConceptProvider
ConceptProvider
operates on concepts available in the localhost.Constructor and Description |
---|
LocalConceptProvider(TcManager tcManager,
ContentGraphProvider contentGraphProvider,
UriRef selectedScheme)
Constructs a
LocalConceptProvider with the specified parameters. |
Modifier and Type | Method and Description |
---|---|
UriRef |
getSelectedScheme() |
Graph |
retrieveConcepts(String searchTerm)
Returns a graph containing all concepts whose SKOS:prefLabels
or SKOS:altLabels contain the search term.
|
public LocalConceptProvider(TcManager tcManager, ContentGraphProvider contentGraphProvider, UriRef selectedScheme)
LocalConceptProvider
with the specified parameters.tcManager
- Reference to the TcManager
contentGraphProvider
- Reference to a ContentGraphProvider
selectedScheme
- The scheme in which concepts are to be searched.public UriRef getSelectedScheme()
public Graph retrieveConcepts(String searchTerm)
ConceptProvider
retrieveConcepts
in interface ConceptProvider
searchTerm
- a filter condition that specifies the term that must
be contained within SKOS:prefLabels or SKOS:altLabels of a concept.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.