addResult( lcr );
return;
}
String href;
LinkCheckResult lcr;
LinkValidationItem lvi;
LinkValidationResult result;
for ( Iterator iter = hrefs.iterator(); iter.hasNext(); )
{
href = (String) iter.next();
lcr = new LinkCheckResult();
lvi = new LinkValidationItem( fileToCheck, href );
result = lvm.validateLink( lvi );
lcr.setTarget( href );
lcr.setErrorMessage( result.getErrorMessage() );
switch ( result.getStatus() )
{