public class SpecialValueMap extends Object
| Constructor and Description |
|---|
SpecialValueMap()
Create a new map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(RippleValue v,
ModelConnection mc)
Adds a value to the map, binding its associated RDF value back to the Ripple value.
|
RippleValue |
get(RDFValue rdf)
Maps an RDF value into Ripple space.
|
Set<org.openrdf.model.Value> |
keySet() |
void |
put(org.openrdf.model.Value key,
RippleValue value)
Adds a new pair to the map.
|
void |
remove(org.openrdf.model.Value key)
Removes a value from the map.
|
public RippleValue get(RDFValue rdf)
rdf - a wrapped RDF value to map into Ripple spacenull.public void put(org.openrdf.model.Value key,
RippleValue value)
key - a value in RDF spacevalue - a corresponding value in Ripple spacepublic void add(RippleValue v, ModelConnection mc) throws RippleException
v - the Ripple value to addmc - a transactional connectionRippleException - if the associated RDF value of the Ripple value can't be determinedpublic void remove(org.openrdf.model.Value key)
key - the RDF value to removepublic Set<org.openrdf.model.Value> keySet()
Copyright © 2007-2012 fortytwo.net. All Rights Reserved.