Class RuleBuilder
Object
RuleBuilder
-
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
protected void
legend()
line()
protected Expression
max
(double maxScaleDenominator) min
(double minScaleDenominator) point()
polygon()
protected Expression
raster()
reset()
Configure the Builder to produce a default result.Configure the Builder to produce a copy of the provided original.ruleAbstract
(String ruleAbstract) ruleAbstract
(InternationalString ruleAbstract) text()
title
(InternationalString title) unset()
Configure the Builder to producenull
.
-
Field Details
-
options
-
sf
-
parent
protected AbstractSLDBuilder<?> parent -
FF
-
unset
protected boolean unset
-
-
Constructor Details
-
RuleBuilder
public RuleBuilder() -
RuleBuilder
-
-
Method Details
-
name
-
title
-
title
-
ruleAbstract
-
ruleAbstract
-
legend
-
min
-
max
-
elseFilter
-
filter
-
filter
-
point
-
line
-
polygon
-
text
-
raster
-
extension
-
build
Description copied from interface:Builder
Created object, may be null if unset()- Returns:
- Created object may be null if unset()
-
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
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:
rule
- Original, if null this will behave the same as unset()- Returns:
- Builder configured to produce the provided original
-
buildStyleInternal
-
option
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-