com.sun.java.help.impl
Class Parser.ParserMulticaster

java.lang.Object
  extended bycom.sun.java.help.impl.Parser.ParserMulticaster
All Implemented Interfaces:
java.util.EventListener, ParserListener
Enclosing class:
Parser

protected static class Parser.ParserMulticaster
extends java.lang.Object
implements ParserListener


Field Summary
protected  java.util.EventListener a
           
protected  java.util.EventListener b
           
 
Constructor Summary
protected Parser.ParserMulticaster(java.util.EventListener newA, java.util.EventListener newB)
           
 
Method Summary
static ParserListener add(ParserListener a, ParserListener b)
           
protected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b)
           
 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
protected  java.util.EventListener remove(java.util.EventListener oldl)
           
static ParserListener remove(ParserListener l, ParserListener oldl)
           
protected static java.util.EventListener removeInternal(java.util.EventListener l, java.util.EventListener oldl)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

protected final java.util.EventListener a

b

protected final java.util.EventListener b
Constructor Detail

Parser.ParserMulticaster

protected Parser.ParserMulticaster(java.util.EventListener newA,
                                   java.util.EventListener newB)
Method Detail

remove

protected java.util.EventListener remove(java.util.EventListener oldl)

addInternal

protected static java.util.EventListener addInternal(java.util.EventListener a,
                                                     java.util.EventListener b)

removeInternal

protected static java.util.EventListener removeInternal(java.util.EventListener l,
                                                        java.util.EventListener oldl)

tagFound

public void tagFound(ParserEvent e)
Description copied from interface: ParserListener
This tells the listener that a Tag was parsed

Specified by:
tagFound in interface ParserListener
Parameters:
e - The event

piFound

public void piFound(ParserEvent e)
Description copied from interface: ParserListener
This tells the listener that a PI was parsed

Specified by:
piFound in interface ParserListener
Parameters:
e - The event

doctypeFound

public void doctypeFound(ParserEvent e)
Description copied from interface: ParserListener
This tells the listener that a DOCTYPE was parsed

Specified by:
doctypeFound in interface ParserListener
Parameters:
e - The event

textFound

public void textFound(ParserEvent e)
Description copied from interface: ParserListener
This tells the listener that a continous block of text was parsed

Specified by:
textFound in interface ParserListener
Parameters:
e - The event

commentFound

public void commentFound(ParserEvent e)
Description copied from interface: ParserListener
This tells the listener that a comment was parsed

Specified by:
commentFound in interface ParserListener
Parameters:
e - The event

errorFound

public void errorFound(ParserEvent e)
Description copied from interface: ParserListener
This tells the listener that a error was parsed

Specified by:
errorFound in interface ParserListener
Parameters:
e - The event

add

public static ParserListener add(ParserListener a,
                                 ParserListener b)

remove

public static ParserListener remove(ParserListener l,
                                    ParserListener oldl)