public abstract class Something extends Object
This class currently provides a single access point for:
During serialization, an unvalidated triples list will be sent directly to the triple sink and the field avoided. Unvalidated relations will be serialized in turn and sent to triple sink.
| Constructor and Description |
|---|
Something() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUnvalidatedRelation(org.openrdf.model.URI predicate,
Object object)
Add an unvalidated relation to this subgraph.
|
void |
addUnvalidatedTuple(org.openrdf.model.URI predicate,
org.openrdf.model.Value object)
Add an unvalidated tuple to this subgraph.
|
String |
getURI()
Get the URI of this instance
|
void |
setAllowUnvalidatedRelations(boolean tf)
Set whether to allow unvalidated relations in the subgraph.
|
void |
setAllowUnvalidatedTriples(boolean tf)
Set whether to allow unvalidated triples in the subgraph.
|
void |
setURI(String uri)
Set the URI of this instance.
|
public Something()
public void setURI(String uri)
uri - The URI of this instancepublic void addUnvalidatedTuple(org.openrdf.model.URI predicate, org.openrdf.model.Value object) throws IllegalArgumentException
predicate - The predicateobject - The objectIllegalArgumentException - if this subgraph does not allow
unvalidated tuples to be addedpublic void setAllowUnvalidatedTriples(boolean tf)
tf - TRUE to allow unvalidated triples, FALSE otherwisepublic void addUnvalidatedRelation(org.openrdf.model.URI predicate, Object object) throws IllegalArgumentException
predicate - The predicateobject - The objectIllegalArgumentException - if this subgraph does not allow
unvalidated tuples to be addedpublic void setAllowUnvalidatedRelations(boolean tf)
tf - TRUE to allow unvalidated relations, FALSE otherwise