org.jrdf.parser.ntriples
Class NTriplesParser

java.lang.Object
  extended by org.jrdf.parser.ntriples.NTriplesParser
All Implemented Interfaces:
LineHandler, StatementHandlerConfiguration

public class NTriplesParser
extends Object
implements LineHandler


Constructor Summary
NTriplesParser(CommentsParser newCommentsParser, TriplesParser newTriplesParser)
           
 
Method Summary
 void clear()
           
 void handleLine(CharSequence line)
           
 void setStatementHandler(StatementHandler statementHandler)
          Sets the StatementHandler that will be notified of statements that are parsed by this parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NTriplesParser

public NTriplesParser(CommentsParser newCommentsParser,
                      TriplesParser newTriplesParser)
Method Detail

setStatementHandler

public void setStatementHandler(StatementHandler statementHandler)
Description copied from interface: StatementHandlerConfiguration
Sets the StatementHandler that will be notified of statements that are parsed by this parser.

Specified by:
setStatementHandler in interface StatementHandlerConfiguration
Parameters:
statementHandler - the StatementHandler.

handleLine

public void handleLine(CharSequence line)
                throws StatementHandlerException
Specified by:
handleLine in interface LineHandler
Throws:
StatementHandlerException

clear

public void clear()
Specified by:
clear in interface LineHandler