org.geotools.styling.builder
Class HaloBuilder

Object
  extended by HaloBuilder
All Implemented Interfaces:
Builder<Halo>

public class HaloBuilder
extends Object


Field Summary
protected static FilterFactory2 FF
           
protected  AbstractSLDBuilder<?> parent
           
protected  StyleFactory sf
           
protected  boolean unset
           
 
Constructor Summary
HaloBuilder()
           
HaloBuilder(AbstractStyleBuilder<?> parent)
           
 
Method Summary
 Halo build()
          Created object, may be null if unset()
 Object buildRoot()
           
 StyledLayerDescriptor buildSLD()
           
protected  void buildSLDInternal(StyledLayerDescriptorBuilder sb)
           
 Style buildStyle()
           
protected  void buildStyleInternal(StyleBuilder sb)
           
protected  Expression cqlExpression(String cql)
           
protected  Filter cqlFilter(String cql)
           
 FillBuilder fill()
           
protected  void init(Builder<T> other)
           
protected  Expression literal(Object literal)
           
protected  Expression property(String name)
           
 HaloBuilder radius(double radius)
           
 HaloBuilder radius(Expression radius)
           
 HaloBuilder radius(String cqlExpression)
           
 HaloBuilder reset()
          Set the HaloBuilder to produce a default Halo.
 HaloBuilder reset(Halo halo)
          Set the HaloBuilder to produce the provided Halo.
 HaloBuilder unset()
          Set the HaloBuilder to produce node
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sf

protected StyleFactory sf

parent

protected AbstractSLDBuilder<?> parent

FF

protected static final FilterFactory2 FF

unset

protected boolean unset
Constructor Detail

HaloBuilder

public HaloBuilder()

HaloBuilder

public HaloBuilder(AbstractStyleBuilder<?> parent)
Method Detail

unset

public HaloBuilder unset()
Set the HaloBuilder to produce node

Specified by:
unset in interface Builder<Halo>
Returns:
current HaloBuilder for chaining operations

reset

public HaloBuilder reset()
Set the HaloBuilder

to produce a default Halo.

Returns:
current HaloBuilder

for chaining operations


reset

public HaloBuilder reset(Halo halo)
Set the HaloBuilder to produce the provided Halo.

Parameters:
halo - Halo under construction; if null HaloBuilder will be unset()
Returns:
current HaloBuilder for chaining operations

radius

public HaloBuilder radius(Expression radius)

radius

public HaloBuilder radius(double radius)

radius

public HaloBuilder radius(String cqlExpression)

fill

public FillBuilder fill()

build

public Halo build()
Description copied from interface: Builder
Created object, may be null if unset()

Returns:
Created object may be null if unset()

buildStyleInternal

protected void buildStyleInternal(StyleBuilder sb)

literal

protected Expression literal(Object literal)

property

protected Expression property(String name)

cqlExpression

protected Expression cqlExpression(String cql)

cqlFilter

protected Filter cqlFilter(String cql)

buildSLDInternal

protected void buildSLDInternal(StyledLayerDescriptorBuilder sb)

buildStyle

public Style buildStyle()

buildRoot

public Object buildRoot()

init

protected void init(Builder<T> other)

buildSLD

public StyledLayerDescriptor buildSLD()


Copyright © 1996-2014 Geotools. All Rights Reserved.