Example usage for org.apache.commons.el FunctionInvocation getFunctionName

List of usage examples for org.apache.commons.el FunctionInvocation getFunctionName

Introduction

In this page you can find the example usage for org.apache.commons.el FunctionInvocation getFunctionName.

Prototype

public String getFunctionName() 

Source Link

Usage

From source file:com.cybernostics.jsp2thymeleaf.api.expressions.ExpressionWritingVisitor.java

@Override
public void visitFunctionInvocationStart(FunctionInvocation functionInvocation) {
    final PrefixedName prefixedNameFor = PrefixedName.prefixedNameFor(functionInvocation.getFunctionName());
    functionConverterForPrefix = converters.functionConverterForPrefix(prefixedNameFor.getPrefix());
    converterFor = functionConverterForPrefix.get().converterFor(prefixedNameFor);
    final ExpressionVisitor converter = converterFor.get();
    if (converter instanceof HasWriter) {
        ((HasWriter) converter).setWriter(w);
    }//from  w ww. j  a v a2  s .  c  o m
    converter.visitFunctionInvocationStart(functionInvocation);
}