private void exportTriangle( Triangle triangle ) throws XMLStreamException, UnknownCRSException, TransformationException { writer.writeStartElement( gmlNs, "Triangle" ); writer.writeStartElement( gmlNs, "exterior" ); exportRing( triangle.getExteriorRing() ); writer.writeEndElement(); writer.writeEndElement(); }