DictListParameterConversion, StringParameterConversionpublic interface ParameterConversion
ParameterConversion to bridge between RDF
and native Java class representation of data.
A ParameterConversion is implicitly tied to a Java type which it expects
objects passed to toRDF(Object) to be instances of and which
objects returned from fromRDF(RDFNode) are instances of.
| Modifier and Type | Method | Description |
|---|---|---|
Object |
fromRDF(org.apache.jena.rdf.model.RDFNode node) |
Convert the given
node to an equal object representation. |
org.apache.jena.rdf.model.RDFNode |
toRDF(Object object) |
Convert the given
object to an equal RDF representation. |
org.apache.jena.rdf.model.RDFNode toRDF(Object object)
object to an equal RDF representation.object - an object expected to be instance of the type that this
ParameterConversion is intended forobjectObject fromRDF(org.apache.jena.rdf.model.RDFNode node)
node to an equal object representation.node - the RDF data to be converted to an instance of the type that
this ParameterConversion is intended fornodeCopyright © 2018. All rights reserved.