@Service(value=SerializingProvider.class) public class RdfJsonSerializingProvider extends Object implements SerializingProvider
SerializingProviderfor rdf/json. This implementation is based on first sorting the triples within the parsed
TripleCollectionbased on the
The serialization is done on a subject scope. Meaning that all triples for a
subject are serialized and instantly written to the provided
'UFT-8' is used as encoding to write the data.
|Modifier and Type||Field and Description|
Compares only the subjects of the triples.
|Constructor and Description|
|Modifier and Type||Method and Description|
public void serialize(OutputStream serializedGraph, TripleCollection tc, String formatIdentifier)
TripleCollectionto a specified
OutputStreamin the format identified by
formatIdentifier. This method will be invoked for a supported format, a format is considered as supported if the part before a ';'-character in the
SupportedFormatannotation of the implementing class.
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.