class EnvironmentScopeExtractor implements AttributeExtractor {

    @SuppressWarnings("unchecked")
    @Override
    public Enumeration<String> getKeys() {
        try {
            return Collections.<String> enumeration(request.getKnownVariableNames());
        } catch (TemplateModelException e) {
            throw new FreemarkerRequestException("Cannot iterate variable names correctly", e);
        }
    }

    public  EnvironmentScopeExtractor(Environment request);

}