Ajocado Implementation 1.0.0.Alpha2

org.jboss.arquillian.ajocado.locator
Class IdentifierLocator

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.AbstractLocator<T>
      extended by org.jboss.arquillian.ajocado.locator.AbstractElementLocator<IdentifierLocator>
          extended by org.jboss.arquillian.ajocado.locator.IdentifierLocator
All Implemented Interfaces:
ElementLocator<IdentifierLocator>, Locator<IdentifierLocator>

public class IdentifierLocator
extends AbstractElementLocator<IdentifierLocator>

Locates the element with the specified @id attribute. If no match is found, select the first element whose @name attribute is id.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
IdentifierLocator(String idOrName)
           
 
Method Summary
 ElementLocationStrategy getLocationStrategy()
           
 
Methods inherited from class org.jboss.arquillian.ajocado.locator.AbstractElementLocator
format, getAttribute
 
Methods inherited from class org.jboss.arquillian.ajocado.locator.AbstractLocator
getAsString, getRawLocator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.Locator
getAsString, getRawLocator
 

Constructor Detail

IdentifierLocator

public IdentifierLocator(String idOrName)
Method Detail

getLocationStrategy

public ElementLocationStrategy getLocationStrategy()

Ajocado Implementation 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.