public interface StringInterpreter
| Modifier and Type | Method and Description |
|---|---|
String |
convertString(Class<?> c,
String s,
String attrName,
Class<?> propEditorClass,
boolean isNamedAttribute)
Generates the source code that represents the conversion of the string
value to the appropriate type.
|
String convertString(Class<?> c, String s, String attrName, Class<?> propEditorClass, boolean isNamedAttribute)
c - The target class to which to coerce the given strings - The string valueattrName - The name of the attribute whose value is being suppliedpropEditorClass - The property editor for the given attributeisNamedAttribute - true if the given attribute is a named attribute (that
is, specified using the jsp:attribute standard action),
and false otherwiseCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.