Class ColorMapEntryBuilder
Object
ColorMapEntryBuilder
- All Implemented Interfaces:
Builder<ColorMapEntry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final FilterFactoryprotected AbstractSLDBuilder<?>protected StyleFactoryprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Created object, may be null if unset()buildSLD()protected voidprotected voidcolor(Expression color) colorAsLiteral(String color) protected ExpressioncqlExpression(String cql) protected Filterprotected voidinit(Builder<ColorMapEntry> other) protected Expressionopacity(double opacity) opacity(Expression opacity) opacityAsLiteral(String opacity) protected Expressionquantity(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:BuilderConfigure the Builder to produce a default result.- Returns:
- Builder configured to produce a default result.
-
reset
Description copied from interface:BuilderConfigure 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:BuilderCreated object, may be null if unset()- Returns:
- Created object may be null if unset()
-
buildStyleInternal
-
unset
Description copied from interface:BuilderConfigure 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:
unsetin interfaceBuilder<ColorMapEntry>- Returns:
- Builder configured to build
null
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-