org.jrdf.parser.turtle
Class TurtleParser

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

public class TurtleParser
extends Object
implements LineHandler


Constructor Summary
TurtleParser(CommentsParser newCommentsParser, DirectiveParser newPrefixParser, TriplesParser newTriplesParser)
           
 
Method Summary
 void clear()
           
 void handleLine(CharSequence line)
           
 void setStatementHandler(StatementHandler newStatementHandler)
          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

TurtleParser

public TurtleParser(CommentsParser newCommentsParser,
                    DirectiveParser newPrefixParser,
                    TriplesParser newTriplesParser)
Method Detail

setStatementHandler

public void setStatementHandler(StatementHandler newStatementHandler)
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:
newStatementHandler - 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