org.thymeleaf.standard.expression.OGNLPublicMemberAccess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thymeleaf Show documentation
Show all versions of thymeleaf Show documentation
Modern server-side Java template engine for both web and standalone environments
package org.thymeleaf.standard.expression;
import ognl.AbstractMemberAccess;
import java.lang.reflect.Member;
import java.lang.reflect.Modifier;
import java.util.Map;
class OGNLPublicMemberAccess extends AbstractMemberAccess {
@Override
public boolean isAccessible(final Map context, final Object target, final Member member, final String propertyName) {
return Modifier.isPublic(member.getModifiers());
}
}