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.
|
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(String id,
ICoordinateSequence coords,
String srs)
It is thrown by the consumer application to indicate
that it has to write a bounding box.
|
void |
startElement(String namespace,
String name,
Object value)
It is thrown by the consumer application to indicate that
it has to write a element.
|
void |
startFeature(String id,
String namespace,
String name)
It is thrown by the consumer application to indicate
that it has to write a feature.
|
void |
startInnerBoundary(String id,
ICoordinateSequence coords,
String srs)
It is thrown by the consumer application to
indicate that it has to write a innerPolygon.
|
void |
startLayer(String id,
String namespace,
String name,
String description,
String srs)
It is thrown by the consumer application to indicate
that it has to write a layer.
|
void |
startLinearRing(String id,
ICoordinateSequence coords,
String srs)
It is thrown by the consumer application to
indicate that it has to write a linearRing.
|
void |
startLineString(String id,
ICoordinateSequence coords,
String srs)
It is thrown by the consumer application to
indicate that it has to write a lineString.
|
void |
startMultiGeometry(String id,
String srs)
It is thrown by the consumer application to
indicate that it has to write a multiGeometry.
|
void |
startMultiLineString(String id,
String srs)
It is thrown by the consumer application to
indicate that it has to write a multiLineString.
|
void |
startMultiPoint(String id,
String srs)
It is thrown by the consumer application to
indicate that it has to write a multiPoint.
|
void |
startMultiPolygon(String id,
String srs)
It is thrown by the consumer application to
indicate that it has to write a multiPolygon.
|
void |
startPoint(String id,
ICoordinateSequence coords,
String srs)
It is thrown by the consumer application to
indicate that it has to write a point.
|
void |
startPolygon(String id,
ICoordinateSequence coords,
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(String id, String namespace, String name, String description, 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(String id, String namespace, 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(String namespace, String name, Object value)
IGPEWriterHandlerImplementor
namespace
- Element namespacename
- Element namevalue
- Element valuepublic void endElement()
IGPEWriterHandlerImplementor
endElement
in interface IGPEWriterHandlerImplementor
endElement
in class GPEWriterHandlerImplementor
public void startPoint(String id, ICoordinateSequence coords, 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(String id, ICoordinateSequence coords, 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(String id, ICoordinateSequence coords, 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(String id, ICoordinateSequence coords, 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(String id, ICoordinateSequence coords, 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(String id, ICoordinateSequence coords, 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(String id, 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(String id, 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(String id, 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(String id, 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 String getFileExtension()