org.jasen.core.parsers.handlers
Class ImageTagHandler
java.lang.Object
org.jasen.core.parsers.handlers.ImageTagHandler
- All Implemented Interfaces:
- HTMLTagHandler
- public class ImageTagHandler
- extends Object
- implements HTMLTagHandler
Simply matches if the tag is an image.
- Author:
- Jason Polites
ImageTagHandler
public ImageTagHandler()
handleTag
public int handleTag(HTML.Tag tag,
AttributeSet attributes,
HTMLTagHandlerResult result)
- Description copied from interface:
HTMLTagHandler
- Returns the status of the tag to the parser
- Specified by:
handleTag
in interface HTMLTagHandler
- 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