org.apache.clerezza.rdf.core.serializedform
Interface SerializingProvider


public interface SerializingProvider

An instance of this class serializes TripleCollections to a specified serialization format. The supported formats are indicated using the SupportedFormat annotation.

Author:
mir

Method Summary
 void serialize(OutputStream outputStream, TripleCollection tc, String formatIdentifier)
          Serializes a TripleCollection to a specified OutputStream in the format identified by formatIdentifier.
 

Method Detail

serialize

void serialize(OutputStream outputStream,
               TripleCollection tc,
               String formatIdentifier)
Serializes a TripleCollection to a specified OutputStream in 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 formatIdentifier matches a SupportedFormat annotation of the implementing class.

Parameters:
outputStream -
tc -
formatIdentifier -


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.