com.canoo.webtest.extension.spider
Class SimpleLinksValidator

java.lang.Object
  extended by com.canoo.webtest.extension.spider.SimpleLinksValidator
All Implemented Interfaces:
IValidator

public class SimpleLinksValidator
extends Object
implements IValidator

Author:
Denis N. Antonioli

Field Summary
static String KEY_CLASS
           
static String KEY_DEPTH
           
static String KEY_HREF
           
static String KEY_LABEL
           
static String KEY_TITLE
           
 
Constructor Summary
SimpleLinksValidator()
           
 
Method Summary
 Properties validate(int depth, com.gargoylesoftware.htmlunit.html.HtmlPage webResponse, com.gargoylesoftware.htmlunit.html.HtmlAnchor link)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_DEPTH

public static final String KEY_DEPTH
See Also:
Constant Field Values

KEY_LABEL

public static final String KEY_LABEL
See Also:
Constant Field Values

KEY_HREF

public static final String KEY_HREF
See Also:
Constant Field Values

KEY_TITLE

public static final String KEY_TITLE
See Also:
Constant Field Values

KEY_CLASS

public static final String KEY_CLASS
See Also:
Constant Field Values
Constructor Detail

SimpleLinksValidator

public SimpleLinksValidator()
Method Detail

validate

public Properties validate(int depth,
                           com.gargoylesoftware.htmlunit.html.HtmlPage webResponse,
                           com.gargoylesoftware.htmlunit.html.HtmlAnchor link)
Specified by:
validate in interface IValidator
Parameters:
depth - The depth of the page, counted from the root.
webResponse - The page to validate.
link - The link used to call the page.
Returns:
Store for any information to be reported.

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.