eu.monnetproject.lemon.impl
Class SPARQLResolver
java.lang.Object
eu.monnetproject.lemon.impl.SPARQLResolver
- All Implemented Interfaces:
- LexiconResolver, RemoteResolver
public class SPARQLResolver
- extends Object
- implements RemoteResolver, LexiconResolver
- Author:
- John McCrae
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPARQLResolver
public SPARQLResolver(URL endpoint,
Set<URI> graphs,
LinguisticOntology lingOnto)
resolveRemote
public void resolveRemote(LemonModelImpl model,
LemonElementImpl<?> element,
int depth)
- Specified by:
resolveRemote
in interface RemoteResolver
resolveRemoteFiltered
public void resolveRemoteFiltered(LemonModelImpl model,
URI property,
LemonElementImpl<?> element)
- Specified by:
resolveRemoteFiltered
in interface RemoteResolver
resolveRemoteList
public <T> List<T> resolveRemoteList(Object identifier,
Class<T> clazz,
LemonModelImpl model)
- Specified by:
resolveRemoteList
in interface RemoteResolver
getLexica
public Set<URI> getLexica()
- Specified by:
getLexica
in interface LexiconResolver
query
public <Elem extends LemonElementOrPredicate> Iterator<Elem> query(Class<Elem> target,
String query,
LemonModelImpl model)
throws IOException,
ParserConfigurationException,
SAXException
- Throws:
IOException
ParserConfigurationException
SAXException
Copyright © 2012. All Rights Reserved.