org.jrdf.parser
Interface StatementHandler
- All Known Implementing Classes:
- GraphStatementHandler
public interface StatementHandler
An interface defining methods for receiving RDF statements from an RDF
parser.
- Version:
- $Revision: 545 $
- Author:
- Andrew Newman
handleStatement
void handleStatement(SubjectNode subject,
PredicateNode predicate,
ObjectNode object)
throws StatementHandlerException
- Called by an RDF parser when it has parsed a statement. The type of the
subject, predicate and object is determined by the ValueFactory that
the parser uses.
- Parameters:
subject
- A URI or bNode.predicate
- A URI.object
- A URI, bNode or literal.
- Throws:
StatementHandlerException
- If the statement handler has
encountered an unrecoverable error.