ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/jasper/compiler/ELInterpreter.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/jasper/compiler/ELInterpreter.java
Status
scanned
Type
file
Name
ELInterpreter.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2227 (2.2 KB)
MD5
b0b62cbc9cf70d5b8fd177ea08e522a0
SHA1
6e9e9bec941fb2f0c24f61290c6783cf7309cb5c
SHA256
0176ec2edcd5aa7dd11560b6f5ce8685b4d9bd7c7b235d9ee147fcc69fb3f70f
SHA512

      
    
SHA1_git
babff6bceebecdb4c79205234bd1d8f2e2a0899a
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ELInterpreter.java | 2.2 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.jasper.compiler; import org.apache.jasper.JspCompilationContext; /** * Defines the interface for the expression language interpreter. This allows users to provide custom EL interpreter * implementations that can optimise EL processing for an application by , for example, performing code generation for * simple expressions. */ public interface ELInterpreter { /** * Returns the string representing the code that will be inserted into the servlet generated for JSP. The default * implementation creates a call to * {@link org.apache.jasper.runtime.PageContextImpl#proprietaryEvaluate( String, Class, jakarta.servlet.jsp.PageContext, org.apache.jasper.runtime.ProtectedFunctionMapper)} * but other implementations may produce more optimised code. * * @param context The compilation context * @param isTagFile <code>true</code> if in a tag file rather than a JSP * @param expression a String containing zero or more "${}" expressions * @param expectedType the expected type of the interpreted result * @param fnmapvar Variable pointing to a function map. * * @return a String representing a call to the EL interpreter. */ String interpreterCall(JspCompilationContext context, boolean isTagFile, String expression, Class<?> expectedType, String fnmapvar); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
43.59
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9