public class LCSHService extends Object implements edu.cornell.mannlib.semservices.service.ExternalConceptService
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
LCSHService() |
| Modifier and Type | Method and Description |
|---|---|
edu.cornell.mannlib.semservices.bo.Concept |
createConcept(String bestMatch,
String conceptURLString,
String skosConceptURI) |
protected String |
extractConceptId(String str) |
List<edu.cornell.mannlib.semservices.bo.Concept> |
getConcepts(String term) |
List<edu.cornell.mannlib.semservices.bo.Concept> |
getConceptsByURIWithSparql(String uri) |
protected List<String> |
getConceptURIFromXML(String rdf) |
List<String> |
getConceptURISFromJSON(String results) |
List<edu.cornell.mannlib.semservices.bo.Concept> |
processResults(String term) |
protected String |
stripConceptId(String uri) |
public List<edu.cornell.mannlib.semservices.bo.Concept> getConcepts(String term) throws Exception
getConcepts in interface edu.cornell.mannlib.semservices.service.ExternalConceptServiceExceptionpublic edu.cornell.mannlib.semservices.bo.Concept createConcept(String bestMatch, String conceptURLString, String skosConceptURI)
public List<edu.cornell.mannlib.semservices.bo.Concept> processResults(String term) throws Exception
processResults in interface edu.cornell.mannlib.semservices.service.ExternalConceptServiceExceptionprotected String extractConceptId(String str)
str - String with concept idCopyright © 2022. All rights reserved.