Modifier and Type | Field and Description |
---|---|
protected static FilterFactory2 |
FF |
protected AbstractSLDBuilder<?> |
parent |
protected StyleFactory |
sf |
protected boolean |
unset |
Constructor and Description |
---|
UserLayerBuilder() |
UserLayerBuilder(AbstractSLDBuilder<?> parent) |
Modifier and Type | Method and Description |
---|---|
UserLayer |
build()
Created object, may be null if unset()
|
Object |
buildRoot() |
StyledLayerDescriptor |
buildSLD() |
protected void |
buildSLDInternal(StyledLayerDescriptorBuilder sb) |
FeatureTypeConstraintBuilder |
featureTypeConstraint() |
protected void |
init(Builder<T> other) |
UserLayerBuilder |
inlineData(DataStore store,
SimpleFeatureType sft) |
UserLayerBuilder |
remoteOWS(String onlineResource,
String service) |
UserLayerBuilder |
reset()
Reset stroke to default values.
|
UserLayerBuilder |
reset(UserLayer other)
Reset builder to provided original stroke.
|
StyleBuilder |
style() |
UserLayerBuilder |
unset()
Configure the Builder to produce
null . |
protected StyleFactory sf
protected AbstractSLDBuilder<?> parent
protected static final FilterFactory2 FF
protected boolean unset
public UserLayerBuilder()
public UserLayerBuilder(AbstractSLDBuilder<?> parent)
public UserLayerBuilder inlineData(DataStore store, SimpleFeatureType sft)
public UserLayerBuilder remoteOWS(String onlineResource, String service)
public FeatureTypeConstraintBuilder featureTypeConstraint()
public StyleBuilder style()
public UserLayerBuilder reset()
public UserLayerBuilder reset(UserLayer other)
stroke
- public UserLayerBuilder 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 UserLayer build()
Builder
protected void buildSLDInternal(StyledLayerDescriptorBuilder sb)
public StyledLayerDescriptor buildSLD()
public Object buildRoot()
protected void init(Builder<T> other)
Copyright © 1996–2019 Geotools. All rights reserved.