public interface StringInterpreter
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
convertString(java.lang.Class<?> c,
java.lang.String s,
java.lang.String attrName,
java.lang.Class<?> propEditorClass,
boolean isNamedAttribute)
Generates the source code that represents the conversion of the string
value to the appropriate type.
|
java.lang.String convertString(java.lang.Class<?> c,
java.lang.String s,
java.lang.String attrName,
java.lang.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 © 2014–2021. All rights reserved.