com.hp.hpl.jena.rdf.arp
Interface LocationStatementHandler

All Superinterfaces:
StatementHandler

public interface LocationStatementHandler
extends StatementHandler

The callback from a reader to an RDF application. Each triple in the input file causes a call on one of the statement methods. The same triple may occur more than once in a file, causing repeat calls to the method. Modified the original StatementHandler to take an additonal Location object for the statement that records where the statement is defined in the source file.

Author:
jjc

Method Summary
 void statement(AResource subj, AResource pred, ALiteral lit, Location loc)
          A triple in the file.
 void statement(AResource subj, AResource pred, AResource obj, Location loc)
          A triple in the file.
 
Methods inherited from interface com.hp.hpl.jena.rdf.arp.StatementHandler
statement, statement
 

Method Detail

statement

public void statement(AResource subj,
                      AResource pred,
                      AResource obj,
                      Location loc)
A triple in the file.

Parameters:
subj - The subject.
pred - The property.
obj - The object.
loc - The location for the statement.

statement

public void statement(AResource subj,
                      AResource pred,
                      ALiteral lit,
                      Location loc)
A triple in the file.

Parameters:
subj - The subject.
pred - The property.
lit - The object.
loc - The location for the statement.


Copyright © 2001 Hewlett-Packard. All Rights Reserved.