org.fluentlenium.core.filter
Class FilterConstructor

java.lang.Object
  extended by org.fluentlenium.core.filter.FilterConstructor

public final class FilterConstructor
extends Object


Method Summary
static Filter buildFilter(String name, FilterType type, Class matcherType)
          Create a filter by name
static FilterBuilder with(String attribute)
          Create a filter builder for the attribute
static Filter with(String customAttribute, Matcher matcher)
          Deprecated. 
static Filter with(String customAttribute, String matcher)
          Deprecated. 
static FilterBuilder withId()
          Create a filter builder for the attribute by id
static Filter withId(Matcher matcher)
          Deprecated. 
static Filter withId(String id)
          Create a filter by id
static FilterBuilder withName()
          Create a filter builder for the attribute by name
static Filter withName(Matcher matcher)
          Deprecated. 
static Filter withName(String name)
          Create a filter by name
static FilterBuilder withText()
          Create a filter builder for the attribute by text
static Filter withText(Matcher matcher)
          Deprecated. 
static Filter withText(String text)
          Create a filter by text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildFilter

public static Filter buildFilter(String name,
                                 FilterType type,
                                 Class matcherType)
Create a filter by name

Parameters:
name -
Returns:

withName

public static Filter withName(String name)
Create a filter by name

Parameters:
name -
Returns:

withId

public static Filter withId(String id)
Create a filter by id

Parameters:
id -
Returns:

withText

public static Filter withText(String text)
Create a filter by text

Parameters:
text -
Returns:

with

public static FilterBuilder with(String attribute)
Create a filter builder for the attribute

Parameters:
attribute -
Returns:

withName

public static FilterBuilder withName()
Create a filter builder for the attribute by name

Parameters:
-
Returns:

withId

public static FilterBuilder withId()
Create a filter builder for the attribute by id

Parameters:
-
Returns:

withText

public static FilterBuilder withText()
Create a filter builder for the attribute by text

Parameters:
-
Returns:

withName

@Deprecated
public static Filter withName(Matcher matcher)
Deprecated. 

Create a filter by name with matcher DEPRECATED : use withName().+convenient method

Parameters:
matcher -
Returns:

withId

@Deprecated
public static Filter withId(Matcher matcher)
Deprecated. 

Create a filter by id DEPRECATED : use withId().+convenient method

Parameters:
matcher -
Returns:

withText

@Deprecated
public static Filter withText(Matcher matcher)
Deprecated. 

Create a filter by text DEPRECATED : use withText().+convenient method

Parameters:
matcher -
Returns:

with

@Deprecated
public static Filter with(String customAttribute,
                                     Matcher matcher)
Deprecated. 

Create a filter by a customattribute

DEPRECATED : use with(customAttribute).+convenient method

Parameters:
customAttribute -
matcher -
Returns:

with

@Deprecated
public static Filter with(String customAttribute,
                                     String matcher)
Deprecated. 

Create a filter by a customattribute

DEPRECATED : use with(customAttribute).+convenient method

Parameters:
customAttribute -
matcher -
Returns:


Copyright © 2012 AConsulting. All Rights Reserved.