Package com.sun.java.help.impl
Class Parser.ParserMulticaster
- java.lang.Object
-
- com.sun.java.help.impl.Parser.ParserMulticaster
-
- All Implemented Interfaces:
ParserListener,java.util.EventListener
- Enclosing class:
- Parser
protected static class Parser.ParserMulticaster extends java.lang.Object implements ParserListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedParserMulticaster(java.util.EventListener newA, java.util.EventListener newB)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParserListeneradd(ParserListener a, ParserListener b)protected static java.util.EventListeneraddInternal(java.util.EventListener a, java.util.EventListener b)voidcommentFound(ParserEvent e)This tells the listener that a comment was parsedvoiddoctypeFound(ParserEvent e)This tells the listener that a DOCTYPE was parsedvoiderrorFound(ParserEvent e)This tells the listener that a error was parsedvoidpiFound(ParserEvent e)This tells the listener that a PI was parsedstatic ParserListenerremove(ParserListener l, ParserListener oldl)protected java.util.EventListenerremove(java.util.EventListener oldl)protected static java.util.EventListenerremoveInternal(java.util.EventListener l, java.util.EventListener oldl)voidtagFound(ParserEvent e)This tells the listener that a Tag was parsedvoidtextFound(ParserEvent e)This tells the listener that a continous block of text was parsed
-
-
-
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:ParserListenerThis tells the listener that a Tag was parsed- Specified by:
tagFoundin interfaceParserListener- Parameters:
e- The event
-
piFound
public void piFound(ParserEvent e)
Description copied from interface:ParserListenerThis tells the listener that a PI was parsed- Specified by:
piFoundin interfaceParserListener- Parameters:
e- The event
-
doctypeFound
public void doctypeFound(ParserEvent e)
Description copied from interface:ParserListenerThis tells the listener that a DOCTYPE was parsed- Specified by:
doctypeFoundin interfaceParserListener- Parameters:
e- The event
-
textFound
public void textFound(ParserEvent e)
Description copied from interface:ParserListenerThis tells the listener that a continous block of text was parsed- Specified by:
textFoundin interfaceParserListener- Parameters:
e- The event
-
commentFound
public void commentFound(ParserEvent e)
Description copied from interface:ParserListenerThis tells the listener that a comment was parsed- Specified by:
commentFoundin interfaceParserListener- Parameters:
e- The event
-
errorFound
public void errorFound(ParserEvent e)
Description copied from interface:ParserListenerThis tells the listener that a error was parsed- Specified by:
errorFoundin interfaceParserListener- Parameters:
e- The event
-
add
public static ParserListener add(ParserListener a, ParserListener b)
-
remove
public static ParserListener remove(ParserListener l, ParserListener oldl)
-
-