for (ResourceAccessGateHandler handler : allHandlers) {
returnValue = handler.getResourceAccessGate().transformQuery(
returnValue, language, resourceResolver);
if (returnValue == null) {
throw new AccessSecurityException(
"Method transformQuery in ResourceAccessGate "
+ handler.getResourceAccessGate().getClass()
.getName() + " returned null.");
}
}