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
-
delete(XMLParser, int)
- Method called when an unexpected token is found.
-
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.
-
insert(XMLParser, int)
- Method called when an expected token is not found.
-
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.
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
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
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
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