Class FilterBuilder
- Object
-
- FilterBuilder
-
-
Constructor Summary
Constructors Constructor Description FilterBuilder()
FilterBuilder(Filter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Filter
build()
Build the expression.FilterBuilder
reset()
Configure the Builder to produce a default result.FilterBuilder
reset(Filter filter)
Configure the Builder to produce a copy of the provided original.FilterBuilder
unset()
Configure the Builder to producenull
.
-
-
-
Field Detail
-
filter
protected Filter filter
-
ff
protected FilterFactory ff
-
unset
protected boolean unset
-
-
Constructor Detail
-
FilterBuilder
public FilterBuilder()
-
FilterBuilder
public FilterBuilder(Filter filter)
-
-
Method Detail
-
build
public Filter build()
Build the expression.
-
reset
public FilterBuilder reset()
Description copied from interface:Builder
Configure the Builder to produce a default result.
-
reset
public FilterBuilder reset(Filter filter)
Description copied from interface:Builder
Configure the Builder to produce a copy of the provided original.
-
unset
public FilterBuilder unset()
Description copied from interface:Builder
Configure the Builder to producenull
.This method allows a Builder to be used as a placeholder; in its unset state the build() method will produce
null
. If any of the builder methods are used the builder will produce a result.
-
-