Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.swt.finder.resolvers
Class Resolver

    java.lang.Object
      org.eclipse.swtbot.swt.finder.resolvers.Resolver

    public class Resolver

extends Object

A resolver that maps classes to the `IChildrenResolver`s that resolve the classes.

Version:
  $Id$
Author:
  Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
See Also:
  `IResolvable.getResolvableClasses()`

Constructor Summary
`Resolver()`

Method Summary
`void` | `addResolver(IResolvable resolver)` Map all the classes that the resolver resolver to the resolver.
`List<IResolvable>` | `getResolvers(Class<?> clazz)` Gets the resolvers that match the given class.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Resolver

    public Resolver()

Method Detail

### addResolver

    public void addResolver(IResolvable resolver)

  Map all the classes that the resolver resolver to the resolver.

  Parameters:
    `resolver` - the resolver.
  See Also:
    `IResolvable.getResolvableClasses()`

### getResolvers

    public List<IResolvable> getResolvers(Class<?> clazz)

  Gets the resolvers that match the given class.

  Parameters:
    `clazz` - the class that should be resolved using the resolvers.
  Returns:
    the list of `Resolver`s that can resolve objects of type `clazz`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD