org.jasen.core.parsers.handlers
Class URLPortTagHandler

java.lang.Object
  extended byorg.jasen.core.parsers.handlers.SrcCgiTagHandler
      extended byorg.jasen.core.parsers.handlers.URLPortTagHandler
All Implemented Interfaces:
HTMLTagHandler

public class URLPortTagHandler
extends SrcCgiTagHandler

Looks for tcp port references at the end of url domains.

Author:
Jason Polites

Field Summary
 String PORT_URL_REGEX
           
 
Fields inherited from class org.jasen.core.parsers.handlers.SrcCgiTagHandler
CGI_URL_REGEX
 
Fields inherited from interface org.jasen.interfaces.HTMLTagHandler
MATCH, NOMATCH
 
Constructor Summary
URLPortTagHandler()
           
 
Method Summary
 int handleTag(HTML.Tag tag, AttributeSet attributes, HTMLTagHandlerResult result)
          Returns the status of the tag to the parser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT_URL_REGEX

public String PORT_URL_REGEX
Constructor Detail

URLPortTagHandler

public URLPortTagHandler()
Method Detail

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
Overrides:
handleTag in class SrcCgiTagHandler