| |
|
| java.lang.Object com.jidesoft.converter.AbstractContext com.jidesoft.converter.ConverterContext
ConverterContext | public class ConverterContext extends AbstractContext (Code) | | The context object used by ObjectConverter.
For the same type, we may need different way to convert them. This context
is used so that user can register different converters for the same type.
|
Constructor Summary | |
public | ConverterContext(String name) Creates a converter context with a name. | public | ConverterContext(String name, Object object) Creates a converter contex with a name and an object.
Parameters: name - Parameters: object - the user object. |
DEFAULT_CONTEXT | public static ConverterContext DEFAULT_CONTEXT(Code) | | Default converter context with empty name and no user object.
|
ConverterContext | public ConverterContext(String name)(Code) | | Creates a converter context with a name.
Parameters: name - |
ConverterContext | public ConverterContext(String name, Object object)(Code) | | Creates a converter contex with a name and an object.
Parameters: name - Parameters: object - the user object. It can be used as any object to pass informaton along. |
|
|
|