public class WFSGPEContentHandler extends GPEContentHandler
| Constructor and Description |
|---|
WFSGPEContentHandler(String searchField) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElementToFeature(Object element,
Object feature)
This method adds an element to one feature that has been
previously created using the startFeature method
|
void |
addGeometryToFeature(Object geometry,
Object feature)
This method adds a geometry to a feature.
|
void |
addGeometryToMultiGeometry(Object geometry,
Object multigeometry)
It is thrown to add a geometry to one multiGeometry.
|
void |
addLineStringToMultiLineString(Object lineString,
Object multiLineString)
It is thrown to add a lineString to one lineString.
|
void |
addPointToMultiPoint(Object point,
Object multiPoint)
It is thrown to add a point to one multiPoint.
|
void |
addPolygonToMultiPolygon(Object polygon,
Object multiPolygon)
It is thrown to add a polygon to one multiPolygon.
|
ArrayList |
getFeatures() |
HashMap |
getFeatureSet() |
Object |
startElement(String name,
Object value,
String xsElementName,
Object parentElement) |
Object |
startElement(String namespace,
String name,
Object value,
IAttributesIterator attributesIterator,
Object parentElement)
It is thrown when the parser has found a new element
|
Object |
startFeature(String id,
String namespace,
String name,
IAttributesIterator attributes,
Object layer)
It is thrown when the parser has found a new feature.
|
Object |
startFeature(String id,
String name,
String xsElementName,
Object layer) |
Object |
startLayer(String id,
String namespace,
String name,
String description,
String srs,
IAttributesIterator iterator,
Object parentLayer,
Object box)
It is thrown every time that a new layer is detected.
|
Object |
startLineString(String id,
double[] x,
double[] y,
double[] z,
String srs) |
Object |
startLineString(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a lineString.
|
Object |
startMultiCurve(String arg0,
String arg1,
int arg2) |
Object |
startMultiLineString(String id,
String srs)
This method indicates that the parser has found a multiLineString.
|
Object |
startMultiLineString(String arg0,
String arg1,
int arg2) |
Object |
startMultiPoint(String id,
String srs)
This method indicates that the parser has found a multipoint.
|
Object |
startMultiPoint(String arg0,
String arg1,
int arg2) |
Object |
startMultiPolygon(String id,
String srs)
This method indicates that the parser has found a multiPolygon.
|
Object |
startMultiPolygon(String arg0,
String arg1,
int arg2) |
Object |
startPoint(String id,
double x,
double y,
double z,
String srs) |
Object |
startPoint(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a point.
|
Object |
startPolygon(String id,
double[] x,
double[] y,
double[] z,
String srs) |
Object |
startPolygon(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a polygon.
|
addBboxToFeature, addBboxToLayer, addCurveToMultiCurve, addDescriptionToLayer, addFeatureToLayer, addInnerPolygonToPolygon, addMetadataToFeature, addMetadataToMetadata, addNameToFeature, addNameToLayer, addParentElementToElement, addParentLayerToLayer, addSegmentToCurve, addSrsToLayer, addTimeToFeature, endBbox, endCurve, endElement, endFeature, endInnerPolygon, endLayer, endLinearRing, endLineString, endMetadata, endMultiCurve, endMultiGeometry, endMultiLineString, endMultiPoint, endMultiPolygon, endPoint, endPolygon, endTime, getErrorHandler, setErrorHandler, startBbox, startCurve, startCurve, startInnerPolygon, startLinearRing, startMetadata, startMultiCurve, startMultiGeometry, startTime, startTimepublic WFSGPEContentHandler(String searchField)
public Object startLayer(String id, String namespace, String name, String description, String srs, IAttributesIterator iterator, Object parentLayer, Object box)
IGPEContentHandlerstartLayer in interface IGPEContentHandlerstartLayer in class GPEContentHandlerid - Layer identifiernamespace - XML namespacename - Layer namedescription - Layer descriptionsrs - Layer spatial reference systemiterator - Layer attributesparentLayer - Layer that contains itbox - Layer bounding boxpublic void addElementToFeature(Object element, Object feature)
IGPEContentHandleraddElementToFeature in interface IGPEContentHandleraddElementToFeature in class GPEContentHandlerelement - Consumer application object that represents an elementfeature - Consumer application object that represents the featurepublic void addGeometryToFeature(Object geometry, Object feature)
IGPEContentHandleraddGeometryToFeature in interface IGPEContentHandleraddGeometryToFeature in class GPEContentHandlergeometry - Consumer application object that represents a geometryfeature - Consumer application object that represents a featurepublic Object startElement(String name, Object value, String xsElementName, Object parentElement)
public Object startElement(String namespace, String name, Object value, IAttributesIterator attributesIterator, Object parentElement)
IGPEContentHandlerstartElement in interface IGPEContentHandlerstartElement in class GPEContentHandlernamespace - XML namespacename - Element namevalue - Element valueattributesIterator - Element attributesparentElement - The parent of this element (if exists)public Object startFeature(String id, String namespace, String name, IAttributesIterator attributes, Object layer)
IGPEContentHandlerstartFeature in interface IGPEContentHandlerstartFeature in class GPEContentHandlerid - Feature identifiernamespace - XML namespacename - Feature nameattributes - Feature attributeslayer - Consumer application object that represents a layerpublic Object startPoint(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartPoint in interface IGPEContentHandlerstartPoint in class GPEContentHandlerid - Point identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startLineString(String id, double[] x, double[] y, double[] z, String srs)
public Object startLineString(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartLineString in interface IGPEContentHandlerstartLineString in class GPEContentHandlerid - LineString identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startPolygon(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartPolygon in interface IGPEContentHandlerstartPolygon in class GPEContentHandlerid - Polygon identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startMultiLineString(String id, String srs)
IGPEContentHandlerstartMultiLineString in interface IGPEContentHandlerstartMultiLineString in class GPEContentHandlerid - MultiLineString identifiersrs - Spatial reference systempublic Object startMultiPoint(String id, String srs)
IGPEContentHandlerstartMultiPoint in interface IGPEContentHandlerstartMultiPoint in class GPEContentHandlerid - MultiPoint identifiersrs - Spatial reference systempublic Object startMultiPolygon(String id, String srs)
IGPEContentHandlerstartMultiPolygon in interface IGPEContentHandlerstartMultiPolygon in class GPEContentHandlerid - MultiPolygon identifiersrs - Spatial reference systempublic void addLineStringToMultiLineString(Object lineString, Object multiLineString)
IGPEContentHandleraddLineStringToMultiLineString in interface IGPEContentHandleraddLineStringToMultiLineString in class GPEContentHandlerlineString - Consumer application object that represents a lineStringmultiLineString - Consumer application object that represents a multiLineStringpublic void addPointToMultiPoint(Object point, Object multiPoint)
IGPEContentHandleraddPointToMultiPoint in interface IGPEContentHandleraddPointToMultiPoint in class GPEContentHandlerpoint - Consumer application object that represents a pointmultiPoint - Consumer application object that represents a multiPointpublic void addPolygonToMultiPolygon(Object polygon, Object multiPolygon)
IGPEContentHandleraddPolygonToMultiPolygon in interface IGPEContentHandleraddPolygonToMultiPolygon in class GPEContentHandlerpolygon - Consumer application object that represents a polygonmultiPolygon - Consumer application object that represents a multiPolygonpublic void addGeometryToMultiGeometry(Object geometry, Object multigeometry)
IGPEContentHandleraddGeometryToMultiGeometry in interface IGPEContentHandleraddGeometryToMultiGeometry in class GPEContentHandlergeometry - Consumer application object that represents a geometrymultigeometry - Consumer application object that represents a multiGeometrypublic HashMap getFeatureSet()
public ArrayList getFeatures()