protected String getFunctionName()

in src/main/java/org/apache/commons/jxpath/ri/compiler/CoreFunction.java [853:918]


    protected String getFunctionName() {
        switch (functionCode) {
        case Compiler.FUNCTION_LAST:
            return "last";
        case Compiler.FUNCTION_POSITION:
            return "position";
        case Compiler.FUNCTION_COUNT:
            return "count";
        case Compiler.FUNCTION_ID:
            return "id";
        case Compiler.FUNCTION_LOCAL_NAME:
            return "local-name";
        case Compiler.FUNCTION_NAMESPACE_URI:
            return "namespace-uri";
        case Compiler.FUNCTION_NAME:
            return "name";
        case Compiler.FUNCTION_STRING:
            return "string";
        case Compiler.FUNCTION_CONCAT:
            return "concat";
        case Compiler.FUNCTION_STARTS_WITH:
            return "starts-with";
        case Compiler.FUNCTION_ENDS_WITH:
            return "ends-with";
        case Compiler.FUNCTION_CONTAINS:
            return "contains";
        case Compiler.FUNCTION_SUBSTRING_BEFORE:
            return "substring-before";
        case Compiler.FUNCTION_SUBSTRING_AFTER:
            return "substring-after";
        case Compiler.FUNCTION_SUBSTRING:
            return "substring";
        case Compiler.FUNCTION_STRING_LENGTH:
            return "string-length";
        case Compiler.FUNCTION_NORMALIZE_SPACE:
            return "normalize-space";
        case Compiler.FUNCTION_TRANSLATE:
            return "translate";
        case Compiler.FUNCTION_BOOLEAN:
            return "boolean";
        case Compiler.FUNCTION_NOT:
            return "not";
        case Compiler.FUNCTION_TRUE:
            return "true";
        case Compiler.FUNCTION_FALSE:
            return "false";
        case Compiler.FUNCTION_LANG:
            return "lang";
        case Compiler.FUNCTION_NUMBER:
            return "number";
        case Compiler.FUNCTION_SUM:
            return "sum";
        case Compiler.FUNCTION_FLOOR:
            return "floor";
        case Compiler.FUNCTION_CEILING:
            return "ceiling";
        case Compiler.FUNCTION_ROUND:
            return "round";
        case Compiler.FUNCTION_KEY:
            return "key";
        case Compiler.FUNCTION_FORMAT_NUMBER:
            return "format-number";
        default:
            return "unknownFunction" + functionCode + "()";
        }
    }