org.geotools.feature
Class LenientBuilder
Object
LenientBuilder
public class LenientBuilder
- extends Object
A build that can be used as a replacement for SimpleFeatureBuilder in order
to avoid validation.
The normal SimpleFeatureBuilder performs validation (rather than leaving that up
to the factory implementation).
- Author:
- Jody Garnett
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LenientBuilder
public LenientBuilder(SimpleFeatureType schmea)
build
public static SimpleFeature build(SimpleFeatureType ft,
Object[] atts,
String fid)
setFeatureFactory
public void setFeatureFactory(FeatureFactory featureFactory)
- You can inject another Factory; this builder will still not do validation
addAll
public void addAll(Object[] values)
buildFeature
public SimpleFeature buildFeature(String fid)
reset
public void reset()
copy
public static SimpleFeature copy(SimpleFeature f)
Copyright © 1996-2009 Geotools. All Rights Reserved.