|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.html.HTMLEditorKit.ParserCallback
Spider.SpiderParserCallback
Inner class used to html handle parser callbacks
Field Summary |
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback |
IMPLIED |
Constructor Summary | |
Spider.SpiderParserCallback(javax.swing.tree.DefaultMutableTreeNode atreenode)
Creates a new instance of SpiderParserCallback |
Method Summary | |
void |
handleEndTag(javax.swing.text.html.HTML.Tag t,
int pos)
take care of start tags |
void |
handleSimpleTag(javax.swing.text.html.HTML.Tag t,
javax.swing.text.MutableAttributeSet a,
int pos)
handle HTML tags that don't have a start and end tag |
void |
handleStartTag(javax.swing.text.html.HTML.Tag t,
javax.swing.text.MutableAttributeSet a,
int pos)
take care of start tags |
void |
handleText(char[] data,
int pos)
take care of text between tags, check against keyword list for matches, if match found, set the node match status to true |
Methods inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback |
flush, handleComment, handleEndOfLineString, handleError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Spider.SpiderParserCallback(javax.swing.tree.DefaultMutableTreeNode atreenode)
atreenode
- search tree node that is being parsedMethod Detail |
public void handleSimpleTag(javax.swing.text.html.HTML.Tag t, javax.swing.text.MutableAttributeSet a, int pos)
t
- HTML taga
- HTML attributespos
- Position within filepublic void handleStartTag(javax.swing.text.html.HTML.Tag t, javax.swing.text.MutableAttributeSet a, int pos)
t
- HTML taga
- HTML attributespos
- Position within filepublic void handleEndTag(javax.swing.text.html.HTML.Tag t, int pos)
t
- HTML tagpos
- Position within filepublic void handleText(char[] data, int pos)
data
- Text between tagspos
- position of text within web page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |