Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## echopointng.ui.util
Class HtmlNodeLexer

    java.lang.Object
      echopointng.ui.util.HtmlNodeLexer

    public class HtmlNodeLexer

extends java.lang.Object

`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

### HtmlNodeLexer

    public HtmlNodeLexer()

Method Detail

### lex

    public static java.lang.String lex(java.lang.String htmlText,
                                       HtmlNodeLexer.HtmlLexerCallBack callBack)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD