edu.stanford.nlp.web
Class LocusLinkParser
java.lang.Object
|
+--javax.swing.text.html.HTMLEditorKit.ParserCallback
|
+--edu.stanford.nlp.web.HTMLParser
|
+--edu.stanford.nlp.web.LocusLinkParser
- public class LocusLinkParser
- extends HTMLParser
A parser which parses a LocusLink HTML Document.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocusLinkParser
public LocusLinkParser()
handleComment
public void handleComment(char[] data,
int pos)
- Overrides:
handleComment
in class HTMLEditorKit.ParserCallback
handleText
public void handleText(char[] data,
int pos)
- Overrides:
handleText
in class HTMLParser
handleStartTag
public void handleStartTag(HTML.Tag tag,
MutableAttributeSet attrSet,
int pos)
- Description copied from class:
HTMLParser
- Sets a flag if the start tag is the "TITLE" element start tag.
- Overrides:
handleStartTag
in class HTMLParser
handleEndTag
public void handleEndTag(HTML.Tag tag,
int pos)
- Description copied from class:
HTMLParser
- Sets a flag if the end tag is the "TITLE" element end tag
- Overrides:
handleEndTag
in class HTMLParser
Stanford NLP Group