eu.monnetproject.lemon.impl
Class SPARULUpdater
java.lang.Object
eu.monnetproject.lemon.impl.SPARULUpdater
- All Implemented Interfaces:
- RemoteUpdater
public class SPARULUpdater
- extends Object
- implements RemoteUpdater
- Author:
- John McCrae
Method Summary |
void |
add(String subject,
URI predicate,
String bNode)
|
void |
add(String subject,
URI predicate,
String literal,
String language)
|
void |
add(String subject,
URI predicate,
String literal,
URI datatype)
|
void |
add(String subject,
URI predicate,
URI object)
|
void |
add(URI subject,
URI predicate,
String bNode)
|
void |
add(URI subject,
URI predicate,
String literal,
String language)
|
void |
add(URI subject,
URI predicate,
String literal,
URI datatype)
|
void |
add(URI subject,
URI predicate,
URI object)
|
void |
addList(String subject,
URI predicate,
List<Object> list)
|
void |
addList(URI subject,
URI predicate,
List<Object> list)
|
void |
remove(String subject,
URI predicate,
String bNode)
|
void |
remove(String subject,
URI predicate,
String literal,
String language)
|
void |
remove(String subject,
URI predicate,
String literal,
URI datatype)
|
void |
remove(String subject,
URI predicate,
URI object)
|
void |
remove(URI subject,
URI predicate,
String bNode)
|
void |
remove(URI subject,
URI predicate,
String literal,
String language)
|
void |
remove(URI subject,
URI predicate,
String literal,
URI datatype)
|
void |
remove(URI subject,
URI predicate,
URI object)
|
void |
removeList(String subject,
URI predicate,
List<Object> list)
|
void |
removeList(URI subject,
URI predicate,
List<Object> list)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPARULUpdater
public SPARULUpdater(String url,
URI graph,
SPARQL dialect)
- Create a connection to a SPARUL endpoint with no authentication
- Parameters:
url
- The URL of the endpoint, must include query parameter, e.g.,
"http://localhost:8080/sparql-auth?query="
SPARULUpdater
public SPARULUpdater(String url,
URI graph,
String username,
String password,
SPARQL dialect)
- Create a connection to a SPARUL endpoint with authentication
- Parameters:
url
- The URL of the endpoint, must include query parameter, e.g.,
"http://localhost:8080/sparql-auth?query="username
- The user name (or null for no authentication)password
- The pass word (or null for no authentication)
add
public void add(URI subject,
URI predicate,
URI object)
- Specified by:
add
in interface RemoteUpdater
add
public void add(String subject,
URI predicate,
URI object)
- Specified by:
add
in interface RemoteUpdater
add
public void add(URI subject,
URI predicate,
String bNode)
- Specified by:
add
in interface RemoteUpdater
add
public void add(String subject,
URI predicate,
String bNode)
- Specified by:
add
in interface RemoteUpdater
add
public void add(URI subject,
URI predicate,
String literal,
String language)
- Specified by:
add
in interface RemoteUpdater
add
public void add(String subject,
URI predicate,
String literal,
String language)
- Specified by:
add
in interface RemoteUpdater
add
public void add(URI subject,
URI predicate,
String literal,
URI datatype)
- Specified by:
add
in interface RemoteUpdater
add
public void add(String subject,
URI predicate,
String literal,
URI datatype)
- Specified by:
add
in interface RemoteUpdater
remove
public void remove(URI subject,
URI predicate,
URI object)
- Specified by:
remove
in interface RemoteUpdater
remove
public void remove(String subject,
URI predicate,
URI object)
- Specified by:
remove
in interface RemoteUpdater
remove
public void remove(URI subject,
URI predicate,
String bNode)
- Specified by:
remove
in interface RemoteUpdater
remove
public void remove(String subject,
URI predicate,
String bNode)
- Specified by:
remove
in interface RemoteUpdater
remove
public void remove(URI subject,
URI predicate,
String literal,
String language)
- Specified by:
remove
in interface RemoteUpdater
remove
public void remove(String subject,
URI predicate,
String literal,
String language)
- Specified by:
remove
in interface RemoteUpdater
remove
public void remove(URI subject,
URI predicate,
String literal,
URI datatype)
- Specified by:
remove
in interface RemoteUpdater
remove
public void remove(String subject,
URI predicate,
String literal,
URI datatype)
- Specified by:
remove
in interface RemoteUpdater
addList
public void addList(String subject,
URI predicate,
List<Object> list)
- Specified by:
addList
in interface RemoteUpdater
addList
public void addList(URI subject,
URI predicate,
List<Object> list)
- Specified by:
addList
in interface RemoteUpdater
removeList
public void removeList(String subject,
URI predicate,
List<Object> list)
- Specified by:
removeList
in interface RemoteUpdater
removeList
public void removeList(URI subject,
URI predicate,
List<Object> list)
- Specified by:
removeList
in interface RemoteUpdater
Copyright © 2012. All Rights Reserved.