org.geotools.feature.type
Class DefaultFeatureTypeBuilder

Object
  extended by SimpleFeatureTypeBuilder
      extended by DefaultFeatureTypeBuilder

Deprecated.

@Deprecated
public class DefaultFeatureTypeBuilder
extends SimpleFeatureTypeBuilder

Feature Type Builder which creates instances of the old model.

This class should not be used outside of geotools itself by client code. Client code should be using SimpleFeatureTypeBuilder.

Author:
Justin Deoliveira, The Open Planning Project

Field Summary
 
Fields inherited from class SimpleFeatureTypeBuilder
attributeBuilder, attributes, bindings, crs, defaultGeometry, description, factory, isAbstract, local, restrictions, superType, uri
 
Constructor Summary
DefaultFeatureTypeBuilder()
          Deprecated.  
 
Method Summary
 void add(AttributeType type)
          Deprecated. Additional api for adding an AttributeType directly.
 void add(AttributeType[] types)
          Deprecated.  
 void add(String name, Class binding)
          Deprecated. Adds a new attribute w/ provided name and class.
 DefaultFeatureType buildFeatureType()
          Deprecated. Override to type narror to DefaultFeautreType.
 void setDefaultGeometry(AttributeType defaultGeomtetry)
          Deprecated.  
 void setNamespaceURI(String namespaceURI)
          Deprecated. Set the namespace uri of the built type.
 
Methods inherited from class SimpleFeatureTypeBuilder
add, add, add, add, add, addAll, addAll, addBinding, addBindings, attributes, bindings, crs, decode, defaultValue, description, descriptor, getBinding, getCRS, getDefaultGeometry, getDescription, getFeatureTypeFactory, getName, getNamespaceURI, getSuperType, init, init, isAbstract, length, maxOccurs, minOccurs, name, newList, newList, newMap, newSet, nillable, remove, reset, restriction, restrictions, restrictions, retype, setAbstract, setAttributes, setAttributes, setBindings, setCRS, setDefaultGeometry, setDescription, setFeatureTypeFactory, setName, setName, setNamespaceURI, setSRS, setSuperType, srid, srs, userData
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeatureTypeBuilder

public DefaultFeatureTypeBuilder()
Deprecated. 
Method Detail

setNamespaceURI

public void setNamespaceURI(String namespaceURI)
Deprecated. 
Description copied from class: SimpleFeatureTypeBuilder
Set the namespace uri of the built type.

Overrides:
setNamespaceURI in class SimpleFeatureTypeBuilder

add

public void add(String name,
                Class binding)
Deprecated. 
Description copied from class: SimpleFeatureTypeBuilder
Adds a new attribute w/ provided name and class.

The provided class is used to locate an attribute type binding previously specified by SimpleFeatureTypeBuilder.addBinding(AttributeType),SimpleFeatureTypeBuilder.addBindings(Schema), or SimpleFeatureTypeBuilder.setBindings(Schema).

If not such binding exists then an attribute type is created on the fly.

Overrides:
add in class SimpleFeatureTypeBuilder
Parameters:
name - The name of the attribute.

add

public void add(AttributeType type)
Deprecated. 
Additional api for adding an AttributeType directly.


add

public void add(AttributeType[] types)
Deprecated. 

setDefaultGeometry

public void setDefaultGeometry(AttributeType defaultGeomtetry)
Deprecated. 

buildFeatureType

public DefaultFeatureType buildFeatureType()
Deprecated. 
Override to type narror to DefaultFeautreType.

Overrides:
buildFeatureType in class SimpleFeatureTypeBuilder
Returns:
The built feature type.


Copyright © 1996-2009 Geotools. All Rights Reserved.