public class Serializer extends Object
Serializable process.
This class is public to allow system initialization to inject
handler functions for Quad.
See also Node and Triple.| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
static Function<Quad,Object> |
getQuadSerializer()
Return the current triple serializer replacement function.
|
static void |
setQuadSerializer(Function<Quad,Object> writeReplaceFunction)
Set the quad serializer replacement function.
|
public static void setQuadSerializer(Function<Quad,Object> writeReplaceFunction)
Triple.writeReplace during the Serializable process.
The return is an object used in place of Quad 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.
SerializableLicenced under the Apache License, Version 2.0