Interface XMLParserUser

public interface interface XMLParserUser
An object wishing to make use of XMLParse needs to implement this interface. At certain points during the parse, XMLParser will call the methods defined here.

See Also:
XMLParser

Method Index

 o delete(XMLParser, int)
Method called when an unexpected token is found.
 o error(XMLParser, String)
Method called to print an error, i.e., a message about a situation which inhibits further processing after the parsing is finished.
 o insert(XMLParser, int)
Method called when an expected token is not found.
 o warning(XMLParser, String)
Method called to print a warning, i.e., a message about a possible error, but which does not inhibit further processing after the parsing is finished.

Methods

 o warning
 public abstract void warning(XMLParser aParser,
                              String message)
Method called to print a warning, i.e., a message about a possible error, but which does not inhibit further processing after the parsing is finished.

Parameters:
aParser - the parse that issued the warning
message - the message as a string
 o error
 public abstract void error(XMLParser aParser,
                            String message)
Method called to print an error, i.e., a message about a situation which inhibits further processing after the parsing is finished.

Parameters:
aParser - the parse that issued the error
message - the message as a string
 o delete
 public abstract void delete(XMLParser aParser,
                             int token)
Method called when an unexpected token is found. The method could print an error message.

Parameters:
aParser - the parser that called this method
token - the token being discarded
 o insert
 public abstract void insert(XMLParser aParser,
                             int token)
Method called when an expected token is not found. The method could print an error message.

Parameters:
aParser - the parser that called this method
token - the token that was not found