Interface ParserListener

  • All Superinterfaces:
    java.util.EventListener
    All 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 Detail

      • tagFound

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

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

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

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

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

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