com.canoo.webtest.extension.spider
Class SimpleLinksValidator
java.lang.Object
com.canoo.webtest.extension.spider.SimpleLinksValidator
- All Implemented Interfaces:
- IValidator
public class SimpleLinksValidator
- extends Object
- implements IValidator
- Author:
- Denis N. Antonioli
|
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 |
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
SimpleLinksValidator
public SimpleLinksValidator()
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.