public abstract class GPEWriterHandlerImplementor extends java.lang.Object implements IGPEWriterHandlerImplementor
Constructor and Description |
---|
GPEWriterHandlerImplementor()
All the GPE writer handlers must implement a constructor
with this two arguments.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
It indicates that the writing process has finished.
|
void |
endBbox()
It means that the current bounding box has finished to
be written.
|
void |
endElement()
It means that the current element has finished
to be written.
|
void |
endFeature()
It means that the current feature has finished
to be written.
|
void |
endInnerBoundary()
It means that the current innerPolygon has finished to
be written.
|
void |
endLayer()
It means that the current layer has finished
to be written.
|
void |
endLinearRing()
It means that the current linearRing has finished
to be written.
|
void |
endLineString()
It means that the current lineString has finished
to be written.
|
void |
endMultiGeometry()
It means that the current multiGeometry has finished
to be written.
|
void |
endMultiLineString()
It means that the current multiLineString has finished
to be written.
|
void |
endMultiPoint()
It means that the current multiPoint has finished
to be written.
|
void |
endMultiPolygon()
It means that the current multiPolygon has finished
to be written.
|
void |
endPoint()
It means that the current point has finished
to be written.
|
void |
endPolygon()
It means that the current polygon has finished
to be written.
|
IGPEErrorHandler |
getErrorHandler() |
GPEManager |
getGpeManager() |
protected java.io.OutputStream |
getOutputStream() |
void |
initialize()
It must be invoked before to start the reading process.
|
void |
setErrorHandler(IGPEErrorHandler errorHandler) |
void |
setFormat(java.lang.String format) |
void |
setOutputStream(java.io.OutputStream os)
Sets the outputstream
|
void |
startBbox(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs) |
void |
startElement(java.lang.String name,
java.lang.Object value,
java.lang.String xsElementName) |
void |
startFeature(java.lang.String id,
java.lang.String name,
java.lang.String xsElementName)
It is thrown by the consumer application to indicate
that it has to write a feature.
|
void |
startInnerBoundary(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs) |
void |
startLayer(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String srs,
java.lang.String xsElementName)
It is thrown by the consumer application to indicate
that it has to write a layer.
|
void |
startLinearRing(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs) |
void |
startLineString(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs) |
void |
startMultiGeometry(java.lang.String id,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a multiGeometry.
|
void |
startMultiLineString(java.lang.String id,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a multiLineString.
|
void |
startMultiPoint(java.lang.String id,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a multiPoint.
|
void |
startMultiPolygon(java.lang.String id,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a multiPolygon.
|
void |
startPoint(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs) |
void |
startPolygon(java.lang.String id,
ICoordinateIterator coords,
java.lang.String srs) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getFileExtension, getFormat, getName, startBbox, startElement, startInnerBoundary, startLinearRing, startLineString, startPoint, startPolygon
public GPEWriterHandlerImplementor()
public java.lang.String toString()
toString
in class java.lang.Object
public IGPEErrorHandler getErrorHandler()
getErrorHandler
in interface IGPEWriterHandlerImplementor
public void setErrorHandler(IGPEErrorHandler errorHandler)
setErrorHandler
in interface IGPEWriterHandlerImplementor
errorHandler
- the errorHandler to setpublic void setOutputStream(java.io.OutputStream os)
IGPEWriterHandlerImplementor
setOutputStream
in interface IGPEWriterHandlerImplementor
public void setFormat(java.lang.String format)
public void startPoint(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
public void endPoint()
IGPEWriterHandlerImplementor
endPoint
in interface IGPEWriterHandlerImplementor
public void startLineString(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
public void endLineString()
IGPEWriterHandlerImplementor
endLineString
in interface IGPEWriterHandlerImplementor
public void startLinearRing(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
public void endLinearRing()
IGPEWriterHandlerImplementor
endLinearRing
in interface IGPEWriterHandlerImplementor
public void startPolygon(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
public void endPolygon()
IGPEWriterHandlerImplementor
endPolygon
in interface IGPEWriterHandlerImplementor
public void startInnerBoundary(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
public void endInnerBoundary()
IGPEWriterHandlerImplementor
endInnerBoundary
in interface IGPEWriterHandlerImplementor
public void initialize()
IGPEWriterHandlerImplementor
initialize
in interface IGPEWriterHandlerImplementor
public void close()
IGPEWriterHandlerImplementor
close
in interface IGPEWriterHandlerImplementor
public void startBbox(java.lang.String id, ICoordinateIterator coords, java.lang.String srs)
public void endBbox()
IGPEWriterHandlerImplementor
endBbox
in interface IGPEWriterHandlerImplementor
public void startElement(java.lang.String name, java.lang.Object value, java.lang.String xsElementName)
public void endElement()
IGPEWriterHandlerImplementor
endElement
in interface IGPEWriterHandlerImplementor
public void startLayer(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String srs, java.lang.String xsElementName)
IGPEWriterHandlerImplementor
startLayer
in interface IGPEWriterHandlerImplementor
id
- Layer identifiername
- Layer namespacedescription
- Layer namesrs
- Layer descriptionxsElementName
- Layer spatial reference systempublic void endLayer()
IGPEWriterHandlerImplementor
endLayer
in interface IGPEWriterHandlerImplementor
public void startFeature(java.lang.String id, java.lang.String name, java.lang.String xsElementName)
IGPEWriterHandlerImplementor
startFeature
in interface IGPEWriterHandlerImplementor
id
- Feature identifiername
- Feature namespacexsElementName
- Feature namepublic void endFeature()
IGPEWriterHandlerImplementor
endFeature
in interface IGPEWriterHandlerImplementor
public void startMultiPoint(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiPoint
in interface IGPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiPoint()
IGPEWriterHandlerImplementor
endMultiPoint
in interface IGPEWriterHandlerImplementor
public void startMultiLineString(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiLineString
in interface IGPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiLineString()
IGPEWriterHandlerImplementor
endMultiLineString
in interface IGPEWriterHandlerImplementor
public void startMultiPolygon(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiPolygon
in interface IGPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiPolygon()
IGPEWriterHandlerImplementor
endMultiPolygon
in interface IGPEWriterHandlerImplementor
public void startMultiGeometry(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiGeometry
in interface IGPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiGeometry()
IGPEWriterHandlerImplementor
endMultiGeometry
in interface IGPEWriterHandlerImplementor
protected java.io.OutputStream getOutputStream()
public GPEManager getGpeManager()