com.mkdoc.sax
Interface ElementTripleWriter
- All Superinterfaces:
- ElementHandler
- All Known Implementing Classes:
- LinkTripleWriter, MetaTripleWriter
- public interface ElementTripleWriter
- extends ElementHandler
An element handler that writes N-Triples.
- Version:
- 0.1 2005-02-15
- Author:
- Philip Shaw
Method Summary |
void |
printTriples(java.lang.String sourceUri,
org.xml.sax.Attributes attributes,
java.io.PrintWriter printWriter)
Print N-Triple statements for the source URI. |
printTriples
public void printTriples(java.lang.String sourceUri,
org.xml.sax.Attributes attributes,
java.io.PrintWriter printWriter)
- Print N-Triple statements for the source URI.
- Parameters:
sourceUri
- The URI for the source document.attributes
- The element attribute set to process.printWriter
- The output stream to print the triples to.- Since:
- Version 0.1 2005-02-15