if(!(nodeObj instanceof javax.jcr.Node)){
throw new TemplateProcessingException("Musst pass a javx.jcr.Node here");
}
javax.jcr.Node node = (javax.jcr.Node)nodeObj;
if(node != null) {
helper.attribute(CONTENT_ATTRIBUTE, getNodePath(node));
}
Object ctxObj = StandardExpressionProcessor.processExpression(
arguments, "${renderingContext}");
if(!(ctxObj instanceof RenderingContext)){
throw new TemplateProcessingException("Musst pass a RenderingContext here");