|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureType
Provides the type information for an (application-defined) class of Feature
s.
Method Summary | |
---|---|
GeometryPropertyType |
getDefaultGeometryPropertyDeclaration()
Returns the first geometry property declaration of the feature type. |
QName |
getName()
Returns the name that features of this type have. |
PropertyType |
getPropertyDeclaration(QName propName)
Returns the declaration of the property with the given name. |
PropertyType |
getPropertyDeclaration(QName propName,
GMLVersion version)
Returns the declaration of the property with the given name. |
List<PropertyType> |
getPropertyDeclarations()
Returns all property declarations of the feature type, excluding those that any GML feature allows for. |
List<PropertyType> |
getPropertyDeclarations(GMLVersion version)
Returns all property declarations of the feature type, including those that any GML feature allows for. |
AppSchema |
getSchema()
Returns the AppSchema that this feature type belongs to. |
boolean |
isAbstract()
Returns whether this type is abstract or not. |
Feature |
newFeature(String fid,
List<Property> props,
ExtraProps extraProps,
GMLVersion version)
Creates a new Feature instance (that is of this type). |
Method Detail |
---|
QName getName()
In the GML representation, this corresponds to the feature's element name.
PropertyType getPropertyDeclaration(QName propName)
propName
- name of the property
null
if no such property is definedPropertyType getPropertyDeclaration(QName propName, GMLVersion version)
propName
- name of the propertyversion
- GML version that determines the standard GML properties, must not be null
null
if no such property is definedList<PropertyType> getPropertyDeclarations()
List<PropertyType> getPropertyDeclarations(GMLVersion version)
version
- GML version that determines the standard GML properties, must not be null
GeometryPropertyType getDefaultGeometryPropertyDeclaration()
null
if no such declaration existsboolean isAbstract()
Feature newFeature(String fid, List<Property> props, ExtraProps extraProps, GMLVersion version)
Feature
instance (that is of this type).
fid
- feature id, or null if the feature doesn't have an idprops
- propertiesextraProps
- properties that are not defined by the FeatureType
(e.g. rendering hints)version
- determines the names and types of the standard GML properties, can be null
(no GML
properties)
Feature
instanceAppSchema getSchema()
AppSchema
that this feature type belongs to.
ApplicationSchema
or null
if this feature type has none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |