idl.tmt.documentparsing
Interface HTMLParsingListener
- All Superinterfaces:
- ParsingListener
- All Known Implementing Classes:
- BodyTextRepresentationBuilder, H1TextRepresentationBuilder, HTMLMetricsClassifier, MetaTextRepresentationBuilder, TitleTextRepresentationBuilder, TitleSaver
- public interface HTMLParsingListener
- extends ParsingListener
Provides notification methods for parsing HTML.
Created on Jan 23, 2004
- Author:
- jelsas
|
Method Summary |
void |
endTag(javax.swing.text.html.HTML.Tag tag,
int pos)
Indicates that an HTML end tag has been reached |
void |
startTag(javax.swing.text.html.HTML.Tag tag,
javax.swing.text.MutableAttributeSet atts,
int pos)
Indicates that a new HTML start tag has been entered. |
startTag
public void startTag(javax.swing.text.html.HTML.Tag tag,
javax.swing.text.MutableAttributeSet atts,
int pos)
- Indicates that a new HTML start tag has been entered.
- Parameters:
tag - The tagatts - The tag's attributespos - The character position of this tag in the document
endTag
public void endTag(javax.swing.text.html.HTML.Tag tag,
int pos)
- Indicates that an HTML end tag has been reached
- Parameters:
tag - The tagpos - The character position of this tag in the document