return true;
}
protected static boolean visitAfterAnnotationsOK(SmooksResourceConfiguration resourceConfig, ContentHandler contentHandler) {
Class<? extends ContentHandler> handlerClass = contentHandler.getClass();
VisitAfterIf visitAfterIf = handlerClass.getAnnotation(VisitAfterIf.class);
if(visitAfterIf != null) {
MVELExpressionEvaluator conditionEval = new MVELExpressionEvaluator();
conditionEval.setExpression(visitAfterIf.condition());
return conditionEval.eval(resourceConfig);
}
return true;
}