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
NOMATCH
public static final int NOMATCH
- See Also:
- Constant Field Values
MATCH
public static final int MATCH
- See Also:
- Constant Field Values
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 handledattributes
- The attributes of the tagresult
- 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