org.openjena.riot.pipeline
Class SinkTripleNodeTransform
java.lang.Object
org.openjena.atlas.lib.SinkWrapper<com.hp.hpl.jena.graph.Triple>
org.openjena.riot.pipeline.SinkTripleNodeTransform
- All Implemented Interfaces:
- Closeable, Sink<com.hp.hpl.jena.graph.Triple>
- Direct Known Subclasses:
- SinkNormalize
public class SinkTripleNodeTransform
- extends SinkWrapper<com.hp.hpl.jena.graph.Triple>
Apply a node transform to each node in a triple
|
Method Summary |
void |
send(com.hp.hpl.jena.graph.Triple triple)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SinkTripleNodeTransform
public SinkTripleNodeTransform(Sink<com.hp.hpl.jena.graph.Triple> sink,
NodeTransform nodeTransform)
- Apply the nodeTransform to each of S, P and O
SinkTripleNodeTransform
public SinkTripleNodeTransform(Sink<com.hp.hpl.jena.graph.Triple> sink,
NodeTransform subjTransform,
NodeTransform predTransform,
NodeTransform objTransform)
- Apply the respective nodeTransform to the slot in the triple
send
public void send(com.hp.hpl.jena.graph.Triple triple)
- Specified by:
send in interface Sink<com.hp.hpl.jena.graph.Triple>- Overrides:
send in class SinkWrapper<com.hp.hpl.jena.graph.Triple>
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.