com.hp.hpl.jena.n3
Class NullN3EventHandler

java.lang.Object
  |
  +--com.hp.hpl.jena.n3.NullN3EventHandler
All Implemented Interfaces:
N3ParserEventHandler
Direct Known Subclasses:
N3ErrorPrinter

public class NullN3EventHandler
extends java.lang.Object
implements N3ParserEventHandler

A basic (do nothing) implementation of N3ParserEventHandler.

Version:
$Id: NullN3EventHandler.java,v 1.1 2002/09/18 10:49:58 andy_seaborne Exp $
Author:
Andy Seaborne

Constructor Summary
NullN3EventHandler()
           
 
Method Summary
 void deprecated(java.lang.Exception ex, java.lang.String message)
           
 void directive(int line, antlr.collections.AST directive, antlr.collections.AST[] args, java.lang.String context)
           
 void endDocument()
           
 void endFormula(int line, java.lang.String context)
           
 void error(java.lang.Exception ex, java.lang.String message)
           
 void quad(int line, antlr.collections.AST subj, antlr.collections.AST prop, antlr.collections.AST obj, java.lang.String context)
           
 void startDocument()
           
 void startFormula(int line, java.lang.String context)
           
 void warning(java.lang.Exception ex, java.lang.String message)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullN3EventHandler

public NullN3EventHandler()
Method Detail

startDocument

public void startDocument()
Specified by:
startDocument in interface N3ParserEventHandler

endDocument

public void endDocument()
Specified by:
endDocument in interface N3ParserEventHandler

error

public void error(java.lang.Exception ex,
                  java.lang.String message)
Specified by:
error in interface N3ParserEventHandler

warning

public void warning(java.lang.Exception ex,
                    java.lang.String message)

deprecated

public void deprecated(java.lang.Exception ex,
                       java.lang.String message)

startFormula

public void startFormula(int line,
                         java.lang.String context)
Specified by:
startFormula in interface N3ParserEventHandler

endFormula

public void endFormula(int line,
                       java.lang.String context)
Specified by:
endFormula in interface N3ParserEventHandler

quad

public void quad(int line,
                 antlr.collections.AST subj,
                 antlr.collections.AST prop,
                 antlr.collections.AST obj,
                 java.lang.String context)
Specified by:
quad in interface N3ParserEventHandler

directive

public void directive(int line,
                      antlr.collections.AST directive,
                      antlr.collections.AST[] args,
                      java.lang.String context)
Specified by:
directive in interface N3ParserEventHandler


Copyright © 2001 Hewlett-Packard. All Rights Reserved.