public class

NodeLocator

extends AbstractLocator
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.locator.AbstractLocator
     ↳ com.atlassian.jira.functest.framework.locator.NodeLocator

Class Overview

A Locator that uses the provided org.w3c.dom.Node as the source of text. This is useful when iterating a array of nodes from another locator and being able to transform each found Node into another Locator.

NOTE : Locators are one shot objects. A call to getNodes() should return the same Nodes every time it is called. Even if the underlying data source has changed (for example the WebTester page has changed) the Locator MUST return the same data.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.locator.AbstractLocator
Public Constructors
NodeLocator(Node node)
Public Methods
Node[] getNodes()
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.locator.AbstractLocator
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.locator.Locator

Public Constructors

public NodeLocator (Node node)

Public Methods

public Node[] getNodes ()

public String toString ()