| 1 |
/* |
| 2 |
* @(#) ConverterContextSupport.java |
| 3 |
* |
| 4 |
* Copyright 2002 - 2003 JIDE Software. All rights reserved. |
| 5 |
*/ |
| 6 |
package com.jidesoft.converter; |
| 7 |
|
| 8 |
|
| 9 |
/** |
| 10 |
* The interface indicates the class who extends it can support ConverterContext. |
| 11 |
* |
| 12 |
* @see ConverterContext |
| 13 |
*/ |
| 14 |
public interface ConverterContextSupport { |
| 15 |
|
| 16 |
/** |
| 17 |
* Sets the converter context. |
| 18 |
* |
| 19 |
* @param context converter context |
| 20 |
*/ |
| 21 |
void setConverterContext(ConverterContext context); |
| 22 |
|
| 23 |
/** |
| 24 |
* Gets the converter context. |
| 25 |
* |
| 26 |
* @return converter context |
| 27 |
*/ |
| 28 |
ConverterContext getConverterContext(); |
| 29 |
|
| 30 |
/** |
| 31 |
* Gets the class of the value. |
| 32 |
* |
| 33 |
* @return the class of the value. |
| 34 |
*/ |
| 35 |
Class<?> getType(); |
| 36 |
|
| 37 |
/** |
| 38 |
* Sets the class of the value. |
| 39 |
* |
| 40 |
* @param clazz |
| 41 |
*/ |
| 42 |
void setType(Class<?> clazz); |
| 43 |
|
| 44 |
} |