|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DynamicConverter
A converter that evaluates dynamic expressions using a dynamic expression library or scripting library.
| Field Summary | |
|---|---|
static String |
DATA_CONTEXT_KEY
|
| Method Summary | |
|---|---|
DynamicConverter |
copy()
Copies over the dynamic converter. |
Class |
getType()
The return type of the evaluated expression. |
void |
setExpression(String expression)
Sets the expression this dynamic converter will ecaluate. |
void |
setFormatConverter(FormatConverter formatConverter)
If the dynamic expression evaluates to a formatable object (like Date), the format converter that will be used to format it. |
void |
setType(Class type)
The return type of the evaluated expression. |
| Methods inherited from interface org.compass.core.converter.Converter |
|---|
marshall, unmarshall |
| Field Detail |
|---|
static final String DATA_CONTEXT_KEY
| Method Detail |
|---|
DynamicConverter copy()
void setExpression(String expression)
throws ConversionException
expression - The expression to evaluate
ConversionExceptionvoid setFormatConverter(FormatConverter formatConverter)
void setType(Class type)
Class getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||