Class ColorReplacementBuilder
- Object
- 
- ColorReplacementBuilder
 
- 
- All Implemented Interfaces:
- Builder<ColorReplacement>
 
 public class ColorReplacementBuilder extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static FilterFactoryFFprotected AbstractSLDBuilder<?>parentprotected StyleFactorysfprotected booleanunset
 - 
Constructor SummaryConstructors Constructor Description ColorReplacementBuilder()ColorReplacementBuilder(AbstractStyleBuilder<?> parent)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorReplacementbuild()Created object, may be null if unset()ObjectbuildRoot()StyledLayerDescriptorbuildSLD()protected voidbuildSLDInternal(StyledLayerDescriptorBuilder sb)StylebuildStyle()protected voidbuildStyleInternal(StyleBuilder sb)protected ExpressioncqlExpression(String cql)protected FiltercqlFilter(String cql)protected voidinit(Builder<T> other)protected Expressionliteral(Object literal)protected Expressionproperty(String name)ColorReplacementBuilderreset()Configure the Builder to produce a default result.ColorReplacementBuilderreset(ColorReplacement replacement)Configure the Builder to produce a copy of the provided original.ColorReplacementBuilderunset()Configure the Builder to producenull.
 
- 
- 
- 
Field Detail- 
sfprotected StyleFactory sf 
 - 
parentprotected AbstractSLDBuilder<?> parent 
 - 
FFprotected static final FilterFactory FF 
 - 
unsetprotected boolean unset 
 
- 
 - 
Method Detail- 
buildpublic ColorReplacement build() Description copied from interface:BuilderCreated object, may be null if unset()- Returns:
- Created object may be null if unset()
 
 - 
resetpublic ColorReplacementBuilder reset() Description copied from interface:BuilderConfigure the Builder to produce a default result.- Returns:
- Builder configured to produce a default result.
 
 - 
resetpublic ColorReplacementBuilder reset(ColorReplacement replacement) Description copied from interface:BuilderConfigure the Builder to produce a copy of the provided original.- Parameters:
- replacement- Original, if null this will behave the same as unset()
- Returns:
- Builder configured to produce the provided original
 
 - 
unsetpublic ColorReplacementBuilder 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 interface- Builder<ColorReplacement>
- Returns:
- Builder configured to build null
 
 - 
buildStyleInternalprotected void buildStyleInternal(StyleBuilder sb) 
 - 
literalprotected Expression literal(Object literal) 
 - 
propertyprotected Expression property(String name) 
 - 
cqlExpressionprotected Expression cqlExpression(String cql) 
 - 
buildSLDInternalprotected void buildSLDInternal(StyledLayerDescriptorBuilder sb) 
 - 
buildStylepublic Style buildStyle() 
 - 
buildRootpublic Object buildRoot() 
 - 
initprotected void init(Builder<T> other) 
 - 
buildSLDpublic StyledLayerDescriptor buildSLD() 
 
- 
 
-