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 protected
ParserMulticaster(java.util.EventListener newA, java.util.EventListener newB)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 parsedvoid
doctypeFound(ParserEvent e)
This tells the listener that a DOCTYPE was parsedvoid
errorFound(ParserEvent e)
This tells the listener that a error was parsedvoid
piFound(ParserEvent e)
This tells the listener that a PI was parsedstatic ParserListener
remove(ParserListener l, ParserListener oldl)
protected java.util.EventListener
remove(java.util.EventListener 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 parsedvoid
textFound(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:ParserListener
This tells the listener that a Tag was parsed- Specified by:
tagFound
in interfaceParserListener
- 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 interfaceParserListener
- 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 interfaceParserListener
- 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 interfaceParserListener
- 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 interfaceParserListener
- 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 interfaceParserListener
- Parameters:
e
- The event
-
add
public static ParserListener add(ParserListener a, ParserListener b)
-
remove
public static ParserListener remove(ParserListener l, ParserListener oldl)
-
-