org.n52.oxf.feature
Class OXFFeatureType

java.lang.Object
  extended by org.n52.oxf.feature.OXFFeatureType
All Implemented Interfaces:
org.opengis.feature.FeatureType
Direct Known Subclasses:
OXFAbstractFeatureType

public class OXFFeatureType
extends Object
implements org.opengis.feature.FeatureType


Field Summary
protected  List<org.opengis.feature.FeatureAttributeDescriptor> featureAttributeDescriptors
           
protected  String typeName
           
 
Constructor Summary
OXFFeatureType(String typeName, List<org.opengis.feature.FeatureAttributeDescriptor> featureAttributeDescriptors)
           
 
Method Summary
 org.opengis.feature.Feature createFeature()
          not supported
 org.opengis.feature.FeatureAttributeDescriptor getAttributeDescriptor(String attributeName)
           
 List<org.opengis.feature.FeatureAttributeDescriptor> getAttributeDescriptors()
          Returns a list of descriptors that lists all of the attributes that a Feature of this type will have.
 List getChildTypes()
          not supported
 OXFGeometryAttribute getDefaultShapeAttribute()
          not supported
 org.opengis.util.GenericName getName()
          not supported
 String getPreferredPrefix()
          not supported
 String getTypeName()
           
 boolean hasAttribute(String attributeName)
           
 boolean isCollectionType()
          Returns true if features of this type can be cast to FeatureCollection.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

typeName

protected String typeName

featureAttributeDescriptors

protected List<org.opengis.feature.FeatureAttributeDescriptor> featureAttributeDescriptors
Constructor Detail

OXFFeatureType

public OXFFeatureType(String typeName,
                      List<org.opengis.feature.FeatureAttributeDescriptor> featureAttributeDescriptors)
Parameters:
typeName -
featureAttributeDescriptors -
defaultShapeAttribute -
Method Detail

getTypeName

public String getTypeName()
Returns:

hasAttribute

public boolean hasAttribute(String attributeName)
Parameters:
attributeName -
Returns:
true, if there is an FeatureAttributeDescriptor which has got the specified attributeName.

getAttributeDescriptor

public org.opengis.feature.FeatureAttributeDescriptor getAttributeDescriptor(String attributeName)
Parameters:
attributeName -
Returns:
the FeatureAttributeDescriptor with the specified name; or null if there is no such FeatureAttributeDescriptor.

getAttributeDescriptors

public List<org.opengis.feature.FeatureAttributeDescriptor> getAttributeDescriptors()
Returns a list of descriptors that lists all of the attributes that a Feature of this type will have.

Specified by:
getAttributeDescriptors in interface org.opengis.feature.FeatureType

isCollectionType

public boolean isCollectionType()
Returns true if features of this type can be cast to FeatureCollection.

Specified by:
isCollectionType in interface org.opengis.feature.FeatureType

toString

public String toString()
Overrides:
toString in class Object

createFeature

public org.opengis.feature.Feature createFeature()
                                          throws UnsupportedOperationException
not supported

Specified by:
createFeature in interface org.opengis.feature.FeatureType
Throws:
UnsupportedOperationException

getName

public org.opengis.util.GenericName getName()
                                     throws UnsupportedOperationException
not supported

Specified by:
getName in interface org.opengis.feature.FeatureType
Throws:
UnsupportedOperationException

getPreferredPrefix

public String getPreferredPrefix()
                          throws UnsupportedOperationException
not supported

Specified by:
getPreferredPrefix in interface org.opengis.feature.FeatureType
Throws:
UnsupportedOperationException

getChildTypes

public List getChildTypes()
                   throws UnsupportedOperationException
not supported

Specified by:
getChildTypes in interface org.opengis.feature.FeatureType
Throws:
UnsupportedOperationException

getDefaultShapeAttribute

public OXFGeometryAttribute getDefaultShapeAttribute()
                                              throws UnsupportedOperationException
not supported

Specified by:
getDefaultShapeAttribute in interface org.opengis.feature.FeatureType
Throws:
UnsupportedOperationException


Copyright © 2005 - 2010 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.