org.jasen.interfaces
Interface HTMLTagHandler

All Known Implementing Classes:
ImageTagHandler, SrcCgiTagHandler

public interface HTMLTagHandler

Handles the processing of an HTML Tag in the SpamHTMLParser.

Author:
Jason Polites
See Also:
SpamHTMLParser

Field Summary
static int MATCH
           
static int NOMATCH
           
 
Method Summary
 int handleTag(HTML.Tag tag, AttributeSet attributes, HTMLTagHandlerResult result)
          Returns the status of the tag to the parser
 

Field Detail

NOMATCH

public static final int NOMATCH
See Also:
Constant Field Values

MATCH

public static final int MATCH
See Also:
Constant Field Values
Method Detail

handleTag

public int handleTag(HTML.Tag tag,
                     AttributeSet attributes,
                     HTMLTagHandlerResult result)
Returns the status of the tag to the parser

Parameters:
tag - The tag to be handled
attributes - The attributes of the tag
result - The optional result object passed to the handler if more detailed results are required
Returns:
An indication as to whether the handler matched a result. 0 = No Match, 1 = Match