Package org.apache.jasper.compiler
Class StringInterpreterFactory
- java.lang.Object
-
- org.apache.jasper.compiler.StringInterpreterFactory
-
public class StringInterpreterFactory extends java.lang.Object
ProvidesStringInterpreter
instances for JSP compilation. The search order is as follows:- StringInterpreter instance or implementation class name provided as a ServletContext attribute
- Implementation class named in a ServletContext initialisation parameter
- Default implementation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringInterpreterFactory.DefaultStringInterpreter
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STRING_INTERPRETER_CLASS_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringInterpreter
getStringInterpreter(ServletContext context)
Obtain the correct String Interpreter for the given web application.
-
-
-
Method Detail
-
getStringInterpreter
public static StringInterpreter getStringInterpreter(ServletContext context) throws java.lang.Exception
Obtain the correct String Interpreter for the given web application.- Parameters:
context
- The Servlet context- Returns:
- the String interpreter
- Throws:
java.lang.Exception
- If an error occurs creating the interpreter
-
-