|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.gml.GMLFeature_Impl
----------------------------------------------------------
| Field Summary | |
protected org.w3c.dom.Element |
element
|
| Constructor Summary | |
protected |
GMLFeature_Impl()
Creates a new GMLFeature_Impl object. |
|
GMLFeature_Impl(org.w3c.dom.Element element)
Creates a new GMLFeature_Impl object. |
| Method Summary | |
void |
addProperty(GMLProperty property)
adds a property to the feature. |
static GMLFeature |
createGMLFeature(org.w3c.dom.Document doc,
java.lang.String featureTypeName)
creates a GMLFeature that doesn't contain a property and that hasn't an id. |
static GMLFeature |
createGMLFeature(org.w3c.dom.Document doc,
java.lang.String featureTypeName,
java.lang.String id,
GMLProperty[] properties)
creates a GMLFeature. |
org.w3c.dom.Element |
getAsElement()
|
GMLBox |
getBoundedBy()
returns the boundingbox of the feature |
java.lang.String |
getDescription()
returns the description of the feature |
java.lang.String |
getFeatureTypeName()
return the name of the feature type the feature based on |
GMLGeoProperty[] |
getGeoProperties()
returns alls properties that are a GMLGeometry |
java.lang.String |
getId()
returns the ID of the feature |
java.lang.String |
getName()
returns the name of the Geometry. |
GMLProperty[] |
getNoneGeoProperties()
returns alls properties that are not a GMLGeometry |
GMLProperty[] |
getProperties()
returns all properties of the feature |
GMLProperty |
getProperty(java.lang.String name)
returns a specific property identified by its name |
protected boolean |
isComplexProperty(org.w3c.dom.Node node)
returns true if the submitted node represents a complex property. |
private boolean |
isGeometryProperty(org.w3c.dom.Element elem)
returns true if the submitted element contains just excatly one childelement that have to be a geometry |
protected boolean |
isProperty(org.w3c.dom.Node node)
returns true if the submitted node represents a property. |
void |
setDescription(java.lang.String description)
|
protected void |
setElement(org.w3c.dom.Element element)
|
void |
setId(java.lang.String id)
|
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Element element
| Constructor Detail |
protected GMLFeature_Impl()
public GMLFeature_Impl(org.w3c.dom.Element element)
element - | Method Detail |
protected void setElement(org.w3c.dom.Element element)
element -
public static GMLFeature createGMLFeature(org.w3c.dom.Document doc,
java.lang.String featureTypeName)
public static GMLFeature createGMLFeature(org.w3c.dom.Document doc,
java.lang.String featureTypeName,
java.lang.String id,
GMLProperty[] properties)
throws GMLException
GMLExceptionpublic org.w3c.dom.Element getAsElement()
public java.lang.String getId()
getId in interface GMLFeaturepublic void setId(java.lang.String id)
setId in interface GMLFeaturegetId()public java.lang.String getDescription()
getDescription in interface GMLFeaturepublic void setDescription(java.lang.String description)
setDescription in interface GMLFeaturegetDescription()public java.lang.String getName()
getName in interface GMLFeaturepublic void setName(java.lang.String name)
setName in interface GMLFeaturegetName()public java.lang.String getFeatureTypeName()
getFeatureTypeName in interface GMLFeaturepublic GMLBox getBoundedBy()
getBoundedBy in interface GMLFeaturepublic GMLProperty[] getProperties()
getProperties in interface GMLFeatureprivate boolean isGeometryProperty(org.w3c.dom.Element elem)
public GMLGeoProperty[] getGeoProperties()
getGeoProperties in interface GMLFeaturepublic GMLProperty[] getNoneGeoProperties()
getNoneGeoProperties in interface GMLFeaturepublic GMLProperty getProperty(java.lang.String name)
getProperty in interface GMLFeature
public void addProperty(GMLProperty property)
throws GMLException
This method should throw an exection if the submitted node doesn't belong to the underlying Feature Type definition. At the moment validiation against the feature type.
addProperty in interface GMLFeatureGMLExceptionprotected boolean isProperty(org.w3c.dom.Node node)
protected boolean isComplexProperty(org.w3c.dom.Node node)
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||