public abstract class SymbolizerBuilder<T extends Symbolizer> extends Object
Modifier and Type | Field and Description |
---|---|
protected static FilterFactory2 |
FF |
protected Map<String,String> |
options |
protected AbstractSLDBuilder<?> |
parent |
protected StyleFactory |
sf |
protected boolean |
unset |
Constructor and Description |
---|
SymbolizerBuilder(AbstractSLDBuilder parent) |
Modifier and Type | Method and Description |
---|---|
Object |
buildRoot() |
StyledLayerDescriptor |
buildSLD() |
protected void |
buildSLDInternal(StyledLayerDescriptorBuilder sb) |
Style |
buildStyle() |
protected abstract void |
buildStyleInternal(StyleBuilder sb) |
protected Expression |
cqlExpression(String cql) |
protected Filter |
cqlFilter(String cql) |
protected void |
init(Builder<T> other) |
protected Expression |
literal(Object literal) |
SymbolizerBuilder |
option(String name,
String value) |
protected Expression |
property(String name) |
AbstractStyleBuilder<T> |
unset()
Configure the Builder to produce
null . |
protected StyleFactory sf
protected AbstractSLDBuilder<?> parent
protected static final FilterFactory2 FF
protected boolean unset
public SymbolizerBuilder option(String name, String value)
protected Expression literal(Object literal)
protected Expression property(String name)
protected Expression cqlExpression(String cql)
protected void buildSLDInternal(StyledLayerDescriptorBuilder sb)
public Style buildStyle()
public Object buildRoot()
protected abstract void buildStyleInternal(StyleBuilder sb)
protected void init(Builder<T> other)
public AbstractStyleBuilder<T> unset()
Builder
null
.
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.
public StyledLayerDescriptor buildSLD()
Copyright © 1996–2019 Geotools. All rights reserved.