Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.locator
Interface AttributeLocator<E extends ElementLocator<E>>

Type Parameters:
E - the type of associated element locator, which can be obtained from this attribute locator
All Superinterfaces:
Locator<AttributeLocator<E>>

public interface AttributeLocator<E extends ElementLocator<E>>
extends Locator<AttributeLocator<E>>

Specific locator for attributes.

Version:
$Revision$
Author:
Lukas Fryc

Method Summary
 AttributeLocator<E> format(Object... args)
           
 ElementLocator<E> getAssociatedElement()
          Returns the underlying element what associates attribute given by this locator to
 Attribute getAttribute()
          Returns the type of attribute which this locator points to.
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.Locator
getAsString, getLocationStrategy, getRawLocator
 

Method Detail

getAssociatedElement

ElementLocator<E> getAssociatedElement()
Returns the underlying element what associates attribute given by this locator to

Returns:
the underlying element what associates attribute given by this locator to

getAttribute

Attribute getAttribute()
Returns the type of attribute which this locator points to.

Returns:
the type of attribute which this locator points to.

format

AttributeLocator<E> format(Object... args)
Specified by:
format in interface Locator<AttributeLocator<E extends ElementLocator<E>>>

Ajocado API 1.0.0.Alpha2

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