eConditionStack.clear();
Condition condition = (Condition)filter.accept(this, null);
if(condition instanceof EObjectCondition) {
eCondition = condition;
} else {
eCondition = new EObjectConditionAdapter(condition);
}
} catch (Exception ex) {
LOGGER.warning("Unable to export filter" + ex);
throw new EFeatureEncoderException("Problem writing filter: " + filter, ex);
}
return new EObjectConditionAdapter(eCondition);
}