org.apache.maven.plugin.linkcheck.validation
Class MailtoLinkValidator

java.lang.Object
  extended byorg.apache.maven.plugin.linkcheck.validation.MailtoLinkValidator
All Implemented Interfaces:
LinkValidator

public final class MailtoLinkValidator
extends Object
implements LinkValidator

Version:
$Id: MailtoLinkValidator.java 532339 2007-04-25 12:28:56Z ltheussl $ Validates mailto links
Author:
Ben Walding, Arnaud Heritier

Constructor Summary
MailtoLinkValidator()
           
 
Method Summary
 Object getResourceKey(LinkValidationItem lvi)
          The resource key is used by the cache to determine if it really needs to validate the link.
 LinkValidationResult validateLink(LinkValidationItem lvi)
          If getResource(lvi) returned null, this will NOT be called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailtoLinkValidator

public MailtoLinkValidator()
Method Detail

validateLink

public LinkValidationResult validateLink(LinkValidationItem lvi)
                                  throws Exception
Description copied from interface: LinkValidator
If getResource(lvi) returned null, this will NOT be called.

Specified by:
validateLink in interface LinkValidator
Parameters:
lvi -
Returns:
int
Throws:
Exception
See Also:
LinkValidator.validateLink(org.apache.maven.plugin.linkcheck.validation.LinkValidationItem)

getResourceKey

public Object getResourceKey(LinkValidationItem lvi)
Description copied from interface: LinkValidator
The resource key is used by the cache to determine if it really needs to validate the link. No actual validation should be done at this point.

Specified by:
getResourceKey in interface LinkValidator
Parameters:
lvi -
Returns:
Object null if this validator should not be doing this work.
See Also:
LinkValidator.getResourceKey(org.apache.maven.plugin.linkcheck.validation.LinkValidationItem)


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.