org.apache.maven.doxia.linkcheck.validation
Class HTTPLinkValidator

java.lang.Object
  extended by org.apache.maven.doxia.linkcheck.validation.HTTPLinkValidator
All Implemented Interfaces:
LinkValidator
Direct Known Subclasses:
OfflineHTTPLinkValidator, OnlineHTTPLinkValidator

public abstract class HTTPLinkValidator
extends Object
implements LinkValidator

Checks links which are normal URLs.

Version:
$Id: HTTPLinkValidator.java 799838 2009-08-01 11:23:24Z vsiveton $
Author:
Ben Walding, Arnaud Heritier

Constructor Summary
HTTPLinkValidator()
           
 
Method Summary
 Object getResourceKey(LinkValidationItem lvi)
          The resource key is used by the cache to determine if it really needs to validate the link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.doxia.linkcheck.validation.LinkValidator
validateLink
 

Constructor Detail

HTTPLinkValidator

public HTTPLinkValidator()
Method Detail

getResourceKey

public Object getResourceKey(LinkValidationItem lvi)
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 - The LinkValidationItem to validate.
Returns:
Object null if this validator should not be doing this work.


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.