Interface GonProviderApi<T,K,V>
- All Superinterfaces:
GonProvider<K,V>
- All Known Implementing Classes:
GonProviderApi.GonProviderApiWrapper,GonProviderGson,GonProviderJava,GonProviderRon
This class adds the generic type parameter T for the objects being constructed by the writer.
For example, for Gson this is JsonElement.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from interface org.aksw.jenax.graphql.sparql.v2.gon.model.GonProvider
addElement, getLiteral, getProperty, isArray, isLiteral, isNull, isObject, listElements, listProperties, newDirectLiteral, newLiteral, newLiteral, newLiteral, removeElement, removeProperty, setElement, setProperty
-
Method Details
-
upcast
-
parse
- Specified by:
parsein interfaceGonProvider<T,K>
-
newArray
T newArray()- Specified by:
newArrayin interfaceGonProvider<T,K>
-
newObject
T newObject()- Specified by:
newObjectin interfaceGonProvider<T,K>
-
newNull
T newNull()- Specified by:
newNullin interfaceGonProvider<T,K>
-
wrap
Generic adapter to treat any GonProvider as a GonProviderApi of Object.
-