com.sun.java.help.impl

Interface ParserListener

All Superinterfaces:
java.util.EventListener
Known Implementing Classes:
FlatMap.FlatMapResourceBundle, Parser.ParserMulticaster

public interface ParserListener
extends java.util.EventListener

ParserListener defines the interface for an object that listens to parsing events in a Parser.

Method Summary

void
commentFound(ParserEvent e)
This tells the listener that a comment was parsed
void
doctypeFound(ParserEvent e)
This tells the listener that a DOCTYPE was parsed
void
errorFound(ParserEvent e)
This tells the listener that a error was parsed
void
piFound(ParserEvent e)
This tells the listener that a PI was parsed
void
tagFound(ParserEvent e)
This tells the listener that a Tag was parsed
void
textFound(ParserEvent e)
This tells the listener that a continous block of text was parsed

Method Details

commentFound

public void commentFound(ParserEvent e)
This tells the listener that a comment was parsed
Parameters:
e - The event

doctypeFound

public void doctypeFound(ParserEvent e)
This tells the listener that a DOCTYPE was parsed
Parameters:
e - The event

errorFound

public void errorFound(ParserEvent e)
This tells the listener that a error was parsed
Parameters:
e - The event

piFound

public void piFound(ParserEvent e)
This tells the listener that a PI was parsed
Parameters:
e - The event

tagFound

public void tagFound(ParserEvent e)
This tells the listener that a Tag was parsed
Parameters:
e - The event

textFound

public void textFound(ParserEvent e)
This tells the listener that a continous block of text was parsed
Parameters:
e - The event