org.apache.jena.riot.writer
Class SinkEntityOutput

java.lang.Object
  extended by org.apache.jena.riot.writer.SinkEntityOutput
All Implemented Interfaces:
Closeable, Sink<Pair<Node,Map<Node,Set<Node>>>>

public class SinkEntityOutput
extends Object
implements Sink<Pair<Node,Map<Node,Set<Node>>>>


Constructor Summary
SinkEntityOutput(OutputStream outs)
           
SinkEntityOutput(OutputStream outs, Prologue prologue, NodeToLabel labels)
           
SinkEntityOutput(Writer outs)
           
SinkEntityOutput(Writer outs, Prologue prologue, NodeToLabel labels)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(Pair<Node,Map<Node,Set<Node>>> item)
           
 void setLabelPolicy(NodeToLabel labels)
           
 void setPrologue(Prologue prologue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinkEntityOutput

public SinkEntityOutput(OutputStream outs)

SinkEntityOutput

public SinkEntityOutput(OutputStream outs,
                        Prologue prologue,
                        NodeToLabel labels)

SinkEntityOutput

public SinkEntityOutput(Writer outs)

SinkEntityOutput

public SinkEntityOutput(Writer outs,
                        Prologue prologue,
                        NodeToLabel labels)
Method Detail

setPrologue

public void setPrologue(Prologue prologue)

setLabelPolicy

public void setLabelPolicy(NodeToLabel labels)

send

public void send(Pair<Node,Map<Node,Set<Node>>> item)
Specified by:
send in interface Sink<Pair<Node,Map<Node,Set<Node>>>>

flush

public void flush()
Specified by:
flush in interface Sink<Pair<Node,Map<Node,Set<Node>>>>

close

public void close()
Specified by:
close in interface Closeable


Licenced under the Apache License, Version 2.0