Class LiteralBuilder
- Object
-
- LiteralBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected FilterFactory
ff
-
Constructor Summary
Constructors Constructor Description LiteralBuilder()
LiteralBuilder(Literal literal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Literal
build()
Created object, may be null if unset()LiteralBuilder
reset()
Configure the Builder to produce a default result.LiteralBuilder
reset(Literal original)
Configure the Builder to produce a copy of the provided original.LiteralBuilder
unset()
Configure the Builder to producenull
.LiteralBuilder
value(Object literal)
-
-
-
Field Detail
-
ff
protected FilterFactory ff
-
-
Constructor Detail
-
LiteralBuilder
public LiteralBuilder()
-
LiteralBuilder
public LiteralBuilder(Literal literal)
-
-
Method Detail
-
value
public LiteralBuilder value(Object literal)
-
build
public Literal build()
Description copied from interface:Builder
Created object, may be null if unset()
-
reset
public LiteralBuilder reset()
Description copied from interface:Builder
Configure the Builder to produce a default result.
-
reset
public LiteralBuilder reset(Literal original)
Description copied from interface:Builder
Configure the Builder to produce a copy of the provided original.
-
unset
public LiteralBuilder 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.
-
-