org.jbind.xml.parser
Interface IErrorHandler

All Known Implementing Classes:
ImplBuilder, SchemaParser

public interface IErrorHandler


Method Summary
 boolean error(IMessage aMessage)
          Signals an error.
 void exception(java.lang.Exception anException, org.xml.sax.InputSource anInputSource)
          Signals that an exception occured.
 void fatalError(IMessage aMessage)
          Signals a fatal error.
 boolean warning(IMessage aMessage)
          Signals a warning.
 

Method Detail

fatalError

public void fatalError(IMessage aMessage)
Signals a fatal error. The parser stops imediately to report any further events.

Parameters:
aMessage - (required).

error

public boolean error(IMessage aMessage)
Signals an error.

Parameters:
aMessage - (required).
Returns:
If true is returned then the parsing is aborted otherwise the parsing is continued.

warning

public boolean warning(IMessage aMessage)
Signals a warning.

Parameters:
aMessage - (required).
Returns:
If true is returned then the parsing is aborted otherwise the parsing is continued.

exception

public void exception(java.lang.Exception anException,
                      org.xml.sax.InputSource anInputSource)
Signals that an exception occured. The parser stops imediately to report any further events.

Parameters:
anException - (required).
anInputSource - (required). The source that is parsed.