Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.sav
Interface ErrorHandler

All Superinterfaces:
org.j3d.util.ErrorReporter
All Known Implementing Classes:
AWTConsoleWindow, MessageBuffer, SwingConsoleWindow

public interface ErrorHandler
extends ErrorReporter

Receiver of notifications from the VRML document about node declaration information.


Method Summary
 void setDocumentLocator(Locator loc)
          Set the document locator that can be used by the implementing code to find out information about the current line information.
 
Methods inherited from interface org.web3d.util.ErrorReporter
errorReport, fatalErrorReport, messageReport, partialReport, warningReport
 

Method Detail

setDocumentLocator

void setDocumentLocator(Locator loc)
Set the document locator that can be used by the implementing code to find out information about the current line information. This method is called by the parser to your code to give you a locator to work with. If this has not been set by the time startDocument() has been called, you can assume that you will not have one available.

Parameters:
loc - The locator instance to use

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium