|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleFeatureTypeBuilder
DefaultFeatureTypeBuilder
@Deprecated public class DefaultFeatureTypeBuilder
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
.
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, 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 |
---|
public DefaultFeatureTypeBuilder()
Method Detail |
---|
public void setNamespaceURI(String namespaceURI)
SimpleFeatureTypeBuilder
setNamespaceURI
in class SimpleFeatureTypeBuilder
public void add(String name, Class binding)
SimpleFeatureTypeBuilder
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.
add
in class SimpleFeatureTypeBuilder
name
- The name of the attribute.public void add(AttributeType type)
public void add(AttributeType[] types)
public void setDefaultGeometry(AttributeType defaultGeomtetry)
public DefaultFeatureType buildFeatureType()
buildFeatureType
in class SimpleFeatureTypeBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |