com.mkdoc.sax
Interface ElementRdfWriter

All Superinterfaces:
ElementHandler
All Known Implementing Classes:
LinkStoreWriter, MetaStoreWriter

public interface ElementRdfWriter
extends ElementHandler

An element handler that writes N-Triples.

Version:
0.1 2005-02-15
Author:
Philip Shaw

Method Summary
 void addTriples(org.openrdf.model.URI sourceUri, org.xml.sax.Attributes attributes, org.openrdf.model.Graph graph)
          Add statements to an RDF graph for a source URI.
 
Methods inherited from interface com.mkdoc.sax.ElementHandler
acceptElement
 

Method Detail

addTriples

public void addTriples(org.openrdf.model.URI sourceUri,
                       org.xml.sax.Attributes attributes,
                       org.openrdf.model.Graph graph)
Add statements to an RDF graph for a source URI.

Parameters:
sourceUri - The URI for the source document.
attributes - The element attribute set to process.
graph - An RDF graph to add the statements to.
Since:
Version 0.1 2005-02-14