public class RingEncoder extends GeometryEncoder<Geometry>
encoder| Modifier | Constructor and Description |
|---|---|
protected |
RingEncoder(Encoder e,
String gmlPrefix,
String gmlUri) |
protected |
RingEncoder(Encoder e,
String gmlPrefix,
String gmlUri,
boolean encodeGmlId) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Geometry geometry,
AttributesImpl atts,
GMLWriter handler,
String gmlId)
Encodes a geometry value with a given gmlId (implementations might choose to use it to
generate gml:id attributes, depending on the GML version.
|
protected void |
encodeMembers(Geometry geometry,
GMLWriter handler,
String gmlId) |
addGmlId, cloneWithGmlId, encodepublic void encode(Geometry geometry,
AttributesImpl atts,
GMLWriter handler,
String gmlId)
throws Exception
GeometryEncoderGeometryEncoder.encode(Geometry, AttributesImpl, GMLWriter)geometry - The Geometry to be encodedatts - Its attributeshandler - The handler used to write XMLgmlId - If not null, some implementation will use to as the gml:id (and to build ids for
the nested features)Exceptionprotected void encodeMembers(Geometry geometry,
GMLWriter handler,
String gmlId)
throws SAXException,
Exception
SAXExceptionExceptionCopyright © 1996–2019 Geotools. All rights reserved.