|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFunctionBuilder
public class FunctionBuilder
Field Summary | |
---|---|
protected FilterFactory2 |
ff
|
Constructor Summary | |
---|---|
FunctionBuilder()
|
|
FunctionBuilder(Function origional)
|
Method Summary | |
---|---|
Function |
build()
Created object, may be null if unset() |
LiteralBuilder |
fallback()
Literal fallback value to use if named function is not implemented |
FunctionBuilder |
fallback(Object obj)
Inline fallback value to use if named function is not implemented |
FunctionBuilder |
literal(Object literal)
|
FunctionBuilder |
name(String function)
|
FunctionBuilder.ParamBuilder |
param()
|
FunctionBuilder.ParamBuilder |
param(int index)
|
FunctionBuilder |
property(String xpath)
|
FunctionBuilder |
reset()
Configure the Builder to produce a default result. |
FunctionBuilder |
reset(Function original)
Configure the Builder to produce a copy of the provided original. |
FunctionBuilder |
unset()
Configure the Builder to produce null . |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FilterFactory2 ff
Constructor Detail |
---|
public FunctionBuilder()
public FunctionBuilder(Function origional)
Method Detail |
---|
public FunctionBuilder.ParamBuilder param()
public FunctionBuilder literal(Object literal)
public FunctionBuilder property(String xpath)
public FunctionBuilder.ParamBuilder param(int index)
public FunctionBuilder name(String function)
public FunctionBuilder fallback(Object obj)
public LiteralBuilder fallback()
public Function build()
Builder
build
in interface Builder<Function>
public FunctionBuilder reset()
Builder
reset
in interface Builder<Function>
public FunctionBuilder reset(Function original)
Builder
reset
in interface Builder<Function>
public FunctionBuilder unset()
Builder
null
.
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.
unset
in interface Builder<Function>
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |