|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.format.parser.AbstractParser
public abstract class AbstractParser
This is an abstract parser. All the parsed events will go though the event notifier interface.
Field Summary | |
---|---|
protected ParseEventHandler |
handler
The event handler. |
Constructor Summary | |
---|---|
AbstractParser()
|
Method Summary | |
---|---|
abstract void |
parse(char[] chars,
int offset,
int length)
Ask the parser to its job. |
void |
setHandler(ParseEventHandler handler)
Set the event handler on this parser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ParseEventHandler handler
Constructor Detail |
---|
public AbstractParser()
Method Detail |
---|
public void setHandler(ParseEventHandler handler)
setHandler
in interface ParseEventNotifier
public abstract void parse(char[] chars, int offset, int length)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |