NearestVisitor nearest = (NearestVisitor) visitor; Object targetValue = nearest.getValueToMatch(); Expression expr = nearest.getExpression(); String attribute = null;
exp = ((NearestVisitor) visitor).getExpression(); } else { FeatureAttributeVisitor fav = (FeatureAttributeVisitor) visitor;
} else if (visitor instanceof NearestVisitor) { NearestVisitor nearestVisitor = (NearestVisitor) visitor; Expression exp = nearestVisitor.getExpression();