public abstract class GPEGmlWriterHandlerImplementor extends GPEXmlWriterHandlerImplementor
writer
Constructor and Description |
---|
GPEGmlWriterHandlerImplementor() |
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.
|
java.lang.String |
getFileExtension() |
IWriterProfile |
getProfile() |
void |
initialize()
It must be invoked before to start the reading process.
|
protected void |
initPrefixes()
Initializes the prefixes that will be used
|
void |
setProfile(IWriterProfile profile) |
void |
startBbox(java.lang.String id,
ICoordinateSequence coords,
java.lang.String srs)
It is thrown by the consumer application to indicate
that it has to write a bounding box.
|
void |
startElement(java.lang.String namespace,
java.lang.String name,
java.lang.Object value)
It is thrown by the consumer application to indicate that
it has to write a element.
|
void |
startFeature(java.lang.String id,
java.lang.String namespace,
java.lang.String name)
It is thrown by the consumer application to indicate
that it has to write a feature.
|
void |
startInnerBoundary(java.lang.String id,
ICoordinateSequence coords,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a innerPolygon.
|
void |
startLayer(java.lang.String id,
java.lang.String namespace,
java.lang.String name,
java.lang.String description,
java.lang.String srs)
It is thrown by the consumer application to indicate
that it has to write a layer.
|
void |
startLinearRing(java.lang.String id,
ICoordinateSequence coords,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a linearRing.
|
void |
startLineString(java.lang.String id,
ICoordinateSequence coords,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a lineString.
|
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,
ICoordinateSequence coords,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a point.
|
void |
startPolygon(java.lang.String id,
ICoordinateSequence coords,
java.lang.String srs)
It is thrown by the consumer application to
indicate that it has to write a polygon.
|
getSchemaLocations, getTargetNamespacePrefix, getXMLStreamWriter
getErrorHandler, getGpeManager, getOutputStream, setErrorHandler, setFormat, setOutputStream, startBbox, startElement, startInnerBoundary, startLinearRing, startLineString, startPoint, startPolygon, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getFormat, getName
public void initialize()
IGPEWriterHandlerImplementor
initialize
in interface IGPEWriterHandlerImplementor
initialize
in class GPEXmlWriterHandlerImplementor
public void close()
IGPEWriterHandlerImplementor
close
in interface IGPEWriterHandlerImplementor
close
in class GPEWriterHandlerImplementor
public void startLayer(java.lang.String id, java.lang.String namespace, java.lang.String name, java.lang.String description, java.lang.String srs)
IGPEWriterHandlerImplementor
startLayer
in interface IGPEWriterHandlerImplementor
startLayer
in class GPEWriterHandlerImplementor
id
- Layer identifiernamespace
- Layer namespacename
- Layer namedescription
- Layer descriptionsrs
- Layer spatial reference systemprotected void initPrefixes() throws XmlStreamException
XmlStreamException
public void endLayer()
IGPEWriterHandlerImplementor
endLayer
in interface IGPEWriterHandlerImplementor
endLayer
in class GPEWriterHandlerImplementor
public void startFeature(java.lang.String id, java.lang.String namespace, java.lang.String name)
IGPEWriterHandlerImplementor
startFeature
in interface IGPEWriterHandlerImplementor
startFeature
in class GPEWriterHandlerImplementor
id
- Feature identifiernamespace
- Feature namespacename
- Feature namepublic void endFeature()
IGPEWriterHandlerImplementor
endFeature
in interface IGPEWriterHandlerImplementor
endFeature
in class GPEWriterHandlerImplementor
public void startElement(java.lang.String namespace, java.lang.String name, java.lang.Object value)
IGPEWriterHandlerImplementor
namespace
- Element namespacename
- Element namevalue
- Element valuepublic void endElement()
IGPEWriterHandlerImplementor
endElement
in interface IGPEWriterHandlerImplementor
endElement
in class GPEWriterHandlerImplementor
public void startPoint(java.lang.String id, ICoordinateSequence coords, java.lang.String srs)
IGPEWriterHandlerImplementor
id
- Point identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void endPoint()
IGPEWriterHandlerImplementor
endPoint
in interface IGPEWriterHandlerImplementor
endPoint
in class GPEWriterHandlerImplementor
public void startLineString(java.lang.String id, ICoordinateSequence coords, java.lang.String srs)
IGPEWriterHandlerImplementor
id
- LineString identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void endLineString()
IGPEWriterHandlerImplementor
endLineString
in interface IGPEWriterHandlerImplementor
endLineString
in class GPEWriterHandlerImplementor
public void startBbox(java.lang.String id, ICoordinateSequence coords, java.lang.String srs)
IGPEWriterHandlerImplementor
id
- Bounding box identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void endBbox()
IGPEWriterHandlerImplementor
endBbox
in interface IGPEWriterHandlerImplementor
endBbox
in class GPEWriterHandlerImplementor
public void startLinearRing(java.lang.String id, ICoordinateSequence coords, java.lang.String srs)
IGPEWriterHandlerImplementor
id
- LineString identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void endLinearRing()
IGPEWriterHandlerImplementor
endLinearRing
in interface IGPEWriterHandlerImplementor
endLinearRing
in class GPEWriterHandlerImplementor
public void startPolygon(java.lang.String id, ICoordinateSequence coords, java.lang.String srs)
IGPEWriterHandlerImplementor
id
- LineString identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void endPolygon()
IGPEWriterHandlerImplementor
endPolygon
in interface IGPEWriterHandlerImplementor
endPolygon
in class GPEWriterHandlerImplementor
public void startInnerBoundary(java.lang.String id, ICoordinateSequence coords, java.lang.String srs)
IGPEWriterHandlerImplementor
id
- LineString identifiercoords
- A coordinates iteratorsrs
- Spatial reference systempublic void endInnerBoundary()
IGPEWriterHandlerImplementor
endInnerBoundary
in interface IGPEWriterHandlerImplementor
endInnerBoundary
in class GPEWriterHandlerImplementor
public void startMultiPoint(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiPoint
in interface IGPEWriterHandlerImplementor
startMultiPoint
in class GPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiPoint()
IGPEWriterHandlerImplementor
endMultiPoint
in interface IGPEWriterHandlerImplementor
endMultiPoint
in class GPEWriterHandlerImplementor
public void startMultiGeometry(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiGeometry
in interface IGPEWriterHandlerImplementor
startMultiGeometry
in class GPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiGeometry()
IGPEWriterHandlerImplementor
endMultiGeometry
in interface IGPEWriterHandlerImplementor
endMultiGeometry
in class GPEWriterHandlerImplementor
public void startMultiLineString(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiLineString
in interface IGPEWriterHandlerImplementor
startMultiLineString
in class GPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiLineString()
IGPEWriterHandlerImplementor
endMultiLineString
in interface IGPEWriterHandlerImplementor
endMultiLineString
in class GPEWriterHandlerImplementor
public void startMultiPolygon(java.lang.String id, java.lang.String srs)
IGPEWriterHandlerImplementor
startMultiPolygon
in interface IGPEWriterHandlerImplementor
startMultiPolygon
in class GPEWriterHandlerImplementor
id
- Geometry identifiersrs
- Spatial reference systempublic void endMultiPolygon()
IGPEWriterHandlerImplementor
endMultiPolygon
in interface IGPEWriterHandlerImplementor
endMultiPolygon
in class GPEWriterHandlerImplementor
public IWriterProfile getProfile()
public void setProfile(IWriterProfile profile)
profile
- the profile to setpublic java.lang.String getFileExtension()