|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.spatial.SpatialDocument
public class SpatialDocument
Class representing the spatial portions of an xml document as a geotools Feature.
| Constructor Summary | |
|---|---|
SpatialDocument(java.lang.String docid,
DBConnection dbconn)
Constructor that queries the db |
|
| Method Summary | |
|---|---|
org.geotools.feature.Feature |
getPointFeature()
Returns a geotools (multi)point feature with geometry plus attributes ready to be inserted into our spatial dataset cache |
org.geotools.feature.Feature |
getPolygonFeature()
Returns a geotools (multi)polygon feature with geometry plus attributes ready to be inserted into our spatial dataset cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpatialDocument(java.lang.String docid,
DBConnection dbconn)
docid - The document id to be represented spatiallydbconn - The database connection shared from the refering method.| Method Detail |
|---|
public org.geotools.feature.Feature getPolygonFeature()
public org.geotools.feature.Feature getPointFeature()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||