org.geotools.feature
Class LenientBuilder

java.lang.Object
  extended by org.geotools.feature.LenientBuilder

public class LenientBuilder
extends java.lang.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

Constructor Summary
LenientBuilder(org.opengis.feature.simple.SimpleFeatureType schmea)
           
 
Method Summary
 void addAll(java.lang.Object[] values)
           
static org.opengis.feature.simple.SimpleFeature build(org.opengis.feature.simple.SimpleFeatureType ft, java.lang.Object[] atts, java.lang.String fid)
           
 org.opengis.feature.simple.SimpleFeature buildFeature(java.lang.String fid)
           
static org.opengis.feature.simple.SimpleFeature copy(org.opengis.feature.simple.SimpleFeature f)
           
 void reset()
           
 void setFeatureFactory(org.opengis.feature.FeatureFactory featureFactory)
          You can inject another Factory; this builder will still not do validation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LenientBuilder

public LenientBuilder(org.opengis.feature.simple.SimpleFeatureType schmea)
Method Detail

build

public static org.opengis.feature.simple.SimpleFeature build(org.opengis.feature.simple.SimpleFeatureType ft,
                                                             java.lang.Object[] atts,
                                                             java.lang.String fid)

setFeatureFactory

public void setFeatureFactory(org.opengis.feature.FeatureFactory featureFactory)
You can inject another Factory; this builder will still not do validation


addAll

public void addAll(java.lang.Object[] values)

buildFeature

public org.opengis.feature.simple.SimpleFeature buildFeature(java.lang.String fid)

reset

public void reset()

copy

public static org.opengis.feature.simple.SimpleFeature copy(org.opengis.feature.simple.SimpleFeature f)


Copyright © 1996-2010 Geotools. All Rights Reserved.