use of org.onebusaway.gtfs_transformer.impl.RemoveEntityUpdateStrategy in project onebusaway-gtfs-modules by OneBusAway.
the class TransformFactory method handleRemoveOperation.
private void handleRemoveOperation(String line, JSONObject json) throws JSONException, TransformSpecificationException {
TypedEntityMatch match = getMatch(line, json);
EntitiesTransformStrategy strategy = getStrategy(EntitiesTransformStrategy.class);
RemoveEntityUpdateStrategy mod = new RemoveEntityUpdateStrategy();
strategy.addModification(match, mod);
}
Aggregations