public class WFSGPEContentHandler extends GPEContentHandler
Constructor and Description |
---|
WFSGPEContentHandler(java.lang.String searchField) |
Modifier and Type | Method and Description |
---|---|
void |
addElementToFeature(java.lang.Object element,
java.lang.Object feature)
This method adds an element to one feature that has been
previously created using the startFeature method
|
void |
addGeometryToFeature(java.lang.Object geometry,
java.lang.Object feature)
This method adds a geometry to a feature.
|
void |
addGeometryToMultiGeometry(java.lang.Object geometry,
java.lang.Object multigeometry)
It is thrown to add a geometry to one multiGeometry.
|
void |
addLineStringToMultiLineString(java.lang.Object lineString,
java.lang.Object multiLineString)
It is thrown to add a lineString to one lineString.
|
void |
addPointToMultiPoint(java.lang.Object point,
java.lang.Object multiPoint)
It is thrown to add a point to one multiPoint.
|
void |
addPolygonToMultiPolygon(java.lang.Object polygon,
java.lang.Object multiPolygon)
It is thrown to add a polygon to one multiPolygon.
|
java.util.ArrayList |
getFeatures() |
java.util.HashMap |
getFeatureSet() |
java.lang.Object |
startElement(java.lang.String name,
java.lang.Object value,
java.lang.String xsElementName,
java.lang.Object parentElement) |
java.lang.Object |
startElement(java.lang.String namespace,
java.lang.String name,
java.lang.Object value,
IAttributesIterator attributesIterator,
java.lang.Object parentElement)
It is thrown when the parser has found a new element
|
java.lang.Object |
startFeature(java.lang.String id,
java.lang.String namespace,
java.lang.String name,
IAttributesIterator attributes,
java.lang.Object layer)
It is thrown when the parser has found a new feature.
|
java.lang.Object |
startFeature(java.lang.String id,
java.lang.String name,
java.lang.String xsElementName,
java.lang.Object layer) |
java.lang.Object |
startLayer(java.lang.String id,
java.lang.String namespace,
java.lang.String name,
java.lang.String description,
java.lang.String srs,
IAttributesIterator iterator,
java.lang.Object parentLayer,
java.lang.Object box)
It is thrown every time that a new layer is detected.
|
java.lang.Object |
startLineString(java.lang.String id,
double[] x,
double[] y,
double[] z,
java.lang.String srs) |
java.lang.Object |
startLineString(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs)
This method indicates that the parser has found a lineString.
|
java.lang.Object |
startMultiCurve(java.lang.String arg0,
java.lang.String arg1,
int arg2) |
java.lang.Object |
startMultiLineString(java.lang.String id,
java.lang.String srs)
This method indicates that the parser has found a multiLineString.
|
java.lang.Object |
startMultiLineString(java.lang.String arg0,
java.lang.String arg1,
int arg2) |
java.lang.Object |
startMultiPoint(java.lang.String id,
java.lang.String srs)
This method indicates that the parser has found a multipoint.
|
java.lang.Object |
startMultiPoint(java.lang.String arg0,
java.lang.String arg1,
int arg2) |
java.lang.Object |
startMultiPolygon(java.lang.String id,
java.lang.String srs)
This method indicates that the parser has found a multiPolygon.
|
java.lang.Object |
startMultiPolygon(java.lang.String arg0,
java.lang.String arg1,
int arg2) |
java.lang.Object |
startPoint(java.lang.String id,
double x,
double y,
double z,
java.lang.String srs) |
java.lang.Object |
startPoint(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs)
This method indicates that the parser has found a point.
|
java.lang.Object |
startPolygon(java.lang.String id,
double[] x,
double[] y,
double[] z,
java.lang.String srs) |
java.lang.Object |
startPolygon(java.lang.String id,
ICoordinateIterator coords,
java.lang.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, startTime
public java.lang.Object startLayer(java.lang.String id, java.lang.String namespace, java.lang.String name, java.lang.String description, java.lang.String srs, IAttributesIterator iterator, java.lang.Object parentLayer, java.lang.Object box)
IGPEContentHandler
startLayer
in interface IGPEContentHandler
startLayer
in class GPEContentHandler
id
- Layer identifiernamespace
- XML namespacename
- Layer namedescription
- Layer descriptionsrs
- Layer spatial reference systemiterator
- Layer attributesparentLayer
- Layer that contains itbox
- Layer bounding boxpublic void addElementToFeature(java.lang.Object element, java.lang.Object feature)
IGPEContentHandler
addElementToFeature
in interface IGPEContentHandler
addElementToFeature
in class GPEContentHandler
element
- Consumer application object that represents an elementfeature
- Consumer application object that represents the featurepublic void addGeometryToFeature(java.lang.Object geometry, java.lang.Object feature)
IGPEContentHandler
addGeometryToFeature
in interface IGPEContentHandler
addGeometryToFeature
in class GPEContentHandler
geometry
- Consumer application object that represents a geometryfeature
- Consumer application object that represents a featurepublic java.lang.Object startElement(java.lang.String name, java.lang.Object value, java.lang.String xsElementName, java.lang.Object parentElement)
public java.lang.Object startElement(java.lang.String namespace, java.lang.String name, java.lang.Object value, IAttributesIterator attributesIterator, java.lang.Object parentElement)
IGPEContentHandler
startElement
in interface IGPEContentHandler
startElement
in class GPEContentHandler
namespace
- XML namespacename
- Element namevalue
- Element valueattributesIterator
- Element attributesparentElement
- The parent of this element (if exists)public java.lang.Object startFeature(java.lang.String id, java.lang.String name, java.lang.String xsElementName, java.lang.Object layer)
public java.lang.Object startFeature(java.lang.String id, java.lang.String namespace, java.lang.String name, IAttributesIterator attributes, java.lang.Object layer)
IGPEContentHandler
startFeature
in interface IGPEContentHandler
startFeature
in class GPEContentHandler
id
- Feature identifiernamespace
- XML namespacename
- Feature nameattributes
- Feature attributeslayer
- Consumer application object that represents a layerpublic java.lang.Object startPoint(java.lang.String id, double x, double y, double z, java.lang.String srs)
public java.lang.Object startPoint(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startPoint
in interface IGPEContentHandler
startPoint
in class GPEContentHandler
id
- Point identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic java.lang.Object startLineString(java.lang.String id, double[] x, double[] y, double[] z, java.lang.String srs)
public java.lang.Object startLineString(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startLineString
in interface IGPEContentHandler
startLineString
in class GPEContentHandler
id
- LineString identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic java.lang.Object startPolygon(java.lang.String id, double[] x, double[] y, double[] z, java.lang.String srs)
public java.lang.Object startPolygon(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startPolygon
in interface IGPEContentHandler
startPolygon
in class GPEContentHandler
id
- Polygon identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic java.lang.Object startMultiLineString(java.lang.String id, java.lang.String srs)
IGPEContentHandler
startMultiLineString
in interface IGPEContentHandler
startMultiLineString
in class GPEContentHandler
id
- MultiLineString identifiersrs
- Spatial reference systempublic java.lang.Object startMultiPoint(java.lang.String id, java.lang.String srs)
IGPEContentHandler
startMultiPoint
in interface IGPEContentHandler
startMultiPoint
in class GPEContentHandler
id
- MultiPoint identifiersrs
- Spatial reference systempublic java.lang.Object startMultiPolygon(java.lang.String id, java.lang.String srs)
IGPEContentHandler
startMultiPolygon
in interface IGPEContentHandler
startMultiPolygon
in class GPEContentHandler
id
- MultiPolygon identifiersrs
- Spatial reference systempublic void addLineStringToMultiLineString(java.lang.Object lineString, java.lang.Object multiLineString)
IGPEContentHandler
addLineStringToMultiLineString
in interface IGPEContentHandler
addLineStringToMultiLineString
in class GPEContentHandler
lineString
- Consumer application object that represents a lineStringmultiLineString
- Consumer application object that represents a multiLineStringpublic void addPointToMultiPoint(java.lang.Object point, java.lang.Object multiPoint)
IGPEContentHandler
addPointToMultiPoint
in interface IGPEContentHandler
addPointToMultiPoint
in class GPEContentHandler
point
- Consumer application object that represents a pointmultiPoint
- Consumer application object that represents a multiPointpublic void addPolygonToMultiPolygon(java.lang.Object polygon, java.lang.Object multiPolygon)
IGPEContentHandler
addPolygonToMultiPolygon
in interface IGPEContentHandler
addPolygonToMultiPolygon
in class GPEContentHandler
polygon
- Consumer application object that represents a polygonmultiPolygon
- Consumer application object that represents a multiPolygonpublic void addGeometryToMultiGeometry(java.lang.Object geometry, java.lang.Object multigeometry)
IGPEContentHandler
addGeometryToMultiGeometry
in interface IGPEContentHandler
addGeometryToMultiGeometry
in class GPEContentHandler
geometry
- Consumer application object that represents a geometrymultigeometry
- Consumer application object that represents a multiGeometrypublic java.util.HashMap getFeatureSet()
public java.util.ArrayList getFeatures()
public java.lang.Object startMultiLineString(java.lang.String arg0, java.lang.String arg1, int arg2)
public java.lang.Object startMultiPoint(java.lang.String arg0, java.lang.String arg1, int arg2)
public java.lang.Object startMultiPolygon(java.lang.String arg0, java.lang.String arg1, int arg2)
public java.lang.Object startMultiCurve(java.lang.String arg0, java.lang.String arg1, int arg2)