Class ColorMapEntryBuilder
Object
ColorMapEntryBuilder
- All Implemented Interfaces:
Builder<ColorMapEntry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final FilterFactory
protected AbstractSLDBuilder<?>
protected StyleFactory
protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Created object, may be null if unset()buildSLD()
protected void
protected void
color
(Expression color) colorAsLiteral
(String color) protected Expression
cqlExpression
(String cql) protected Filter
protected void
init
(Builder<ColorMapEntry> other) protected Expression
opacity
(double opacity) opacity
(Expression opacity) opacityAsLiteral
(String opacity) protected Expression
quantity
(double quantity) quantity
(Expression quantity) quantityAsLiteral
(String quantity) reset()
Configure the Builder to produce a default result.reset
(ColorMapEntry original) 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
-
ColorMapEntryBuilder
public ColorMapEntryBuilder() -
ColorMapEntryBuilder
public ColorMapEntryBuilder(AbstractStyleBuilder<?> parent)
-
-
Method Details
-
color
-
color
-
colorHex
-
color
-
colorAsLiteral
-
opacity
-
opacity
-
opacity
-
opacityAsLiteral
-
quantity
-
quantity
-
quantityAsLiteral
-
quantity
-
label
-
reset
Description copied from interface:Builder
Configure the Builder to produce a default result.- 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
-
build
Description copied from interface:Builder
Created object, may be null if unset()- Returns:
- Created object may be null if unset()
-
buildStyleInternal
-
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.- Specified by:
unset
in interfaceBuilder<ColorMapEntry>
- Returns:
- Builder configured to build
null
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-