code: public Geometry getGeometry(FeatureTransaction featureTransaction) {
  		if (featureIndex >= 0 && featureTransaction.getNewFeatures() != null
  				&& featureTransaction.getNewFeatures().length > featureIndex) {
  			return featureTransaction.getNewFeatures()[featureIndex].getGeometry();
  		}
  		return null;
  	}
docs: ------------------------------------------------------------------------