|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Parameters
Parameters is a helper type used to automate the serialization/deserialization of InformationSet to and from RDF data.
| Method Summary | |
|---|---|
CloseableIterator<org.openrdf.model.Statement> |
getStatements()
Iterates the statements. |
InformationSet |
read(java.lang.Class<? extends InformationSet> parameterType)
Reads a parameters from the RDF statements. |
InformationSet |
read(java.lang.Class<? extends InformationSet> parameterType,
org.openrdf.model.URI parameterName)
Reads a parameters from the RDF statements. |
InformationSet[] |
readAll(java.lang.Class<? extends InformationSet> parameterType)
Returns all objects from a specified type that could be constructed from this RDF data. |
SetOfStatements |
toRDF(SetOfStatements data)
Serializes this object to SetOfStatements. |
void |
write(InformationSet parameter)
Writes parameter to RDF data using a auto-generated parameterName. |
void |
write(InformationSet parameter,
org.openrdf.model.URI parameterName)
Writes parameter to RDF data using a explicit parameterName. |
| Method Detail |
|---|
void write(InformationSet parameter,
org.openrdf.model.URI parameterName)
parameter - to be serializedparameterName - parameter overloadingvoid write(InformationSet parameter)
parameter - to be serializedInformationSet read(java.lang.Class<? extends InformationSet> parameterType)
parameterType - type to be constructed
InformationSet read(java.lang.Class<? extends InformationSet> parameterType,
org.openrdf.model.URI parameterName)
parameterType - type to be constructedparameterName - is used to distinguish parameter overloading
InformationSet[] readAll(java.lang.Class<? extends InformationSet> parameterType)
parameterType - type to be constructed
CloseableIterator<org.openrdf.model.Statement> getStatements()
SetOfStatements
getStatements in interface SetOfStatementsSetOfStatements toRDF(SetOfStatements data)
InformationSet
toRDF in interface InformationSetdata - is stream to serialize this object to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||