Class FillBuilder
Object
FillBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final FilterFactory
protected AbstractSLDBuilder<?>
protected StyleFactory
protected boolean
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a FillBuilder on its own; not part of a larger data structure.FillBuilder
(AbstractStyleBuilder<?> parent) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build Fill as defined; FillBuilder will be reset after this use.buildSLD()
protected void
protected void
color
(Expression color) protected Expression
cqlExpression
(String cql) protected Filter
protected void
protected Expression
opacity
(double opacity) opacity
(Expression opacity) protected Expression
reset()
Reset to produce the default Fill.Configure the Builder to produce a copy of the provided original.unset()
Configure the Builder to producenull
.
-
Field Details
-
sf
-
parent
protected AbstractSLDBuilder<?> parent -
FF
-
unset
protected boolean unset
-
-
Constructor Details
-
FillBuilder
public FillBuilder()Create a FillBuilder on its own; not part of a larger data structure. -
FillBuilder
public FillBuilder(AbstractStyleBuilder<?> parent)
-
-
Method Details
-
color
-
color
-
color
-
colorHex
-
opacity
-
opacity
-
opacity
-
graphicFill
-
build
Build Fill as defined; FillBuilder will be reset after this use.- Returns:
- Created Fill as defined
-
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. -
reset
Reset to produce the default Fill.- Returns:
- Builder configured to produce a default result.
-
reset
Description copied from interface:Builder
Configure the Builder to produce a copy of the provided original.- Parameters:
original
- Original, if null this will behave the same as unset()- Returns:
- Builder configured to produce the provided original
-
buildStyleInternal
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-