public abstract class GPEContentHandler extends Object implements IGPEContentHandler
| Constructor and Description |
|---|
GPEContentHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBboxToFeature(Object bbox,
Object feature)
This method adds a bounding box to a feature.
|
void |
addBboxToLayer(Object bbox,
Object layer)
It adds a bounding box to one layer that has been previously
created using the startLayer method.
|
void |
addCurveToMultiCurve(Object curve,
Object multiCurve)
It is thrown to add a curve to one multiCurve.
|
void |
addDescriptionToLayer(String description,
Object layer)
It adds the description to one layer that has been previously
created using the startLayer method.
|
void |
addElementToFeature(Object element,
Object feature)
This method adds an element to one feature that has been
previously created using the startFeature method
|
void |
addFeatureToLayer(Object feature,
Object layer)
This method adds a feature to one layer that has been
previously created using the startLayer 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 |
addInnerPolygonToPolygon(Object innerPolygon,
Object Polygon)
This method associates a innerPolygon with its polygon
|
void |
addLineStringToMultiLineString(Object lineString,
Object multiLineString)
It is thrown to add a lineString to one lineString.
|
void |
addMetadataToFeature(Object metadata,
Object feature)
This method adds metadata to feature.
|
void |
addMetadataToMetadata(Object metadata,
Object parent)
This method adds metadata to complex metadata.
|
void |
addNameToFeature(String name,
Object feature)
This method adds a name to one layer that has been
previously created using the startFeature method.
|
void |
addNameToLayer(String name,
Object layer)
It adds a name to one layer that has been previously
created using the startLayer method.
|
void |
addParentElementToElement(Object parent,
Object element)
It is thrown to establish a relationship parent-child
between two elements.
|
void |
addParentLayerToLayer(Object parent,
Object layer)
It establish the relationship parent-child between two layers
that have been previously created using the startLayer method.
|
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.
|
void |
addSegmentToCurve(Object segment,
Object curve)
It adds a segment to a curve.
|
void |
addSrsToLayer(String srs,
Object Layer)
It adds a spatial reference system to one layer that
has been previously created using the startLayer method.
|
void |
addTimeToFeature(Object time,
Object feature)
This method adds time to feature.
|
void |
endBbox(Object bbox)
This method indicates that the parser thas finished to
parse the bounding box.
|
void |
endCurve(Object Curve)
It is thrown when the Curve has been completely parsed.
|
void |
endElement(Object element)
This method is thrown when the parser find the end
of an element.
|
void |
endFeature(Object feature)
This method is thrown when the parser has finished to
parse a feature.
|
void |
endInnerPolygon(Object innerPolygon)
It is thrown when the innerPolygon has been completely parsed.
|
void |
endLayer(Object layer)
It is thrown when a layer has been finished to parse.
|
void |
endLinearRing(Object linearRing)
It is thrown when the linearRing has been completely parsed.
|
void |
endLineString(Object lineString)
It is thrown when the lineString has been completely parsed.
|
void |
endMetadata(Object metadata)
This method is thrown when the parser find the end of the metadata
of an element.
|
void |
endMultiCurve(Object multiCurve)
It is thrown when the multiCurve has been completely parsed
|
void |
endMultiGeometry(Object multiGeometry)
It is thrown when the multiGeometry has been completely parsed
|
void |
endMultiLineString(Object multiLineString)
It is thrown when the multiLineString has been completely parsed
|
void |
endMultiPoint(Object multiPoint)
It is thrown when the multiPoint has been completely parsed
|
void |
endMultiPolygon(Object multiPolygon)
It is thrown when the multiPolygon has been completely parsed
|
void |
endPoint(Object point)
It is thrown when the point has been completely parsed.
|
void |
endPolygon(Object Polygon)
It is thrown when the polygon has been completely parsed.
|
void |
endTime(Object time)
This method is thrown when the parser find the end of and element time tag
|
IGPEErrorHandler |
getErrorHandler() |
void |
setErrorHandler(IGPEErrorHandler errorHandler) |
Object |
startBbox(String id,
ICoordinateIterator coords,
String srs)
This method is thrown when the parser find a new
bounding box.
|
Object |
startCurve(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a curve.
|
Object |
startCurve(String id,
String srs)
This method indicates that the parser has found a curve.
|
Object |
startElement(String namespace,
String name,
Object value,
IAttributesIterator attributes,
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 |
startInnerPolygon(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a InnerPolygon.
|
Object |
startLayer(String id,
String namespace,
String name,
String description,
String srs,
IAttributesIterator attributes,
Object parentLayer,
Object bBox)
It is thrown every time that a new layer is detected.
|
Object |
startLinearRing(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a linearRing.
|
Object |
startLineString(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a lineString.
|
Object |
startMetadata(String type,
String data,
IAttributesIterator attributes)
It is thrown when the parser has found a new metadata tag
|
Object |
startMultiCurve(String id,
String srs)
This method indicates that the parser has found a multiCurve.
|
Object |
startMultiGeometry(String id,
String srs)
This method indicates that the parser has found a multiGeometry.
|
Object |
startMultiLineString(String id,
String srs)
This method indicates that the parser has found a multiLineString.
|
Object |
startMultiPoint(String id,
String srs)
This method indicates that the parser has found a multipoint.
|
Object |
startMultiPolygon(String id,
String srs)
This method indicates that the parser has found a multiPolygon.
|
Object |
startPoint(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a point.
|
Object |
startPolygon(String id,
ICoordinateIterator coords,
String srs)
This method indicates that the parser has found a polygon.
|
Object |
startTime(String type,
String time) |
Object |
startTime(String name,
String description,
String type,
String time,
Object previous,
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, waitstartMultiLineString, startMultiPoint, startMultiPolygonstartMultiCurvepublic IGPEErrorHandler getErrorHandler()
public void setErrorHandler(IGPEErrorHandler errorHandler)
errorHandler - the errorHandler to setpublic void addBboxToFeature(Object bbox, Object feature)
IGPEContentHandleraddBboxToFeature in interface IGPEContentHandlerbbox - Consumer application object that represents a bounding
boxfeature - Consumer application object that represents a featurepublic void addBboxToLayer(Object bbox, Object layer)
IGPEContentHandleraddBboxToLayer in interface IGPEContentHandlerbbox - Layer bounding boxlayer - The consumer application object that represents a layerpublic void addDescriptionToLayer(String description, Object layer)
IGPEContentHandleraddDescriptionToLayer in interface IGPEContentHandlerdescription - Layer descriptionlayer - The consumer application object that represents a layerpublic void addElementToFeature(Object element, Object feature)
IGPEContentHandleraddElementToFeature in interface IGPEContentHandlerelement - Consumer application object that represents an elementfeature - Consumer application object that represents the featurepublic void addFeatureToLayer(Object feature, Object layer)
IGPEContentHandleraddFeatureToLayer in interface IGPEContentHandlerfeature - Consumer application object that represents a featurelayer - Consumer application object that represents a layerpublic void addGeometryToFeature(Object geometry, Object feature)
IGPEContentHandleraddGeometryToFeature in interface IGPEContentHandlergeometry - Consumer application object that represents a geometryfeature - Consumer application object that represents a featurepublic void addInnerPolygonToPolygon(Object innerPolygon, Object Polygon)
IGPEContentHandleraddInnerPolygonToPolygon in interface IGPEContentHandlerinnerPolygon - Consumer application object that represents a innerPolygonPolygon - Consumer application object that represents a polygonpublic void addNameToFeature(String name, Object feature)
IGPEContentHandleraddNameToFeature in interface IGPEContentHandlername - Feature namefeature - Consumer application object that represents a featurepublic void addNameToLayer(String name, Object layer)
IGPEContentHandleraddNameToLayer in interface IGPEContentHandlername - Layer namelayer - The consumer application object that represents a layerpublic void addParentElementToElement(Object parent, Object element)
IGPEContentHandleraddParentElementToElement in interface IGPEContentHandlerparent - Consumer application object that represents the parent elementelement - Consumer application object that represents the child elementpublic void addParentLayerToLayer(Object parent, Object layer)
IGPEContentHandleraddParentLayerToLayer in interface IGPEContentHandlerparent - The consumer application object that represents the parent layerlayer - The consumer application object that represents the child layerpublic void addSrsToLayer(String srs, Object Layer)
IGPEContentHandleraddSrsToLayer in interface IGPEContentHandlersrs - Spatial reference systempublic void endBbox(Object bbox)
IGPEContentHandlerendBbox in interface IGPEContentHandlerbbox - The consumer application object that represents a
bounding boxpublic void endElement(Object element)
IGPEContentHandlerendElement in interface IGPEContentHandlerelement - Consumer application object that represents an elementpublic void endFeature(Object feature)
IGPEContentHandlerendFeature in interface IGPEContentHandlerfeature - Consumer application object that represents a featurepublic void endInnerPolygon(Object innerPolygon)
IGPEContentHandlerendInnerPolygon in interface IGPEContentHandlerinnerPolygon - Consumer application object that represents a innerPolygonpublic void endLayer(Object layer)
IGPEContentHandlerendLayer in interface IGPEContentHandlerlayer - The consumer application object that represents a layerpublic void endLineString(Object lineString)
IGPEContentHandlerendLineString in interface IGPEContentHandlerlineString - Consumer application object that represents a lineStringpublic void endLinearRing(Object linearRing)
IGPEContentHandlerendLinearRing in interface IGPEContentHandlerlinearRing - Consumer application object that represents a linearRingpublic void endPoint(Object point)
IGPEContentHandlerendPoint in interface IGPEContentHandlerpoint - Consumer application object that represents a pointpublic void endPolygon(Object Polygon)
IGPEContentHandlerendPolygon in interface IGPEContentHandlerPolygon - Consumer application object that represents a polygonpublic Object startBbox(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartBbox in interface IGPEContentHandlerid - Bounding box identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startElement(String namespace, String name, Object value, IAttributesIterator attributes, Object parentElement)
IGPEContentHandlerstartElement in interface IGPEContentHandlernamespace - XML namespacename - Element namevalue - Element valueattributes - 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 IGPEContentHandlerid - Feature identifiernamespace - XML namespacename - Feature nameattributes - Feature attributeslayer - Consumer application object that represents a layerpublic Object startInnerPolygon(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartInnerPolygon in interface IGPEContentHandlerid - InnerPolygon identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startLayer(String id, String namespace, String name, String description, String srs, IAttributesIterator attributes, Object parentLayer, Object bBox)
IGPEContentHandlerstartLayer in interface IGPEContentHandlerid - Layer identifiernamespace - XML namespacename - Layer namedescription - Layer descriptionsrs - Layer spatial reference systemattributes - Layer attributesparentLayer - Layer that contains itbBox - Layer bounding boxpublic Object startLineString(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartLineString in interface IGPEContentHandlerid - LineString identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startLinearRing(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartLinearRing in interface IGPEContentHandlerid - LinearRing identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startPoint(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartPoint in interface IGPEContentHandlerid - Point identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic Object startPolygon(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerstartPolygon in interface IGPEContentHandlerid - Polygon identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic void addGeometryToMultiGeometry(Object geometry, Object multiGeometry)
IGPEContentHandleraddGeometryToMultiGeometry in interface IGPEContentHandlergeometry - Consumer application object that represents a geometrymultiGeometry - Consumer application object that represents a multiGeometrypublic void addCurveToMultiCurve(Object curve, Object multiCurve)
IGPEContentHandlerSFP0addCurveToMultiCurve in interface IGPEContentHandlerSFP0curve - Consumer application object that represents a curvemultiCurve - Consumer application object that represents a multiCurvepublic Object startMultiCurve(String id, String srs)
IGPEContentHandlerSFP0startMultiCurve in interface IGPEContentHandlerSFP0id - MultyCurve identifiersrs - Spatial reference systempublic void endMultiCurve(Object multiCurve)
IGPEContentHandlerSFP0endMultiCurve in interface IGPEContentHandlerSFP0multiCurve - Consumer application object that represents a multiCurvepublic Object startCurve(String id, ICoordinateIterator coords, String srs)
IGPEContentHandlerSFP0startCurve in interface IGPEContentHandlerSFP0id - curve identifiercoords - A coordinates iteratorsrs - Spatial reference systempublic void endCurve(Object Curve)
IGPEContentHandlerSFP0endCurve in interface IGPEContentHandlerSFP0Curve - Consumer application object that represents a Curvepublic void addLineStringToMultiLineString(Object lineString, Object multiLineString)
IGPEContentHandleraddLineStringToMultiLineString in interface IGPEContentHandlerlineString - Consumer application object that represents a lineStringmultiLineString - Consumer application object that represents a multiLineStringpublic void addPointToMultiPoint(Object point, Object multiPoint)
IGPEContentHandleraddPointToMultiPoint in interface IGPEContentHandlerpoint - Consumer application object that represents a pointmultiPoint - Consumer application object that represents a multiPointpublic void addPolygonToMultiPolygon(Object polygon, Object multiPolygon)
IGPEContentHandleraddPolygonToMultiPolygon in interface IGPEContentHandlerpolygon - Consumer application object that represents a polygonmultiPolygon - Consumer application object that represents a multiPolygonpublic void endMultiGeometry(Object multiGeometry)
IGPEContentHandlerendMultiGeometry in interface IGPEContentHandlermultiGeometry - Consumer application object that represents a multiGeometrypublic void endMultiLineString(Object multiLineString)
IGPEContentHandlerendMultiLineString in interface IGPEContentHandlermultiLineString - Consumer application object that represents a multiLineStringpublic void endMultiPoint(Object multiPoint)
IGPEContentHandlerendMultiPoint in interface IGPEContentHandlermultiPoint - Consumer application object that represents a multiPointpublic void endMultiPolygon(Object multiPolygon)
IGPEContentHandlerendMultiPolygon in interface IGPEContentHandlermultiPolygon - Consumer application object that represents a multiPolygonpublic Object startMultiGeometry(String id, String srs)
IGPEContentHandlerstartMultiGeometry in interface IGPEContentHandlerid - MultiGeometry identifiersrs - Spatial reference systempublic Object startMultiLineString(String id, String srs)
IGPEContentHandlerstartMultiLineString in interface IGPEContentHandlerid - MultiLineString identifiersrs - Spatial reference systempublic Object startMultiPoint(String id, String srs)
IGPEContentHandlerstartMultiPoint in interface IGPEContentHandlerid - MultiPoint identifiersrs - Spatial reference systempublic Object startMultiPolygon(String id, String srs)
IGPEContentHandlerstartMultiPolygon in interface IGPEContentHandlerid - MultiPolygon identifiersrs - Spatial reference systempublic void addSegmentToCurve(Object segment, Object curve)
IGPEContentHandlerSFP0addSegmentToCurve in interface IGPEContentHandlerSFP0segment - The segment to addcurve - The curvepublic Object startCurve(String id, String srs)
IGPEContentHandlerSFP0startCurve in interface IGPEContentHandlerSFP0id - curve identifiersrs - Spatial reference systempublic Object startMetadata(String type, String data, IAttributesIterator attributes)
IGPEContentHandlerstartMetadata in interface IGPEContentHandlertype - 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 Object startTime(String name, String description, String type, String time, Object previous, Object next)
IGPEContentHandlerstartTime in interface IGPEContentHandlertype - String with the type of time, if is a description or any elsepublic Object startTime(String type, String time)
startTime in interface IGPEContentHandlerpublic void addMetadataToFeature(Object metadata, Object feature)
IGPEContentHandleraddMetadataToFeature in interface IGPEContentHandlermetadata - Consumer application object that represents metadatafeature - Consumer application object that represents a featurepublic void addMetadataToMetadata(Object metadata, Object parent)
IGPEContentHandleraddMetadataToMetadata in interface IGPEContentHandlermetadata - Consumer application object that represents metadataparent - Consumer application object that represents the complex metadatapublic void addTimeToFeature(Object time, Object feature)
IGPEContentHandleraddTimeToFeature in interface IGPEContentHandlertime - Consumer application object that represents timefeature - Consumer application object that represents a featurepublic void endMetadata(Object metadata)
IGPEContentHandlerendMetadata in interface IGPEContentHandlermetadata - Consumer application object that represents metadatapublic void endTime(Object time)
IGPEContentHandlerendTime in interface IGPEContentHandlertime - Consumer application object that represents time