org.jasen.core.parsers.handlers
Class SrcCgiTagHandler
java.lang.Object
org.jasen.core.parsers.handlers.SrcCgiTagHandler
- All Implemented Interfaces:
- HTMLTagHandler
- Direct Known Subclasses:
- URLPortTagHandler
- public class SrcCgiTagHandler
- extends Object
- implements HTMLTagHandler
Looks for source attributes of HTML tags which do not end in a known file type.
- Author:
- Jason Polites
CGI_URL_REGEX
public String CGI_URL_REGEX
SrcCgiTagHandler
public SrcCgiTagHandler()
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