Class ContrastEnhancementBuilder
Object
ContrastEnhancementBuilder
- All Implemented Interfaces:
Builder<ContrastEnhancement>
-
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
protected Expression
cqlExpression
(String cql) protected Filter
exponential
(Map<String, Expression> constrastParameters) gamma
(double gamma) gamma
(Expression gamma) histogram
(Map<String, Expression> constrastParameters) protected void
init
(Builder<ContrastEnhancement> other) protected Expression
logarithmic
(Map<String, Expression> constrastParameters) normalize
(Map<String, Expression> constrastParameters) protected Expression
reset()
Configure the Builder to produce a default result.reset
(ContrastEnhancement contrastEnhancement) 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
-
ContrastEnhancementBuilder
public ContrastEnhancementBuilder() -
ContrastEnhancementBuilder
public ContrastEnhancementBuilder(AbstractStyleBuilder<?> parent)
-
-
Method Details
-
gamma
-
gamma
-
normalize
-
histogram
-
exponential
-
logarithmic
-
gamma
-
build
Description copied from interface:Builder
Created object, may be null if unset()- Returns:
- Created object may be null if unset()
-
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:
contrastEnhancement
- Original, if null this will behave the same as unset()- Returns:
- Builder configured to produce the provided original
-
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<ContrastEnhancement>
- Returns:
- Builder configured to build
null
-
buildStyleInternal
-
normalize
- Returns:
-
histogram
-
logarithmic
-
exponential
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-