|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.gml.GMLFeature_Impl
org.deegree_impl.gml.GMLFeatureCollection_Impl
----------------------------------------------------------
Field Summary |
Fields inherited from class org.deegree_impl.gml.GMLFeature_Impl |
element |
Constructor Summary | |
GMLFeatureCollection_Impl(org.w3c.dom.Element element)
Creates a new GMLFeatureCollection_Impl object. |
|
GMLFeatureCollection_Impl(java.lang.String name)
Creates a new GMLFeatureCollection_Impl object. |
|
GMLFeatureCollection_Impl(java.lang.String name,
java.lang.String prefix,
java.lang.String nameSpace)
Creates a new GMLFeatureCollection_Impl object. |
Method Summary | |
void |
addFeature(GMLFeature feature)
adds a feature to the collection |
static GMLFeatureCollection |
createGMLFeatureCollection(org.w3c.dom.Document doc,
java.lang.String collectionName)
creates a GMLFeatureCollection that doesn't contain a property and that hasn't an id. |
org.w3c.dom.Element |
getAsElement()
|
GMLFeature |
getFeature(java.lang.String id)
returns the feature that matches the submitted id |
GMLFeature[] |
getFeatures()
returns all features of the collection |
GMLFeature[] |
getFeatures(java.lang.String name)
returns the features that matvhes the submitted name |
private boolean |
isFeatureMember(org.w3c.dom.Node node)
in a future release this check has to be performed against the schema |
void |
removeFeature(java.lang.String id)
removes a feature from the collection |
void |
setBoundingBox(double minx,
double miny,
double maxx,
double maxy)
sets the bounding box of the feature collection |
void |
setBoundingBox(GMLBox box)
sets the bounding box of the feature collection |
java.lang.String |
toString()
|
Methods inherited from class org.deegree_impl.gml.GMLFeature_Impl |
addProperty, createGMLFeature, createGMLFeature, getBoundedBy, getDescription, getFeatureTypeName, getGeoProperties, getId, getName, getNoneGeoProperties, getProperties, getProperty, isComplexProperty, isProperty, setDescription, setElement, setId, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.gml.GMLFeature |
addProperty, getBoundedBy, getDescription, getFeatureTypeName, getGeoProperties, getId, getName, getNoneGeoProperties, getProperties, getProperty, setDescription, setId, setName |
Constructor Detail |
public GMLFeatureCollection_Impl(java.lang.String name)
name
- public GMLFeatureCollection_Impl(java.lang.String name, java.lang.String prefix, java.lang.String nameSpace)
name
- prefix
- nameSpace
- public GMLFeatureCollection_Impl(org.w3c.dom.Element element)
element
- Method Detail |
public org.w3c.dom.Element getAsElement()
getAsElement
in class GMLFeature_Impl
public static GMLFeatureCollection createGMLFeatureCollection(org.w3c.dom.Document doc, java.lang.String collectionName)
public GMLFeature[] getFeatures()
getFeatures
in interface GMLFeatureCollection
private boolean isFeatureMember(org.w3c.dom.Node node)
public GMLFeature getFeature(java.lang.String id)
getFeature
in interface GMLFeatureCollection
public GMLFeature[] getFeatures(java.lang.String name)
getFeatures
in interface GMLFeatureCollection
public void addFeature(GMLFeature feature)
addFeature
in interface GMLFeatureCollection
public void removeFeature(java.lang.String id)
removeFeature
in interface GMLFeatureCollection
public void setBoundingBox(double minx, double miny, double maxx, double maxy)
setBoundingBox
in interface GMLFeatureCollection
public void setBoundingBox(GMLBox box)
setBoundingBox
in interface GMLFeatureCollection
public java.lang.String toString()
toString
in class GMLFeature_Impl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |