public abstract class GPEContentHandler extends java.lang.Object implements IGPEContentHandler
Constructor and Description |
---|
GPEContentHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addBboxToFeature(java.lang.Object bbox,
java.lang.Object feature)
This method adds a bounding box to a feature.
|
void |
addBboxToLayer(java.lang.Object bbox,
java.lang.Object layer)
It adds a bounding box to one layer that has been previously
created using the startLayer method.
|
void |
addCurveToMultiCurve(java.lang.Object curve,
java.lang.Object multiCurve)
It is thrown to add a curve to one multiCurve.
|
void |
addDescriptionToLayer(java.lang.String description,
java.lang.Object layer)
It adds the description to one layer that has been previously
created using the startLayer method.
|
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 |
addFeatureToLayer(java.lang.Object feature,
java.lang.Object layer)
This method adds a feature to one layer that has been
previously created using the startLayer 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 |
addInnerPolygonToPolygon(java.lang.Object innerPolygon,
java.lang.Object Polygon)
This method associates a innerPolygon with its polygon
|
void |
addLineStringToMultiLineString(java.lang.Object lineString,
java.lang.Object multiLineString)
It is thrown to add a lineString to one lineString.
|
void |
addMetadataToFeature(java.lang.Object metadata,
java.lang.Object feature)
This method adds metadata to feature.
|
void |
addMetadataToMetadata(java.lang.Object metadata,
java.lang.Object parent)
This method adds metadata to complex metadata.
|
void |
addNameToFeature(java.lang.String name,
java.lang.Object feature)
This method adds a name to one layer that has been
previously created using the startFeature method.
|
void |
addNameToLayer(java.lang.String name,
java.lang.Object layer)
It adds a name to one layer that has been previously
created using the startLayer method.
|
void |
addParentElementToElement(java.lang.Object parent,
java.lang.Object element)
It is thrown to establish a relationship parent-child
between two elements.
|
void |
addParentLayerToLayer(java.lang.Object parent,
java.lang.Object layer)
It establish the relationship parent-child between two layers
that have been previously created using the startLayer method.
|
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.
|
void |
addSegmentToCurve(java.lang.Object segment,
java.lang.Object curve)
It adds a segment to a curve.
|
void |
addSrsToLayer(java.lang.String srs,
java.lang.Object Layer)
It adds a spatial reference system to one layer that
has been previously created using the startLayer method.
|
void |
addTimeToFeature(java.lang.Object time,
java.lang.Object feature)
This method adds time to feature.
|
void |
endBbox(java.lang.Object bbox)
This method indicates that the parser thas finished to
parse the bounding box.
|
void |
endCurve(java.lang.Object Curve)
It is thrown when the Curve has been completely parsed.
|
void |
endElement(java.lang.Object element)
This method is thrown when the parser find the end
of an element.
|
void |
endFeature(java.lang.Object feature)
This method is thrown when the parser has finished to
parse a feature.
|
void |
endInnerPolygon(java.lang.Object innerPolygon)
It is thrown when the innerPolygon has been completely parsed.
|
void |
endLayer(java.lang.Object layer)
It is thrown when a layer has been finished to parse.
|
void |
endLinearRing(java.lang.Object linearRing)
It is thrown when the linearRing has been completely parsed.
|
void |
endLineString(java.lang.Object lineString)
It is thrown when the lineString has been completely parsed.
|
void |
endMetadata(java.lang.Object metadata)
This method is thrown when the parser find the end of the metadata
of an element.
|
void |
endMultiCurve(java.lang.Object multiCurve)
It is thrown when the multiCurve has been completely parsed
|
void |
endMultiGeometry(java.lang.Object multiGeometry)
It is thrown when the multiGeometry has been completely parsed
|
void |
endMultiLineString(java.lang.Object multiLineString)
It is thrown when the multiLineString has been completely parsed
|
void |
endMultiPoint(java.lang.Object multiPoint)
It is thrown when the multiPoint has been completely parsed
|
void |
endMultiPolygon(java.lang.Object multiPolygon)
It is thrown when the multiPolygon has been completely parsed
|
void |
endPoint(java.lang.Object point)
It is thrown when the point has been completely parsed.
|
void |
endPolygon(java.lang.Object Polygon)
It is thrown when the polygon has been completely parsed.
|
void |
endTime(java.lang.Object time)
This method is thrown when the parser find the end of and element time tag
|
IGPEErrorHandler |
getErrorHandler() |
void |
setErrorHandler(IGPEErrorHandler errorHandler) |
java.lang.Object |
startBbox(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs)
This method is thrown when the parser find a new
bounding box.
|
java.lang.Object |
startCurve(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs)
This method indicates that the parser has found a curve.
|
java.lang.Object |
startCurve(java.lang.String id,
java.lang.String srs)
This method indicates that the parser has found a curve.
|
java.lang.Object |
startElement(java.lang.String namespace,
java.lang.String name,
java.lang.Object value,
IAttributesIterator attributes,
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 |
startInnerPolygon(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs)
This method indicates that the parser has found a InnerPolygon.
|
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 attributes,
java.lang.Object parentLayer,
java.lang.Object bBox)
It is thrown every time that a new layer is detected.
|
java.lang.Object |
startLinearRing(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs)
This method indicates that the parser has found a linearRing.
|
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 |
startMetadata(java.lang.String type,
java.lang.String data,
IAttributesIterator attributes)
It is thrown when the parser has found a new metadata tag
|
java.lang.Object |
startMultiCurve(java.lang.String id,
java.lang.String srs)
This method indicates that the parser has found a multiCurve.
|
java.lang.Object |
startMultiGeometry(java.lang.String id,
java.lang.String srs)
This method indicates that the parser has found a multiGeometry.
|
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 |
startMultiPoint(java.lang.String id,
java.lang.String srs)
This method indicates that the parser has found a multipoint.
|
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 |
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,
ICoordinateIterator coords,
java.lang.String srs)
This method indicates that the parser has found a polygon.
|
java.lang.Object |
startTime(java.lang.String type,
java.lang.String time) |
java.lang.Object |
startTime(java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String time,
java.lang.Object previous,
java.lang.Object next)
It is thrown when the parser has found a new time tag tag
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startMultiLineString, startMultiPoint, startMultiPolygon
startMultiCurve
public IGPEErrorHandler getErrorHandler()
public void setErrorHandler(IGPEErrorHandler errorHandler)
errorHandler
- the errorHandler to setpublic void addBboxToFeature(java.lang.Object bbox, java.lang.Object feature)
IGPEContentHandler
addBboxToFeature
in interface IGPEContentHandler
bbox
- Consumer application object that represents a bounding
boxfeature
- Consumer application object that represents a featurepublic void addBboxToLayer(java.lang.Object bbox, java.lang.Object layer)
IGPEContentHandler
addBboxToLayer
in interface IGPEContentHandler
bbox
- Layer bounding boxlayer
- The consumer application object that represents a layerpublic void addDescriptionToLayer(java.lang.String description, java.lang.Object layer)
IGPEContentHandler
addDescriptionToLayer
in interface IGPEContentHandler
description
- Layer descriptionlayer
- The consumer application object that represents a layerpublic void addElementToFeature(java.lang.Object element, java.lang.Object feature)
IGPEContentHandler
addElementToFeature
in interface IGPEContentHandler
element
- Consumer application object that represents an elementfeature
- Consumer application object that represents the featurepublic void addFeatureToLayer(java.lang.Object feature, java.lang.Object layer)
IGPEContentHandler
addFeatureToLayer
in interface IGPEContentHandler
feature
- Consumer application object that represents a featurelayer
- Consumer application object that represents a layerpublic void addGeometryToFeature(java.lang.Object geometry, java.lang.Object feature)
IGPEContentHandler
addGeometryToFeature
in interface IGPEContentHandler
geometry
- Consumer application object that represents a geometryfeature
- Consumer application object that represents a featurepublic void addInnerPolygonToPolygon(java.lang.Object innerPolygon, java.lang.Object Polygon)
IGPEContentHandler
addInnerPolygonToPolygon
in interface IGPEContentHandler
innerPolygon
- Consumer application object that represents a innerPolygonPolygon
- Consumer application object that represents a polygonpublic void addNameToFeature(java.lang.String name, java.lang.Object feature)
IGPEContentHandler
addNameToFeature
in interface IGPEContentHandler
name
- Feature namefeature
- Consumer application object that represents a featurepublic void addNameToLayer(java.lang.String name, java.lang.Object layer)
IGPEContentHandler
addNameToLayer
in interface IGPEContentHandler
name
- Layer namelayer
- The consumer application object that represents a layerpublic void addParentElementToElement(java.lang.Object parent, java.lang.Object element)
IGPEContentHandler
addParentElementToElement
in interface IGPEContentHandler
parent
- Consumer application object that represents the parent elementelement
- Consumer application object that represents the child elementpublic void addParentLayerToLayer(java.lang.Object parent, java.lang.Object layer)
IGPEContentHandler
addParentLayerToLayer
in interface IGPEContentHandler
parent
- The consumer application object that represents the parent layerlayer
- The consumer application object that represents the child layerpublic void addSrsToLayer(java.lang.String srs, java.lang.Object Layer)
IGPEContentHandler
addSrsToLayer
in interface IGPEContentHandler
srs
- Spatial reference systempublic void endBbox(java.lang.Object bbox)
IGPEContentHandler
endBbox
in interface IGPEContentHandler
bbox
- The consumer application object that represents a
bounding boxpublic void endElement(java.lang.Object element)
IGPEContentHandler
endElement
in interface IGPEContentHandler
element
- Consumer application object that represents an elementpublic void endFeature(java.lang.Object feature)
IGPEContentHandler
endFeature
in interface IGPEContentHandler
feature
- Consumer application object that represents a featurepublic void endInnerPolygon(java.lang.Object innerPolygon)
IGPEContentHandler
endInnerPolygon
in interface IGPEContentHandler
innerPolygon
- Consumer application object that represents a innerPolygonpublic void endLayer(java.lang.Object layer)
IGPEContentHandler
endLayer
in interface IGPEContentHandler
layer
- The consumer application object that represents a layerpublic void endLineString(java.lang.Object lineString)
IGPEContentHandler
endLineString
in interface IGPEContentHandler
lineString
- Consumer application object that represents a lineStringpublic void endLinearRing(java.lang.Object linearRing)
IGPEContentHandler
endLinearRing
in interface IGPEContentHandler
linearRing
- Consumer application object that represents a linearRingpublic void endPoint(java.lang.Object point)
IGPEContentHandler
endPoint
in interface IGPEContentHandler
point
- Consumer application object that represents a pointpublic void endPolygon(java.lang.Object Polygon)
IGPEContentHandler
endPolygon
in interface IGPEContentHandler
Polygon
- Consumer application object that represents a polygonpublic java.lang.Object startBbox(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startBbox
in interface IGPEContentHandler
id
- Bounding box identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic java.lang.Object startElement(java.lang.String namespace, java.lang.String name, java.lang.Object value, IAttributesIterator attributes, java.lang.Object parentElement)
IGPEContentHandler
startElement
in interface IGPEContentHandler
namespace
- XML namespacename
- Element namevalue
- Element valueattributes
- Element attributesparentElement
- The parent of this element (if exists)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
id
- Feature identifiernamespace
- XML namespacename
- Feature nameattributes
- Feature attributeslayer
- Consumer application object that represents a layerpublic java.lang.Object startInnerPolygon(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startInnerPolygon
in interface IGPEContentHandler
id
- InnerPolygon identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic 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 attributes, java.lang.Object parentLayer, java.lang.Object bBox)
IGPEContentHandler
startLayer
in interface IGPEContentHandler
id
- Layer identifiernamespace
- XML namespacename
- Layer namedescription
- Layer descriptionsrs
- Layer spatial reference systemattributes
- Layer attributesparentLayer
- Layer that contains itbBox
- Layer bounding boxpublic java.lang.Object startLineString(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startLineString
in interface IGPEContentHandler
id
- LineString identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic java.lang.Object startLinearRing(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startLinearRing
in interface IGPEContentHandler
id
- LinearRing identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic java.lang.Object startPoint(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startPoint
in interface IGPEContentHandler
id
- Point identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic java.lang.Object startPolygon(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandler
startPolygon
in interface IGPEContentHandler
id
- Polygon identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void addGeometryToMultiGeometry(java.lang.Object geometry, java.lang.Object multiGeometry)
IGPEContentHandler
addGeometryToMultiGeometry
in interface IGPEContentHandler
geometry
- Consumer application object that represents a geometrymultiGeometry
- Consumer application object that represents a multiGeometrypublic void addCurveToMultiCurve(java.lang.Object curve, java.lang.Object multiCurve)
IGPEContentHandlerSFP0
addCurveToMultiCurve
in interface IGPEContentHandlerSFP0
curve
- Consumer application object that represents a curvemultiCurve
- Consumer application object that represents a multiCurvepublic java.lang.Object startMultiCurve(java.lang.String id, java.lang.String srs)
IGPEContentHandlerSFP0
startMultiCurve
in interface IGPEContentHandlerSFP0
id
- MultyCurve identifiersrs
- Spatial reference systempublic void endMultiCurve(java.lang.Object multiCurve)
IGPEContentHandlerSFP0
endMultiCurve
in interface IGPEContentHandlerSFP0
multiCurve
- Consumer application object that represents a multiCurvepublic java.lang.Object startCurve(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
IGPEContentHandlerSFP0
startCurve
in interface IGPEContentHandlerSFP0
id
- curve identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void endCurve(java.lang.Object Curve)
IGPEContentHandlerSFP0
endCurve
in interface IGPEContentHandlerSFP0
Curve
- Consumer application object that represents a Curvepublic void addLineStringToMultiLineString(java.lang.Object lineString, java.lang.Object multiLineString)
IGPEContentHandler
addLineStringToMultiLineString
in interface IGPEContentHandler
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
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
polygon
- Consumer application object that represents a polygonmultiPolygon
- Consumer application object that represents a multiPolygonpublic void endMultiGeometry(java.lang.Object multiGeometry)
IGPEContentHandler
endMultiGeometry
in interface IGPEContentHandler
multiGeometry
- Consumer application object that represents a multiGeometrypublic void endMultiLineString(java.lang.Object multiLineString)
IGPEContentHandler
endMultiLineString
in interface IGPEContentHandler
multiLineString
- Consumer application object that represents a multiLineStringpublic void endMultiPoint(java.lang.Object multiPoint)
IGPEContentHandler
endMultiPoint
in interface IGPEContentHandler
multiPoint
- Consumer application object that represents a multiPointpublic void endMultiPolygon(java.lang.Object multiPolygon)
IGPEContentHandler
endMultiPolygon
in interface IGPEContentHandler
multiPolygon
- Consumer application object that represents a multiPolygonpublic java.lang.Object startMultiGeometry(java.lang.String id, java.lang.String srs)
IGPEContentHandler
startMultiGeometry
in interface IGPEContentHandler
id
- MultiGeometry identifiersrs
- Spatial reference systempublic java.lang.Object startMultiLineString(java.lang.String id, java.lang.String srs)
IGPEContentHandler
startMultiLineString
in interface IGPEContentHandler
id
- MultiLineString identifiersrs
- Spatial reference systempublic java.lang.Object startMultiPoint(java.lang.String id, java.lang.String srs)
IGPEContentHandler
startMultiPoint
in interface IGPEContentHandler
id
- MultiPoint identifiersrs
- Spatial reference systempublic java.lang.Object startMultiPolygon(java.lang.String id, java.lang.String srs)
IGPEContentHandler
startMultiPolygon
in interface IGPEContentHandler
id
- MultiPolygon identifiersrs
- Spatial reference systempublic void addSegmentToCurve(java.lang.Object segment, java.lang.Object curve)
IGPEContentHandlerSFP0
addSegmentToCurve
in interface IGPEContentHandlerSFP0
segment
- The segment to addcurve
- The curvepublic java.lang.Object startCurve(java.lang.String id, java.lang.String srs)
IGPEContentHandlerSFP0
startCurve
in interface IGPEContentHandlerSFP0
id
- curve identifiersrs
- Spatial reference systempublic java.lang.Object startMetadata(java.lang.String type, java.lang.String data, IAttributesIterator attributes)
IGPEContentHandler
startMetadata
in interface IGPEContentHandler
type
- String with the type of metadata, if is a description or any elsedata
- String with the value of the data.attributes
- Object to pass the Atributtespublic java.lang.Object startTime(java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String time, java.lang.Object previous, java.lang.Object next)
IGPEContentHandler
startTime
in interface IGPEContentHandler
type
- String with the type of time, if is a description or any elsepublic java.lang.Object startTime(java.lang.String type, java.lang.String time)
startTime
in interface IGPEContentHandler
public void addMetadataToFeature(java.lang.Object metadata, java.lang.Object feature)
IGPEContentHandler
addMetadataToFeature
in interface IGPEContentHandler
metadata
- Consumer application object that represents metadatafeature
- Consumer application object that represents a featurepublic void addMetadataToMetadata(java.lang.Object metadata, java.lang.Object parent)
IGPEContentHandler
addMetadataToMetadata
in interface IGPEContentHandler
metadata
- Consumer application object that represents metadataparent
- Consumer application object that represents the complex metadatapublic void addTimeToFeature(java.lang.Object time, java.lang.Object feature)
IGPEContentHandler
addTimeToFeature
in interface IGPEContentHandler
time
- Consumer application object that represents timefeature
- Consumer application object that represents a featurepublic void endMetadata(java.lang.Object metadata)
IGPEContentHandler
endMetadata
in interface IGPEContentHandler
metadata
- Consumer application object that represents metadatapublic void endTime(java.lang.Object time)
IGPEContentHandler
endTime
in interface IGPEContentHandler
time
- Consumer application object that represents time