org.geotools.feature
Class SimpleFeatureType

Object
  extended by PropertyTypeImpl
      extended by AttributeTypeImpl
          extended by ComplexTypeImpl
              extended by FeatureTypeImpl
                  extended by SimpleFeatureTypeImpl
                      extended by DefaultFeatureType
                          extended by SimpleFeatureType
All Implemented Interfaces:
SimpleFeatureType, AttributeType, ComplexType, FeatureType, PropertyType

Deprecated. use SimpleFeatureType.

public class SimpleFeatureType
extends DefaultFeatureType

A basic implementation of FeatureType.

Author:
Ian Schneider
Module:

Field Summary
 
Fields inherited from class DefaultFeatureType
EMPTY
 
Fields inherited from class AttributeTypeImpl
identified
 
Fields inherited from class PropertyTypeImpl
binding, description, isAbstract, name, restrictions, superType, userData
 
Constructor Summary
SimpleFeatureType(String typeName, String namespace, Collection types, Collection superTypes, GeometryAttributeType defaultGeom)
          Deprecated. use SimpleFeatureType(String,URI,Collection,Collection,GeometryAttributeType)
SimpleFeatureType(String typeName, URI namespace, Collection types, Collection superTypes, GeometryAttributeType defaultGeom)
          Deprecated. Constructs a new SimpleFeatureType.
 
Method Summary
 
Methods inherited from class DefaultFeatureType
create, create, duplicate, equals, find, find, getAncestors, getAttributeCount, getAttributeType, getAttributeType, getAttributeTypes, getGeometryDescriptor, getNamespace, getTypeName, hasAttributeType, hashCode, isAbstract, isDescendedFrom, isDescendedFrom
 
Methods inherited from class SimpleFeatureTypeImpl
getAttributeDescriptors, getDescriptor, getDescriptor, getDescriptor, getType, getType, getType, getTypes, indexOf, indexOf
 
Methods inherited from class FeatureTypeImpl
getCoordinateReferenceSystem
 
Methods inherited from class ComplexTypeImpl
getBinding, getDescriptors, isInline, toString
 
Methods inherited from class AttributeTypeImpl
createDefaultValue, getSuper, isIdentified, parse
 
Methods inherited from class PropertyTypeImpl
getDescription, getName, getRestrictions, getUserData
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface SimpleFeatureType
getAttributeDescriptors, getDescriptor, getDescriptor, getDescriptor, getType, getType, getType, getTypes, indexOf, indexOf
 
Methods inherited from interface FeatureType
getCoordinateReferenceSystem, isIdentified
 
Methods inherited from interface ComplexType
getBinding, getDescriptors, isInline
 
Methods inherited from interface AttributeType
getSuper
 
Methods inherited from interface PropertyType
getDescription, getName, getRestrictions, getUserData
 

Constructor Detail

SimpleFeatureType

public SimpleFeatureType(String typeName,
                         String namespace,
                         Collection types,
                         Collection superTypes,
                         GeometryAttributeType defaultGeom)
                  throws SchemaException,
                         NullPointerException
Deprecated. use SimpleFeatureType(String,URI,Collection,Collection,GeometryAttributeType)

Parameters:
typeName -
namespace -
types -
superTypes -
defaultGeom -
Throws:
SchemaException
NullPointerException

SimpleFeatureType

public SimpleFeatureType(String typeName,
                         URI namespace,
                         Collection types,
                         Collection superTypes,
                         GeometryAttributeType defaultGeom)
                  throws NullPointerException
Deprecated. 
Constructs a new SimpleFeatureType.

Attributes from the superTypes will be copied to the list of attributes for this feature type.

Parameters:
typeName - The name to give this FeatureType.
namespace - The namespace of the new FeatureType.
types - The attributeTypes to use for validation.
superTypes - The ancestors of this FeatureType.
defaultGeom - The attributeType to set as the defaultGeometry.
Throws:
SchemaException - For problems making the FeatureType.
NullPointerException - If typeName is null.


Copyright © 1996-2009 Geotools. All Rights Reserved.