com.franz.ag
Class RDFManifestSerializer

java.lang.Object
  extended bycom.franz.ag.AllegroGraphSerializer
      extended bycom.franz.ag.RDFManifestSerializer

public class RDFManifestSerializer
extends com.franz.ag.AllegroGraphSerializer

The RDF Manifest serializer is described in more detail in the AllegroGraph Reference Guide for Lisp users as the serialize-rdf-manifest function.


Constructor Summary
RDFManifestSerializer()
           
 
Method Summary
 java.lang.String getDestination()
           
 java.lang.Object getResult()
           
 java.lang.Object getSource()
           
 boolean isSingleStream()
           
 boolean isVerbose()
           
 java.lang.Object run(AllegroGraph source)
          Serialize all the triples in a triple store.
 java.lang.Object run(Cursor source)
          Serialize all the triples collected by a cursor.
 void setDestination(java.lang.String destination)
           
 void setSingleStream(boolean singleStream)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFManifestSerializer

public RDFManifestSerializer()
Method Detail

isSingleStream

public boolean isSingleStream()
Returns:
the singleStream

setSingleStream

public void setSingleStream(boolean singleStream)
Parameters:
singleStream - the singleStream to set

isVerbose

public boolean isVerbose()
Returns:
the verbose

setVerbose

public void setVerbose(boolean verbose)
Parameters:
verbose - the verbose to set

run

public java.lang.Object run(AllegroGraph source)
                     throws AllegroGraphException
Serialize all the triples in a triple store.

Parameters:
source - The AllegroGraph instance to be serialized.
Returns:
The string containing the serialization if destination is null, or null if the destination is a file.
Throws:
AllegroGraphException

run

public java.lang.Object run(Cursor source)
                     throws AllegroGraphException
Serialize all the triples collected by a cursor.

Parameters:
source - The Cursor instance to be serialized.
Returns:
The string containing the serialization if destination is null, or null if the destination is a file.
Throws:
AllegroGraphException

getDestination

public java.lang.String getDestination()
Returns:
the destination

setDestination

public void setDestination(java.lang.String destination)
Parameters:
destination - Null to serialize to a string, or a string containing the pathname of the destination file or folder.

getResult

public java.lang.Object getResult()
Returns:
the result

getSource

public java.lang.Object getSource()
Returns:
the source