Package org.apache.jasper.optimizations
Class StringInterpreterEnum
java.lang.Object
org.apache.jasper.compiler.StringInterpreterFactory.DefaultStringInterpreter
org.apache.jasper.optimizations.StringInterpreterEnum
- All Implemented Interfaces:
StringInterpreter
Provides an optimised conversion of string values to Enums. It bypasses the check for registered PropertyEditor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
coerceToOtherType
(Class<?> c, String s, boolean isNamedAttribute) Intended to be used by sub-classes that don't need/want to re-implement the logic inStringInterpreterFactory.DefaultStringInterpreter.convertString(Class, String, String, Class, boolean)
.Methods inherited from class org.apache.jasper.compiler.StringInterpreterFactory.DefaultStringInterpreter
convertString
-
Constructor Details
-
StringInterpreterEnum
public StringInterpreterEnum()
-
-
Method Details
-
coerceToOtherType
Description copied from class:StringInterpreterFactory.DefaultStringInterpreter
Intended to be used by sub-classes that don't need/want to re-implement the logic inStringInterpreterFactory.DefaultStringInterpreter.convertString(Class, String, String, Class, boolean)
.- Overrides:
coerceToOtherType
in classStringInterpreterFactory.DefaultStringInterpreter
- Parameters:
c
- unuseds
- unusedisNamedAttribute
- unused- Returns:
- Always
null
-