code: public void endNewElement() {
  		if (this.currentFeature != null) {
  			if (!hasPassedLocalFilter) {
  				hasPassedLocalFilter = false;
  				return;
  			}
  
  			if (writerContentHandler != null) {
  				this.currentFeatureGeoJSON = this.fillCategories(writerContentHandler, this.currentFeatureGeoJSON,
  						service);
  				this.currentFeatureGeoJSON = this.fillService(writerContentHandler, this.currentFeatureGeoJSON,
  						service);
  
  				this.fillEmptyAttributes(writerContentHandler, this.currentFeatureGeoJSON, service);
  
  				this.currentFeatureGeoJSON = writerContentHandler.addPointToFeature(this.currentFeatureGeoJSON,
  						writerContentHandler.endPoint(this.currentGeometryGeoJSON, this.service.getSRS(),
  								DescribeService.DEFAULT_SRS));
  				this.currentFeatureGeoJSON = writerContentHandler.endFeature(this.currentFeatureGeoJSON);
  				writerContentHandler.addFeatureToCollection(this.geoJSON, this.currentFeatureGeoJSON);
  			}
  			this.currentFeature = this.fillCategories(contentHandler, this.currentFeature, service);
  			this.currentFeature = this.fillService(contentHandler, this.currentFeature, service);
  
  			this.currentFeature = contentHandler.addPointToFeature(this.currentFeature,
  					contentHandler.endPoint(this.currentPoint, this.service.getSRS(), DescribeService.DEFAULT_SRS));
  			this.currentFeature = contentHandler.endFeature(this.currentFeature);
  			contentHandler.addFeatureToCollection(this.featureCollection, this.currentFeature);
  			hasPassedLocalFilter = false;
  		}
  	}
docs: Ends the current feature parsed, its point associated and adds the
  feature to the current feature collection by throwing the proper events
  of {@link JPEContentHandler}