@Override public com.vividsolutions.jts.geom.LinearRing buildGeometry( GeometryFactory geometryFactory, LinearRing gmlGeometry, GMLBasePointParser firstParser, CoordinateBaseParser secondParser) throws ParserException { return gmlGeometry.isSetPosOrPointPropertyOrPointRep() ? buildLineString(geometryFactory, gmlGeometry, firstParser, secondParser) : buildGeometry(geometryFactory, gmlGeometry, secondParser); }