java.lang.Object
org.apache.jena.riot.system.Serializer
The injection point for the Quad
Serializable
process.
This class is public to allow system initialization to inject
handler functions for Quad
.
See also Node
and Triple
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the current triple serializer replacement function.static void
setQuadSerializer
(Function<Quad, Object> writeReplaceFunction) Set the quad serializer replacement function.
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
setQuadSerializer
Set the quad serializer replacement function. This is a function called byTriple.writeReplace
during theSerializable
process. The return is an object used in place ofQuad
for the serialization.ANY-ACCESS-MODIFIER Object writeReplace() throws ObjectStreamException;
The returned object must provide
ANY-ACCESS-MODIFIER Object readResolve() throws ObjectStreamException;
where "Object" is a
Quad
.- See Also:
-
getQuadSerializer
Return the current triple serializer replacement function.
-