|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopointng.ui.util.HtmlNodeLexer
public class HtmlNodeLexer
HtmlNodeLexer will lex a piece of HTML text and
callback out when a TextNode or Element is encountered.
Remember that each text node may contain whitespace and may consist of multiple words. Also a Element node consists of 1 or 2 events, the start tag and the end tag or a end tag only.
| Nested Class Summary | |
|---|---|
static interface |
HtmlNodeLexer.HtmlLexerCallBack
The HtmlLexerCallBack interface is used as a callback mechanism
when a specific type of HTML node is encountered. |
| Constructor Summary | |
|---|---|
HtmlNodeLexer()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
lex(java.lang.String htmlText,
HtmlNodeLexer.HtmlLexerCallBack callBack)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlNodeLexer()
| Method Detail |
|---|
public static java.lang.String lex(java.lang.String htmlText,
HtmlNodeLexer.HtmlLexerCallBack callBack)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||